Kanzi  3.9.5
Kanzi Engine API
viewport3d_properties.h File Reference

Functions

ResourceSharedPtr getMaterial () const
 Gets the value of MaterialProperty. More...
 
ResourceSharedPtr getPrefab () const
 Gets the value of PrefabProperty. More...
 
void setMaterial (ResourceSharedPtr value)
 Sets the value of MaterialProperty. More...
 
void setPrefab (ResourceSharedPtr value)
 Sets the value of PrefabProperty. More...
 

Variables

static PropertyType< ResourceSharedPtr > MaterialProperty
 Material property. More...
 
static PropertyType< ResourceSharedPtr > PrefabProperty
 Prefab property. More...
 

Function Documentation

◆ getPrefab()

ResourceSharedPtr getPrefab ( ) const

Gets the value of PrefabProperty.

See also
setPrefab()

◆ setPrefab()

void setPrefab ( ResourceSharedPtr  value)

Sets the value of PrefabProperty.

See also
getPrefab()

◆ getMaterial()

ResourceSharedPtr getMaterial ( ) const

Gets the value of MaterialProperty.

See also
setMaterial()

◆ setMaterial()

void setMaterial ( ResourceSharedPtr  value)

Sets the value of MaterialProperty.

See also
getMaterial()

Variable Documentation

◆ PrefabProperty

PropertyType<ResourceSharedPtr> PrefabProperty
static

Prefab property.

The default value is ResourceSharedPtr().

See also
setPrefab(), getPrefab()

◆ MaterialProperty

PropertyType<ResourceSharedPtr> MaterialProperty
static

Material property.

The default value is ResourceSharedPtr().

See also
setMaterial(), getMaterial()