Click or drag to resize
AB4D logo

BoxVisual3DUseCachedMeshGeometry3D Property

Gets or sets a boolean that specifies if cached MeshGeometry3D is used to create the Model3D. In that case the position and size of the Model3D is specified with with using transformations on the cached mesh. This mode can be used only where XCellsCount = YCellsCount = ZCellsCount = 1. If false then a new MeshGeometry3D is created for every BoxVisual3D.

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public bool UseCachedMeshGeometry3D { get; set; }

Property Value

Boolean
Remarks

UseCachedMeshGeometry3D gets or sets a boolean that specifies if cached MeshGeometry3D is used to create the Model3D.

When using cached MeshGeometry3D, the position and size of the Model3D is specified with with using transformations on the cached mesh. This can greatly improve performance when using many 3D objects, because the geometry data is shaderd between the objects.

If UseCachedMeshGeometry3D is false, than a new MeshGeometry3D is created for each instance of BoxVisual3D and each time the position or size is changed.

Default value is true.

See Also