Kanzi 4.1.1
Viewport3DMetadata Interface Reference

Metadata definitions for Viewport3D. More...

Inheritance diagram for Viewport3DMetadata:
[legend]

Public Attributes

AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.Viewport3D")
 Metaclass for Viewport3D.
 
DynamicPropertyType< ResourceOverrideMaterialProperty
 Sets the override material to use to render the content of the 2D prefab in the Viewport 3D node.
 
DynamicPropertyType< ResourcePrefabProperty
 Sets the 2D prefab whose content the Viewport 3D node renders in 3D space.
 
DynamicPropertyType< ResourcePrefabTextureProperty
 The read-only texture to which the Viewport 3D renders the content of the 2D prefab.
 

Detailed Description

Metadata definitions for Viewport3D.

Member Data Documentation

◆ OverrideMaterialProperty

DynamicPropertyType<Resource> OverrideMaterialProperty
Initial value:
=
new DynamicPropertyType<>("Viewport3D.OverrideMaterial", Resource.class)

Sets the override material to use to render the content of the 2D prefab in the Viewport 3D node.

In the Viewport 3D node, bind a texture property of the override material to the Viewport3D.PrefabTexture property.

◆ PrefabProperty

DynamicPropertyType<Resource> PrefabProperty
Initial value:
=
new DynamicPropertyType<>("Viewport3D.Prefab", Resource.class)

Sets the 2D prefab whose content the Viewport 3D node renders in 3D space.

◆ PrefabTextureProperty

DynamicPropertyType<Resource> PrefabTextureProperty
Initial value:
=
new DynamicPropertyType<>("Viewport3D.PrefabTexture", Resource.class)

The read-only texture to which the Viewport 3D renders the content of the 2D prefab.

When you set the Override Material property, you must bind a texture property of that material to this property.