Kanzi Engine API
node2d_properties.h File Reference

Functions

float getAspectRatio () const
 Gets the value of AspectRatioProperty. More...
 
Node2D::ForegroundHint getForegroundHint () const
 Gets the value of ForegroundHintProperty. More...
 
Node2D::PixelFormat getPixelFormat () const
 Gets the value of PixelFormatProperty. More...
 
float getRenderTargetMinimumHeight () const
 Gets the value of RenderTargetMinimumHeightProperty. More...
 
float getRenderTargetMinimumWidth () const
 Gets the value of RenderTargetMinimumWidthProperty. More...
 
float getRenderTargetReallocationLimit () const
 Gets the value of RenderTargetReallocationLimitProperty. More...
 
bool isDisableRenderTargetClear () const
 Gets the value of DisableRenderTargetClearProperty. More...
 
bool isForceComposition () const
 Gets the value of ForceCompositionProperty. More...
 
bool isOffscreenRendering () const
 Gets the value of OffscreenRenderingProperty. More...
 
bool isRenderSelf () const
 Gets the value of RenderSelfProperty. More...
 
void setAspectRatio (float value)
 Sets the value of AspectRatioProperty. More...
 
void setDisableRenderTargetClear (bool value)
 Sets the value of DisableRenderTargetClearProperty. More...
 
void setForceComposition (bool value)
 Sets the value of ForceCompositionProperty. More...
 
void setForegroundHint (Node2D::ForegroundHint value)
 Sets the value of ForegroundHintProperty. More...
 
void setOffscreenRendering (bool value)
 Sets the value of OffscreenRenderingProperty. More...
 
void setPixelFormat (Node2D::PixelFormat value)
 Sets the value of PixelFormatProperty. More...
 
void setRenderSelf (bool value)
 Sets the value of RenderSelfProperty. More...
 
void setRenderTargetMinimumHeight (float value)
 Sets the value of RenderTargetMinimumHeightProperty. More...
 
void setRenderTargetMinimumWidth (float value)
 Sets the value of RenderTargetMinimumWidthProperty. More...
 
void setRenderTargetReallocationLimit (float value)
 Sets the value of RenderTargetReallocationLimitProperty. More...
 

Variables

static PropertyType< float > AspectRatioProperty
 AspectRatio property. More...
 
static PropertyType< bool > DisableRenderTargetClearProperty
 DisableRenderTargetClear 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< Node2D::PixelFormat > PixelFormatProperty
 PixelFormat property. More...
 
static PropertyType< bool > RenderSelfProperty
 RenderSelf property. More...
 
static PropertyType< float > RenderTargetMinimumHeightProperty
 RenderTargetMinimumHeight property. More...
 
static PropertyType< float > RenderTargetMinimumWidthProperty
 RenderTargetMinimumWidth property. More...
 
static PropertyType< ResourceSharedPtr > RenderTargetProperty
 RenderTarget 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 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> 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()