All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
node2d_properties.h File Reference

Functions

float getAspectRatio () const
 Gets the value of AspectRatioProperty. More...
 
void setAspectRatio (float value)
 Sets the value of AspectRatioProperty. More...
 
bool isCacheChildren () const
 Gets the value of CacheChildrenProperty. More...
 
void setCacheChildren (bool value)
 Sets the value of CacheChildrenProperty. More...
 
bool isCacheResult () const
 Gets the value of CacheResultProperty. More...
 
void setCacheResult (bool value)
 Sets the value of CacheResultProperty. More...
 
bool isCacheSelf () const
 Gets the value of CacheSelfProperty. More...
 
void setCacheSelf (bool value)
 Sets the value of CacheSelfProperty. More...
 
Matrix3x3 getLayoutTransformation () const
 Gets the value of LayoutTransformationProperty. More...
 
void setLayoutTransformation (Matrix3x3 value)
 Sets the value of LayoutTransformationProperty. More...
 
Vector2 getRenderTransformationOrigin () const
 Gets the value of RenderTransformationOriginProperty. More...
 
void setRenderTransformationOrigin (Vector2 value)
 Sets the value of RenderTransformationOriginProperty. More...
 
Matrix3x3 getRenderTransformation () const
 Gets the value of RenderTransformationProperty. More...
 
void setRenderTransformation (Matrix3x3 value)
 Sets the value of RenderTransformationProperty. More...
 
bool isSnapToPixel () const
 Gets the value of SnapToPixelProperty. More...
 
void setSnapToPixel (bool value)
 Sets the value of SnapToPixelProperty. More...
 
ResourceID getBackgroundBrushResourceID () const
 Gets the value of BackgroundBrushProperty. More...
 
void setBackgroundBrushResourceID (ResourceID value)
 Sets the value of BackgroundBrushProperty. More...
 
ResourceID getCompositionBrushResourceID () const
 Gets the value of CompositionBrushProperty. More...
 
void setCompositionBrushResourceID (ResourceID value)
 Sets the value of CompositionBrushProperty. More...
 
ResourceID getForegroundBrushResourceID () const
 Gets the value of ForegroundBrushProperty. More...
 
void setForegroundBrushResourceID (ResourceID value)
 Sets the value of ForegroundBrushProperty. More...
 
bool isForceComposition () const
 Gets the value of ForceCompositionProperty. More...
 
void setForceComposition (bool value)
 Sets the value of ForceCompositionProperty. More...
 
Node2D::ForegroundHint getForegroundHint () const
 Gets the value of ForegroundHintProperty. More...
 
void setForegroundHint (Node2D::ForegroundHint value)
 Sets the value of ForegroundHintProperty. More...
 
bool isOffscreenRendering () const
 Gets the value of OffscreenRenderingProperty. More...
 
void setOffscreenRendering (bool value)
 Sets the value of OffscreenRenderingProperty. More...
 
bool isDisableRenderTargetClear () const
 Gets the value of DisableRenderTargetClearProperty. More...
 
void setDisableRenderTargetClear (bool value)
 Sets the value of DisableRenderTargetClearProperty. More...
 
KzuLayerPixelFormat getPixelFormat () const
 Gets the value of PixelFormatProperty. More...
 
void setPixelFormat (KzuLayerPixelFormat value)
 Sets the value of PixelFormatProperty. More...
 
bool isRenderSelf () const
 Gets the value of RenderSelfProperty. More...
 
void setRenderSelf (bool value)
 Sets the value of RenderSelfProperty. More...
 
ResourceID getRenderTargetResourceID () const
 Gets the value of RenderTargetProperty. More...
 
void setRenderTargetResourceID (ResourceID value)
 Sets the value of RenderTargetProperty. More...
 
float getRenderTargetMinimumHeight () const
 Gets the value of RenderTargetMinimumHeightProperty. More...
 
void setRenderTargetMinimumHeight (float value)
 Sets the value of RenderTargetMinimumHeightProperty. More...
 
float getRenderTargetMinimumWidth () const
 Gets the value of RenderTargetMinimumWidthProperty. More...
 
void setRenderTargetMinimumWidth (float value)
 Sets the value of RenderTargetMinimumWidthProperty. More...
 
float getRenderTargetReallocationLimit () const
 Gets the value of RenderTargetReallocationLimitProperty. More...
 
void setRenderTargetReallocationLimit (float value)
 Sets the value of RenderTargetReallocationLimitProperty. More...
 

Variables

static PropertyType< float > AspectRatioProperty
 AspectRatio property. More...
 
static PropertyType< bool > CacheChildrenProperty
 CacheChildren property. More...
 
static PropertyType< bool > CacheResultProperty
 CacheResult property. More...
 
static PropertyType< bool > CacheSelfProperty
 CacheSelf property. More...
 
static PropertyType< Matrix3x3 > LayoutTransformationProperty
 LayoutTransformation property. More...
 
static PropertyType< Vector2 > RenderTransformationOriginProperty
 RenderTransformationOrigin property. More...
 
static PropertyType< Matrix3x3 > RenderTransformationProperty
 RenderTransformation property. More...
 
static PropertyType< bool > SnapToPixelProperty
 SnapToPixel property. More...
 
static PropertyType< ResourceID > BackgroundBrushProperty
 BackgroundBrush property. More...
 
static PropertyType< ResourceID > CompositionBrushProperty
 CompositionBrush property. More...
 
static PropertyType< ResourceID > ForegroundBrushProperty
 ForegroundBrush property. More...
 
static PropertyType< bool > ForceCompositionProperty
 ForceComposition property. More...
 
static PropertyType
< Node2D::ForegroundHint > 
ForegroundHintProperty
 ForegroundHint property. More...
 
static PropertyType< bool > OffscreenRenderingProperty
 OffscreenRendering property. More...
 
static PropertyType< bool > DisableRenderTargetClearProperty
 DisableRenderTargetClear property. More...
 
static PropertyType
< KzuLayerPixelFormat > 
PixelFormatProperty
 PixelFormat property. More...
 
static PropertyType< bool > RenderSelfProperty
 RenderSelf property. More...
 
static PropertyType< ResourceID > RenderTargetProperty
 RenderTarget property. More...
 
static PropertyType< float > RenderTargetMinimumHeightProperty
 RenderTargetMinimumHeight property. More...
 
static PropertyType< float > RenderTargetMinimumWidthProperty
 RenderTargetMinimumWidth property. More...
 
static PropertyType< float > RenderTargetReallocationLimitProperty
 RenderTargetReallocationLimit property. More...
 

Function Documentation

float getAspectRatio ( ) const

Gets the value of AspectRatioProperty.

See also
setAspectRatio()
void setAspectRatio ( float  value)

Sets the value of AspectRatioProperty.

See also
getAspectRatio()
bool isCacheChildren ( ) const

Gets the value of CacheChildrenProperty.

See also
setCacheChildren()
void setCacheChildren ( bool  value)

Sets the value of CacheChildrenProperty.

See also
isCacheChildren()
bool isCacheResult ( ) const

Gets the value of CacheResultProperty.

See also
setCacheResult()
void setCacheResult ( bool  value)

Sets the value of CacheResultProperty.

See also
isCacheResult()
bool isCacheSelf ( ) const

Gets the value of CacheSelfProperty.

See also
setCacheSelf()
void setCacheSelf ( bool  value)

Sets the value of CacheSelfProperty.

See also
isCacheSelf()
Matrix3x3 getLayoutTransformation ( ) const
void setLayoutTransformation ( Matrix3x3  value)
Vector2 getRenderTransformationOrigin ( ) const
void setRenderTransformationOrigin ( Vector2  value)
Matrix3x3 getRenderTransformation ( ) const
void setRenderTransformation ( Matrix3x3  value)
bool isSnapToPixel ( ) const

Gets the value of SnapToPixelProperty.

See also
setSnapToPixel()
void setSnapToPixel ( bool  value)

Sets the value of SnapToPixelProperty.

See also
isSnapToPixel()
ResourceID getBackgroundBrushResourceID ( ) const
void setBackgroundBrushResourceID ( ResourceID  value)
ResourceID getCompositionBrushResourceID ( ) const
void setCompositionBrushResourceID ( ResourceID  value)
ResourceID getForegroundBrushResourceID ( ) const
void setForegroundBrushResourceID ( ResourceID  value)
bool isForceComposition ( ) const

Gets the value of ForceCompositionProperty.

See also
setForceComposition()
void setForceComposition ( bool  value)

Sets the value of ForceCompositionProperty.

See also
isForceComposition()
Node2D::ForegroundHint getForegroundHint ( ) const

Gets the value of ForegroundHintProperty.

See also
setForegroundHint()
void setForegroundHint ( Node2D::ForegroundHint  value)

Sets the value of ForegroundHintProperty.

See also
getForegroundHint()
bool isOffscreenRendering ( ) const
void setOffscreenRendering ( bool  value)
bool isDisableRenderTargetClear ( ) const
void setDisableRenderTargetClear ( bool  value)
KzuLayerPixelFormat getPixelFormat ( ) const

Gets the value of PixelFormatProperty.

See also
setPixelFormat()
void setPixelFormat ( KzuLayerPixelFormat  value)

Sets the value of PixelFormatProperty.

See also
getPixelFormat()
bool isRenderSelf ( ) const

Gets the value of RenderSelfProperty.

See also
setRenderSelf()
void setRenderSelf ( bool  value)

Sets the value of RenderSelfProperty.

See also
isRenderSelf()
ResourceID getRenderTargetResourceID ( ) const
void setRenderTargetResourceID ( ResourceID  value)
float getRenderTargetMinimumHeight ( ) const
void setRenderTargetMinimumHeight ( float  value)
float getRenderTargetMinimumWidth ( ) const
void setRenderTargetMinimumWidth ( float  value)
float getRenderTargetReallocationLimit ( ) const
void setRenderTargetReallocationLimit ( float  value)

Variable Documentation

PropertyType<float> AspectRatioProperty
static

AspectRatio property.

The default value is 1.0f.

See also
setAspectRatio(), getAspectRatio()
PropertyType<bool> CacheChildrenProperty
static

CacheChildren property.

The default value is false.

See also
setCacheChildren(), isCacheChildren()
PropertyType<bool> CacheResultProperty
static

CacheResult property.

The default value is false.

See also
setCacheResult(), isCacheResult()
PropertyType<bool> CacheSelfProperty
static

CacheSelf property.

The default value is false.

See also
setCacheSelf(), isCacheSelf()
PropertyType<Matrix3x3> LayoutTransformationProperty
static

LayoutTransformation property.

The default value is Matrix3x3(1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f).

See also
setLayoutTransformation(), getLayoutTransformation()
PropertyType<Vector2> RenderTransformationOriginProperty
static

RenderTransformationOrigin property.

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

See also
setRenderTransformationOrigin(), getRenderTransformationOrigin()
PropertyType<Matrix3x3> RenderTransformationProperty
static

RenderTransformation property.

The default value is Matrix3x3(1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f).

See also
setRenderTransformation(), getRenderTransformation()
PropertyType<bool> SnapToPixelProperty
static

SnapToPixel property.

The default value is false.

See also
setSnapToPixel(), isSnapToPixel()
PropertyType<ResourceID> BackgroundBrushProperty
static

BackgroundBrush property.

The default value is ResourceID("NullBrush").

See also
setBackgroundBrushResourceID(), getBackgroundBrushResourceID()
PropertyType<ResourceID> CompositionBrushProperty
static

CompositionBrush property.

The default value is ResourceID().

See also
setCompositionBrushResourceID(), getCompositionBrushResourceID()
PropertyType<ResourceID> ForegroundBrushProperty
static

ForegroundBrush property.

The default value is ResourceID().

See also
setForegroundBrushResourceID(), getForegroundBrushResourceID()
PropertyType<bool> ForceCompositionProperty
static

ForceComposition property.

The default value is false.

See also
setForceComposition(), isForceComposition()
PropertyType<Node2D::ForegroundHint> ForegroundHintProperty
static

ForegroundHint property.

The default value is Node2D::ForegroundHintNone.

See also
setForegroundHint(), getForegroundHint()
PropertyType<bool> OffscreenRenderingProperty
static

OffscreenRendering property.

The default value is false.

See also
setOffscreenRendering(), isOffscreenRendering()
PropertyType<bool> DisableRenderTargetClearProperty
static

DisableRenderTargetClear property.

The default value is false.

See also
setDisableRenderTargetClear(), isDisableRenderTargetClear()
PropertyType<KzuLayerPixelFormat> PixelFormatProperty
static

PixelFormat property.

The default value is KZU_LAYER_PIXEL_FORMAT_RGB.

See also
setPixelFormat(), getPixelFormat()
PropertyType<bool> RenderSelfProperty
static

RenderSelf property.

The default value is true.

See also
setRenderSelf(), isRenderSelf()
PropertyType<ResourceID> RenderTargetProperty
static

RenderTarget property.

The default value is ResourceID().

See also
setRenderTargetResourceID(), getRenderTargetResourceID()
PropertyType<float> RenderTargetMinimumHeightProperty
static

RenderTargetMinimumHeight property.

The default value is 1.0f.

See also
setRenderTargetMinimumHeight(), getRenderTargetMinimumHeight()
PropertyType<float> RenderTargetMinimumWidthProperty
static

RenderTargetMinimumWidth property.

The default value is 1.0f.

See also
setRenderTargetMinimumWidth(), getRenderTargetMinimumWidth()
PropertyType<float> RenderTargetReallocationLimitProperty
static

RenderTargetReallocationLimit property.

The default value is 0.25f.

See also
setRenderTargetReallocationLimit(), getRenderTargetReallocationLimit()