|
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.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax 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
Booleantrue if the bounds were calculated (false if the format of VertexBufferArray is not supported)
See Also