Prop - Megasploot/Dungeondraft GitHub Wiki

Overview

A Prop is a Dungeondraft asset instance of an object. See Asset Instance.

Properties

Sprite Sprite

Gets the Godot Sprite that displays the image of this Prop.

 

Texture Texture

Gets the Texture of this Prop.

 

bool BlockLight

Gets the flag that indicates if this object blocks light.

 

Functions

void SetCustomColor(Color color)

Sets the custom color. See Color.

 

Color GetCustomColor()

Gets the custom color. See Color.

 

bool HasCustomColor()

Returns true if the Prop can use custom colors.

 

void SetBlockLight(bool value)

Sets whether or not this object will block light.