node_properties.h File Reference

Functions

string getName () const
 Gets the value of NameProperty. More...
 
void setName (string_view value)
 Sets the value of NameProperty. More...
 
string getPath () const
 Gets the value of PathProperty. More...
 
void setPath (string value)
 Sets the value of PathProperty. More...
 
string getLocale () const
 Gets the value of LocaleProperty. More...
 
void setLocale (string value)
 Sets the value of LocaleProperty. More...
 
float getWidth () const
 Gets the value of WidthProperty. More...
 
void setWidth (float value)
 Sets the value of WidthProperty. More...
 
float getHeight () const
 Gets the value of HeightProperty. More...
 
void setHeight (float value)
 Sets the value of HeightProperty. More...
 
float getDepth () const
 Gets the value of DepthProperty. More...
 
void setDepth (float value)
 Sets the value of DepthProperty. More...
 
float getActualWidth () const
 Gets the value of ActualWidthProperty. More...
 
void setActualWidth (float value)
 Sets the value of ActualWidthProperty. More...
 
float getActualHeight () const
 Gets the value of ActualHeightProperty. More...
 
void setActualHeight (float value)
 Sets the value of ActualHeightProperty. More...
 
float getActualDepth () const
 Gets the value of ActualDepthProperty. More...
 
void setActualDepth (float value)
 Sets the value of ActualDepthProperty. More...
 
Node::HorizontalAlignment getHorizontalAlignment () const
 Gets the value of HorizontalAlignmentProperty. More...
 
void setHorizontalAlignment (Node::HorizontalAlignment value)
 Sets the value of HorizontalAlignmentProperty. More...
 
Node::VerticalAlignment getVerticalAlignment () const
 Gets the value of VerticalAlignmentProperty. More...
 
void setVerticalAlignment (Node::VerticalAlignment value)
 Sets the value of VerticalAlignmentProperty. More...
 
Node::DepthAlignment getDepthAlignment () const
 Gets the value of DepthAlignmentProperty. More...
 
void setDepthAlignment (Node::DepthAlignment value)
 Sets the value of DepthAlignmentProperty. More...
 
Vector2 getHorizontalMargin () const
 Gets the value of HorizontalMarginProperty. More...
 
void setHorizontalMargin (Vector2 value)
 Sets the value of HorizontalMarginProperty. More...
 
Vector2 getVerticalMargin () const
 Gets the value of VerticalMarginProperty. More...
 
void setVerticalMargin (Vector2 value)
 Sets the value of VerticalMarginProperty. More...
 
Vector2 getDepthMargin () const
 Gets the value of DepthMarginProperty. More...
 
void setDepthMargin (Vector2 value)
 Sets the value of DepthMarginProperty. More...
 
bool isHitTestable () const
 Gets the value of HitTestableProperty. More...
 
void setHitTestable (bool value)
 Sets the value of HitTestableProperty. More...
 
bool isHitTestableContainer () const
 Gets the value of HitTestableContainerProperty. More...
 
void setHitTestableContainer (bool value)
 Sets the value of HitTestableContainerProperty. More...
 
bool isVisible () const
 Gets the value of VisibleProperty. More...
 
void setVisible (bool value)
 Sets the value of VisibleProperty. More...
 
bool isEnabled () const
 Gets the value of EnabledProperty. More...
 
void setEnabled (bool value)
 Sets the value of EnabledProperty. More...
 
bool isFocusable () const
 Gets the value of FocusableProperty. More...
 
void setFocusable (bool value)
 Sets the value of FocusableProperty. More...
 
bool isFocused () const
 Gets the value of FocusedProperty. More...
 
void setFocused (bool value)
 Sets the value of FocusedProperty. More...
 
ResourceSharedPtr getFont () const
 Gets the value of FontProperty. More...
 
void setFont (ResourceSharedPtr value)
 Sets the value of FontProperty. More...
 
float getVisibleAmountInParent () const
 Gets the value of VisibleAmountInParentProperty. More...
 
void setVisibleAmountInParent (float value)
 Sets the value of VisibleAmountInParentProperty. More...
 
bool isClipChildren () const
 Gets the value of ClipChildrenProperty. More...
 
void setClipChildren (bool value)
 Sets the value of ClipChildrenProperty. More...
 
float getProjection2DTo3DScale () const
 Gets the value of Projection2DTo3DScaleProperty. More...
 
void setProjection2DTo3DScale (float value)
 Sets the value of Projection2DTo3DScaleProperty. More...
 
bool isEnableClick () const
 Gets the value of EnableClickProperty. More...
 
void setEnableClick (bool value)
 Sets the value of EnableClickProperty. More...
 
bool isEnableMultiClick () const
 Gets the value of EnableMultiClickProperty. More...
 
void setEnableMultiClick (bool value)
 Sets the value of EnableMultiClickProperty. More...
 
Node::ContentStretch getContentStretch () const
 Gets the value of ContentStretchProperty. More...
 
void setContentStretch (Node::ContentStretch value)
 Sets the value of ContentStretchProperty. More...
 
float getOpacity () const
 Gets the value of OpacityProperty. More...
 
void setOpacity (float value)
 Sets the value of OpacityProperty. More...
 
ResourceSharedPtr getStyle () const
 Gets the value of StyleProperty. More...
 
void setStyle (ResourceSharedPtr value)
 Sets the value of StyleProperty. More...
 
ResourceSharedPtr getStateManager () const
 Gets the value of StateManagerProperty. More...
 
void setStateManager (ResourceSharedPtr value)
 Sets the value of StateManagerProperty. More...
 

Variables

static PropertyType< string > NameProperty
 Name property. More...
 
static PropertyType< string > PathProperty
 Path property. More...
 
static PropertyType< string > LocaleProperty
 Locale property. More...
 
static PropertyType< bool > CreatedFromKZBProperty
 CreatedFromKZB property. More...
 
static PropertyType< float > WidthProperty
 Width property. More...
 
static PropertyType< float > HeightProperty
 Height property. More...
 
static PropertyType< float > DepthProperty
 Depth property. More...
 
static PropertyType< float > ActualWidthProperty
 ActualWidth property. More...
 
static PropertyType< float > ActualHeightProperty
 ActualHeight property. More...
 
static PropertyType< float > ActualDepthProperty
 ActualDepth property. More...
 
static PropertyType< Node::HorizontalAlignment > HorizontalAlignmentProperty
 HorizontalAlignment property. More...
 
static PropertyType< Node::VerticalAlignment > VerticalAlignmentProperty
 VerticalAlignment property. More...
 
static PropertyType< Node::DepthAlignment > DepthAlignmentProperty
 DepthAlignment property. More...
 
static PropertyType< Vector2 > HorizontalMarginProperty
 HorizontalMargin property. More...
 
static PropertyType< Vector2 > VerticalMarginProperty
 VerticalMargin property. More...
 
static PropertyType< Vector2 > DepthMarginProperty
 DepthMargin property. More...
 
static PropertyType< bool > HitTestableProperty
 HitTestable property. More...
 
static PropertyType< bool > HitTestableContainerProperty
 HitTestableContainer property. More...
 
static PropertyType< bool > VisibleProperty
 Visible property. More...
 
static PropertyType< bool > EnabledProperty
 Enabled property. More...
 
static PropertyType< bool > FocusableProperty
 Focusable property. More...
 
static PropertyType< bool > FocusedProperty
 Focused property. More...
 
static PropertyType< ResourceSharedPtr > FontProperty
 Font property. More...
 
static PropertyType< float > VisibleAmountInParentProperty
 VisibleAmountInParent property. More...
 
static PropertyType< bool > ClipChildrenProperty
 ClipChildren property. More...
 
static PropertyType< float > Projection2DTo3DScaleProperty
 Projection2DTo3DScale property. More...
 
static PropertyType< bool > EnableClickProperty
 EnableClick property. More...
 
static PropertyType< bool > EnableMultiClickProperty
 EnableMultiClick property. More...
 
static PropertyType< Node::ContentStretch > ContentStretchProperty
 ContentStretch property. More...
 
static PropertyType< float > OpacityProperty
 Opacity property. More...
 
static PropertyType< ResourceSharedPtr > StyleProperty
 Style property. More...
 
static PropertyType< ResourceSharedPtr > StateManagerProperty
 StateManager property. More...
 
static PropertyType< int > SceneGraphAddNodeChangeChildFlagsProperty
 SceneGraphAddNodeChangeChildFlags property. More...
 
static PropertyType< int > SceneGraphAddNodeChangeParentFlagsProperty
 SceneGraphAddNodeChangeParentFlags property. More...
 
static PropertyType< int > SceneGraphRemoveNodeChangeChildFlagsProperty
 SceneGraphRemoveNodeChangeChildFlags property. More...
 
static PropertyType< int > SceneGraphRemoveNodeChangeParentFlagsProperty
 SceneGraphRemoveNodeChangeParentFlags property. More...
 
static PropertyType< void * > PrefabTemplateSourceProperty
 PrefabTemplateSource property. More...
 

Function Documentation

string getName ( ) const

Gets the value of NameProperty.

See also
setName()
void setName ( string_view  value)

Sets the value of NameProperty.

See also
getName()
string getPath ( ) const

Gets the value of PathProperty.

See also
setPath()
void setPath ( string  value)

Sets the value of PathProperty.

See also
getPath()
string getLocale ( ) const

Gets the value of LocaleProperty.

See also
setLocale()
void setLocale ( string  value)

Sets the value of LocaleProperty.

See also
getLocale()
float getWidth ( ) const

Gets the value of WidthProperty.

See also
setWidth()
void setWidth ( float  value)

Sets the value of WidthProperty.

See also
getWidth()
float getHeight ( ) const

Gets the value of HeightProperty.

See also
setHeight()
void setHeight ( float  value)

Sets the value of HeightProperty.

See also
getHeight()
float getDepth ( ) const

Gets the value of DepthProperty.

See also
setDepth()
void setDepth ( float  value)

Sets the value of DepthProperty.

See also
getDepth()
float getActualWidth ( ) const

Gets the value of ActualWidthProperty.

See also
setActualWidth()
void setActualWidth ( float  value)

Sets the value of ActualWidthProperty.

See also
getActualWidth()
float getActualHeight ( ) const

Gets the value of ActualHeightProperty.

See also
setActualHeight()
void setActualHeight ( float  value)

Sets the value of ActualHeightProperty.

See also
getActualHeight()
float getActualDepth ( ) const

Gets the value of ActualDepthProperty.

See also
setActualDepth()
void setActualDepth ( float  value)

Sets the value of ActualDepthProperty.

See also
getActualDepth()
Node::HorizontalAlignment getHorizontalAlignment ( ) const
void setHorizontalAlignment ( Node::HorizontalAlignment  value)
Node::VerticalAlignment getVerticalAlignment ( ) const
void setVerticalAlignment ( Node::VerticalAlignment  value)
Node::DepthAlignment getDepthAlignment ( ) const

Gets the value of DepthAlignmentProperty.

See also
setDepthAlignment()
void setDepthAlignment ( Node::DepthAlignment  value)

Sets the value of DepthAlignmentProperty.

See also
getDepthAlignment()
Vector2 getHorizontalMargin ( ) const

Gets the value of HorizontalMarginProperty.

See also
setHorizontalMargin()
void setHorizontalMargin ( Vector2  value)

Sets the value of HorizontalMarginProperty.

See also
getHorizontalMargin()
Vector2 getVerticalMargin ( ) const

Gets the value of VerticalMarginProperty.

See also
setVerticalMargin()
void setVerticalMargin ( Vector2  value)

Sets the value of VerticalMarginProperty.

See also
getVerticalMargin()
Vector2 getDepthMargin ( ) const

Gets the value of DepthMarginProperty.

See also
setDepthMargin()
void setDepthMargin ( Vector2  value)

Sets the value of DepthMarginProperty.

See also
getDepthMargin()
bool isHitTestable ( ) const

Gets the value of HitTestableProperty.

See also
setHitTestable()
void setHitTestable ( bool  value)

Sets the value of HitTestableProperty.

See also
isHitTestable()
bool isHitTestableContainer ( ) const
void setHitTestableContainer ( bool  value)
bool isVisible ( ) const

Gets the value of VisibleProperty.

See also
setVisible()
void setVisible ( bool  value)

Sets the value of VisibleProperty.

See also
isVisible()
bool isEnabled ( ) const

Gets the value of EnabledProperty.

See also
setEnabled()
void setEnabled ( bool  value)

Sets the value of EnabledProperty.

See also
isEnabled()
bool isFocusable ( ) const

Gets the value of FocusableProperty.

See also
setFocusable()
void setFocusable ( bool  value)

Sets the value of FocusableProperty.

See also
isFocusable()
bool isFocused ( ) const

Gets the value of FocusedProperty.

See also
setFocused()
void setFocused ( bool  value)

Sets the value of FocusedProperty.

See also
isFocused()
ResourceSharedPtr getFont ( ) const

Gets the value of FontProperty.

See also
setFont()
void setFont ( ResourceSharedPtr  value)

Sets the value of FontProperty.

See also
getFont()
float getVisibleAmountInParent ( ) const
void setVisibleAmountInParent ( float  value)
bool isClipChildren ( ) const

Gets the value of ClipChildrenProperty.

See also
setClipChildren()
void setClipChildren ( bool  value)

Sets the value of ClipChildrenProperty.

See also
isClipChildren()
float getProjection2DTo3DScale ( ) const
void setProjection2DTo3DScale ( float  value)
bool isEnableClick ( ) const

Gets the value of EnableClickProperty.

See also
setEnableClick()
void setEnableClick ( bool  value)

Sets the value of EnableClickProperty.

See also
isEnableClick()
bool isEnableMultiClick ( ) const

Gets the value of EnableMultiClickProperty.

See also
setEnableMultiClick()
void setEnableMultiClick ( bool  value)

Sets the value of EnableMultiClickProperty.

See also
isEnableMultiClick()
Node::ContentStretch getContentStretch ( ) const

Gets the value of ContentStretchProperty.

See also
setContentStretch()
void setContentStretch ( Node::ContentStretch  value)

Sets the value of ContentStretchProperty.

See also
getContentStretch()
float getOpacity ( ) const

Gets the value of OpacityProperty.

See also
setOpacity()
void setOpacity ( float  value)

Sets the value of OpacityProperty.

See also
getOpacity()
ResourceSharedPtr getStyle ( ) const

Gets the value of StyleProperty.

See also
setStyle()
void setStyle ( ResourceSharedPtr  value)

Sets the value of StyleProperty.

See also
getStyle()
ResourceSharedPtr getStateManager ( ) const

Gets the value of StateManagerProperty.

See also
setStateManager()
void setStateManager ( ResourceSharedPtr  value)

Sets the value of StateManagerProperty.

See also
getStateManager()

Variable Documentation

PropertyType<string> NameProperty
static

Name property.

The default value is "".

See also
setName(), getName()
PropertyType<string> PathProperty
static

Path property.

The default value is "".

See also
setPath(), getPath()
PropertyType<string> LocaleProperty
static

Locale property.

The default value is "".

See also
setLocale(), getLocale()
PropertyType<bool> CreatedFromKZBProperty
static

CreatedFromKZB property.

The default value is false.

See also
setCreatedFromKZB(), isCreatedFromKZB()
PropertyType<float> WidthProperty
static

Width property.

The default value is 0.0f.

See also
setWidth(), getWidth()
PropertyType<float> HeightProperty
static

Height property.

The default value is 0.0f.

See also
setHeight(), getHeight()
PropertyType<float> DepthProperty
static

Depth property.

The default value is 0.0f.

See also
setDepth(), getDepth()
PropertyType<float> ActualWidthProperty
static

ActualWidth property.

The default value is 0.0f.

See also
setActualWidth(), getActualWidth()
PropertyType<float> ActualHeightProperty
static

ActualHeight property.

The default value is 0.0f.

See also
setActualHeight(), getActualHeight()
PropertyType<float> ActualDepthProperty
static

ActualDepth property.

The default value is 0.0f.

See also
setActualDepth(), getActualDepth()
PropertyType<Node::HorizontalAlignment> HorizontalAlignmentProperty
static

HorizontalAlignment property.

The default value is Node::HorizontalAlignmentCenter.

See also
setHorizontalAlignment(), getHorizontalAlignment()
PropertyType<Node::VerticalAlignment> VerticalAlignmentProperty
static

VerticalAlignment property.

The default value is Node::VerticalAlignmentCenter.

See also
setVerticalAlignment(), getVerticalAlignment()
PropertyType<Node::DepthAlignment> DepthAlignmentProperty
static

DepthAlignment property.

The default value is Node::DepthAlignmentCenter.

See also
setDepthAlignment(), getDepthAlignment()
PropertyType<Vector2> HorizontalMarginProperty
static

HorizontalMargin property.

The default value is Vector2(0.0f, 0.0f).

See also
setHorizontalMargin(), getHorizontalMargin()
PropertyType<Vector2> VerticalMarginProperty
static

VerticalMargin property.

The default value is Vector2(0.0f, 0.0f).

See also
setVerticalMargin(), getVerticalMargin()
PropertyType<Vector2> DepthMarginProperty
static

DepthMargin property.

The default value is Vector2(0.0f, 0.0f).

See also
setDepthMargin(), getDepthMargin()
PropertyType<bool> HitTestableProperty
static

HitTestable property.

The default value is false.

See also
setHitTestable(), isHitTestable()
PropertyType<bool> HitTestableContainerProperty
static

HitTestableContainer property.

The default value is false.

See also
setHitTestableContainer(), isHitTestableContainer()
PropertyType<bool> VisibleProperty
static

Visible property.

The default value is true.

See also
setVisible(), isVisible()
PropertyType<bool> EnabledProperty
static

Enabled property.

The default value is true.

See also
setEnabled(), isEnabled()
PropertyType<bool> FocusableProperty
static

Focusable property.

The default value is true.

See also
setFocusable(), isFocusable()
PropertyType<bool> FocusedProperty
static

Focused property.

The default value is false.

See also
setFocused(), isFocused()
PropertyType<ResourceSharedPtr> FontProperty
static

Font property.

Defines the resource ID of the font resource. The default value is ResourceSharedPtr().

See also
setFont(), getFont()
PropertyType<float> VisibleAmountInParentProperty
static

VisibleAmountInParent property.

The default value is 1.0f.

See also
setVisibleAmountInParent(), getVisibleAmountInParent()
PropertyType<bool> ClipChildrenProperty
static

ClipChildren property.

The default value is true.

See also
setClipChildren(), isClipChildren()
PropertyType<float> Projection2DTo3DScaleProperty
static

Projection2DTo3DScale property.

The default value is 0.02f.

See also
setProjection2DTo3DScale(), getProjection2DTo3DScale()
PropertyType<bool> EnableClickProperty
static

EnableClick property.

The default value is false.

See also
setEnableClick(), isEnableClick()
PropertyType<bool> EnableMultiClickProperty
static

EnableMultiClick property.

The default value is false.

See also
setEnableMultiClick(), isEnableMultiClick()
PropertyType<Node::ContentStretch> ContentStretchProperty
static

ContentStretch property.

The default value is Node::ContentStretchUniform.

See also
setContentStretch(), getContentStretch()
PropertyType<float> OpacityProperty
static

Opacity property.

The default value is 1.0f.

See also
setOpacity(), getOpacity()
PropertyType<ResourceSharedPtr> StyleProperty
static

Style property.

The default value is ResourceSharedPtr().

See also
setStyle(), getStyle()
PropertyType<ResourceSharedPtr> StateManagerProperty
static

StateManager property.

The default value is ResourceSharedPtr().

See also
setStateManager(), getStateManager()
PropertyType<int> SceneGraphAddNodeChangeChildFlagsProperty
static

SceneGraphAddNodeChangeChildFlags property.

The default value is PropertyTypeChangeFlagFinalTransformation | PropertyTypeChangeFlagMeasure.

See also
setSceneGraphAddNodeChangeChildFlags(), getSceneGraphAddNodeChangeChildFlags()
PropertyType<int> SceneGraphAddNodeChangeParentFlagsProperty
static

SceneGraphAddNodeChangeParentFlags property.

The default value is PropertyTypeChangeFlagMeasure.

See also
setSceneGraphAddNodeChangeParentFlags(), getSceneGraphAddNodeChangeParentFlags()
PropertyType<int> SceneGraphRemoveNodeChangeChildFlagsProperty
static

SceneGraphRemoveNodeChangeChildFlags property.

The default value is 0.

See also
setSceneGraphRemoveNodeChangeChildFlags(), getSceneGraphRemoveNodeChangeChildFlags()
PropertyType<int> SceneGraphRemoveNodeChangeParentFlagsProperty
static

SceneGraphRemoveNodeChangeParentFlags property.

The default value is PropertyTypeChangeFlagMeasure.

See also
setSceneGraphRemoveNodeChangeParentFlags(), getSceneGraphRemoveNodeChangeParentFlags()
PropertyType<void*> PrefabTemplateSourceProperty
static

PrefabTemplateSource property.

The default value is 0.

See also
setPrefabTemplateSource(), getPrefabTemplateSource()