PhysicsEngineCreateBoxGeometry Method |
Creates a box (rectangular parallelepiped) collision geometry.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic PhysicsBoxGeometry CreateBoxGeometry(
double length,
double height,
double width
)
Parameters
- length
- Type: SystemDouble
The length for the box geometry. - height
- Type: SystemDouble
The height for the box geometry. - width
- Type: SystemDouble
The width for the box geometry.
Return Value
Type:
PhysicsBoxGeometryThe created box geometry.
See Also