Class: prop_value
Base editor property value wrapper.
Source
C++ class prop_value
Custom Constructor
prop_value
Remarks
These helpers are downcasts to concrete editor property value types. Use only when the property was created as that matching kind.
Extended by
caption_valuecanvas_valuebutton_valuetext_valuebool_valuevector_valuecolor_valuefloat_values8_values16_values32_valueu8_valueu16_valueu32_valueflag8_valueflag16_valueflag32_valuetoken8_valuetoken16_valuetoken32_value
Constructors
Constructor
new prop_value(): prop_value;Returns
prop_value
Methods
bool_value()
bool_value(): bool_value;Treat this property value as a boolean.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as boolean values.
button_value()
button_value(): button_value;Treat this property value as a button.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as button rows.
caption_value()
caption_value(): caption_value;Treat this property value as a caption.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as caption rows.
flag32_value()
flag32_value(): flag32_value;Treat this property value as a 32-bit flag value.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as 32-bit flag values.
s16_value()
s16_value(): s16_value;Treat this property value as a signed 16-bit integer.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as signed 16-bit values.
text_value()
text_value(): text_value;Treat this property value as text.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as text values.
token16_value()
token16_value(): token16_value;Treat this property value as a 16-bit token value.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as 16-bit token values.
u16_value()
u16_value(): u16_value;Treat this property value as an unsigned 16-bit integer.
Returns
Engine property value handle.
Remarks
Use only for properties originally created as unsigned 16-bit values.