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 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 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...
 
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...
 
Node2D::PixelFormat getPixelFormat () const
 Gets the value of PixelFormatProperty. More...
 
void setPixelFormat (Node2D::PixelFormat 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...
 
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 > ForceCompositionProperty
 ForceComposition property. More...
 
static PropertyType< Node2D::ForegroundHint > ForegroundHintProperty
 ForegroundHint 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< bool > OffscreenRenderingProperty
 OffscreenRendering property. More...
 
static PropertyType< bool > DisableRenderTargetClearProperty
 DisableRenderTargetClear property. More...
 
static PropertyType< Node2D::PixelFormat > PixelFormatProperty
 PixelFormat property. More...
 
static PropertyType< bool > RenderSelfProperty
 RenderSelf property. More...
 
static PropertyType< ResourceSharedPtr > 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 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 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()
bool isOffscreenRendering ( ) const
void setOffscreenRendering ( bool  value)
bool isDisableRenderTargetClear ( ) const
void setDisableRenderTargetClear ( bool  value)
Node2D::PixelFormat getPixelFormat ( ) const

Gets the value of PixelFormatProperty.

See also
setPixelFormat()
void setPixelFormat ( Node2D::PixelFormat  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()
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> 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> 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<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<Node2D::PixelFormat> PixelFormatProperty
static

PixelFormat property.

The default value is Node2D::PixelFormatRgb.

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

RenderSelf property.

The default value is true.

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

RenderTarget property.

The default value is ResourceSharedPtr().

See also
setRenderTarget(), getRenderTarget()
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()