Click or drag to resize
Ab4d.SharpEngine logo

BoxModelNodeUseSharedBoxMesh Property

Gets or sets a Boolean that specifies if a shared mesh with center at (0, 0, 0) and size (1, 1, 1) is used for this box (this uses the same vertex and index buffer for all boxes with shared mesh; this can be used only when XSegmentsCount, YSegmentsCount and ZSegmentsCount are 1). In this case the final position and size is set by using a mesh transformation. When false, then a new mesh instance is created that has the center and size that are specified in this box model. Default value is true.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool UseSharedBoxMesh { get; set; }

Property Value

Boolean
See Also