Table of Contents

Method b3CreateCylinder

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3CreateCylinder(float, float, float, int)

Create a tessellated cylinder as a hull.

public static extern b3HullData* b3CreateCylinder(float height, float radius, float yOffset, int sides)

Parameters

height float

See the Box3D documentation.

radius float

See the Box3D documentation.

yOffset float

See the Box3D documentation.

sides int

See the Box3D documentation.

Returns

b3HullData*

See the Box3D documentation.