Click or drag to resize
AB4D logo

SimpleMeshTCalculateBounds Method

Calculates and updates Bounds from the specified VertexBufferArray. The method can calculate bounds only when VertexBufferArray is of type PositionNormalTexture and PositionNormal.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public bool CalculateBounds(
	bool throwExceptionWhenUnsupported = true
)

Parameters

throwExceptionWhenUnsupported  Boolean  (Optional)
when true (by default) the method will throw exception when the format of VertexBufferArray is not supported; when false the method will return false in case of unsupported format

Return Value

Boolean
true if the bounds were calculated (false if the format of VertexBufferArray is not supported)
See Also