RavEngine
Loading...
Searching...
No Matches
physx::PxCustomGeometryExt::CylinderCallbacks Struct Reference

Cylinder geometry callbacks. More...

#include <PxCustomGeometryExt.h>

Inheritance diagram for physx::PxCustomGeometryExt::CylinderCallbacks:
[legend]
Collaboration diagram for physx::PxCustomGeometryExt::CylinderCallbacks:
[legend]

Public Member Functions

 CylinderCallbacks (float height, float radius, int axis=0, float margin=0)
 Construct cylinder geometry callbacks object.
 

Public Attributes

float height
 Cylinder height.
 
float radius
 Cylinder radius.
 
int axis
 Cylinder axis.
 

Detailed Description

Cylinder geometry callbacks.

Constructor & Destructor Documentation

◆ CylinderCallbacks()

PxCustomGeometryExt::CylinderCallbacks::CylinderCallbacks ( float  height,
float  radius,
int  axis = 0,
float  margin = 0 
)

Construct cylinder geometry callbacks object.

Parameters
[in]heightThe cylinder height.
[in]radiusThe cylinder radius.
[in]axisThe cylinder axis (0 - X, 1 - Y, 2 - Z).
[in]marginThe cylinder margin.

The documentation for this struct was generated from the following files: