Click or drag to resize
AB4D logo

InstancedModelGroupVisual3D Properties

The InstancedModelGroupVisual3D type exposes the following members.

Properties
 NameDescription
Public propertyInstancesData Gets or sets an array of InstanceData structs that define the world transformations (positions, scales, rotations) and colors or instanced geometry objects. After each change of InstancesData user must call Update method.
Public propertyIsWpf3DVisible Gets a Boolean that specifies if this BaseDXVisual3D can show its content when rendered with WPF 3D objects.
(Overrides BaseDXVisual3DIsWpf3DVisible)
Public propertyIsWpfHitTestVisible Gets or sets a Boolean that specifies if WPF hit testing can be done on the instanced 3D objects when rendered with DirectX hardware acceleration. When IsWpfHitTestVisible is true then InstancedModelGroupVisual3D always creates WPF's Model3D objects that are used by WPF's hit testing. This can increase initialization time. Default value is false. When showing instanced objects, it is recommended to use DXEngine hit testing that support fast hit testing on instanced objects and leave this property on false.
Public propertyModel3DGroup Gets Model3DGroup that is used by this InstancedModelGroupVisual3D
Public propertyUseDynamicInstanceBuffer Gets or sets a Boolean that specifies if dynamic instance buffer is created instead of immutable instance buffer. Dynamic instance buffer has better performance when instance data is changed often. On the other side the immutable buffer is better when the instance data is not changed or changed only a few times. Default value is false - use immutable buffer.
Top
See Also