PhysicsEngineCreateCylinderGeometry Method |
Creates a cylindrical collision geometry formed about the z-axis.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic PhysicsCylinderGeometry CreateCylinderGeometry(
double radius,
double length
)
Parameters
- radius
- Type: SystemDouble
The radius for the cylinder geometry in the xy-plane. - length
- Type: SystemDouble
The length for the cylinder geometry along the z-axis.
Return Value
Type:
PhysicsCylinderGeometryThe created cylinder geometry.
See Also