Kanzi  3.9.5
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

◆ getAspectRatio()

float getAspectRatio ( ) const

Gets the value of AspectRatioProperty.

See also
setAspectRatio()

◆ setAspectRatio()

void setAspectRatio ( float  value)

Sets the value of AspectRatioProperty.

See also
getAspectRatio()

◆ isForceComposition()

bool isForceComposition ( ) const

Gets the value of ForceCompositionProperty.

See also
setForceComposition()

◆ setForceComposition()

void setForceComposition ( bool  value)

Sets the value of ForceCompositionProperty.

See also
isForceComposition()

◆ getForegroundHint()

Node2D::ForegroundHint getForegroundHint ( ) const

Gets the value of ForegroundHintProperty.

See also
setForegroundHint()

◆ setForegroundHint()

void setForegroundHint ( Node2D::ForegroundHint  value)

Sets the value of ForegroundHintProperty.

See also
getForegroundHint()

◆ isOffscreenRendering()

bool isOffscreenRendering ( ) const

◆ setOffscreenRendering()

void setOffscreenRendering ( bool  value)

◆ isDisableRenderTargetClear()

bool isDisableRenderTargetClear ( ) const

◆ setDisableRenderTargetClear()

void setDisableRenderTargetClear ( bool  value)

◆ getPixelFormat()

Node2D::PixelFormat getPixelFormat ( ) const

Gets the value of PixelFormatProperty.

See also
setPixelFormat()

◆ setPixelFormat()

void setPixelFormat ( Node2D::PixelFormat  value)

Sets the value of PixelFormatProperty.

See also
getPixelFormat()

◆ isRenderSelf()

bool isRenderSelf ( ) const

Gets the value of RenderSelfProperty.

See also
setRenderSelf()

◆ setRenderSelf()

void setRenderSelf ( bool  value)

Sets the value of RenderSelfProperty.

See also
isRenderSelf()

◆ getRenderTargetMinimumHeight()

float getRenderTargetMinimumHeight ( ) const

◆ setRenderTargetMinimumHeight()

void setRenderTargetMinimumHeight ( float  value)

◆ getRenderTargetMinimumWidth()

float getRenderTargetMinimumWidth ( ) const

◆ setRenderTargetMinimumWidth()

void setRenderTargetMinimumWidth ( float  value)

◆ getRenderTargetReallocationLimit()

float getRenderTargetReallocationLimit ( ) const

◆ setRenderTargetReallocationLimit()

void setRenderTargetReallocationLimit ( float  value)

Variable Documentation

◆ AspectRatioProperty

PropertyType<float> AspectRatioProperty
static

AspectRatio property.

The default value is 1.0f.

See also
setAspectRatio(), getAspectRatio()

◆ ForceCompositionProperty

PropertyType<bool> ForceCompositionProperty
static

ForceComposition property.

The default value is false.

See also
setForceComposition(), isForceComposition()

◆ ForegroundHintProperty

PropertyType<Node2D::ForegroundHint> ForegroundHintProperty
static

ForegroundHint property.

The default value is Node2D::ForegroundHintNone.

See also
setForegroundHint(), getForegroundHint()

◆ OffscreenRenderingProperty

PropertyType<bool> OffscreenRenderingProperty
static

OffscreenRendering property.

The default value is false.

See also
setOffscreenRendering(), isOffscreenRendering()

◆ DisableRenderTargetClearProperty

PropertyType<bool> DisableRenderTargetClearProperty
static

DisableRenderTargetClear property.

The default value is false.

See also
setDisableRenderTargetClear(), isDisableRenderTargetClear()

◆ PixelFormatProperty

PropertyType<Node2D::PixelFormat> PixelFormatProperty
static

PixelFormat property.

The default value is Node2D::PixelFormatRgb.

See also
setPixelFormat(), getPixelFormat()

◆ RenderSelfProperty

PropertyType<bool> RenderSelfProperty
static

RenderSelf property.

The default value is true.

See also
setRenderSelf(), isRenderSelf()

◆ RenderTargetProperty

PropertyType<ResourceSharedPtr> RenderTargetProperty
static

RenderTarget property.

The default value is ResourceSharedPtr().

See also
setRenderTarget(), getRenderTarget()

◆ RenderTargetMinimumHeightProperty

PropertyType<float> RenderTargetMinimumHeightProperty
static

RenderTargetMinimumHeight property.

The default value is 1.0f.

See also
setRenderTargetMinimumHeight(), getRenderTargetMinimumHeight()

◆ RenderTargetMinimumWidthProperty

PropertyType<float> RenderTargetMinimumWidthProperty
static

RenderTargetMinimumWidth property.

The default value is 1.0f.

See also
setRenderTargetMinimumWidth(), getRenderTargetMinimumWidth()

◆ RenderTargetReallocationLimitProperty

PropertyType<float> RenderTargetReallocationLimitProperty
static

RenderTargetReallocationLimit property.

The default value is 0.25f.

See also
setRenderTargetReallocationLimit(), getRenderTargetReallocationLimit()