Panda3D
|
Descriptor class for PhysxSphereShape. More...
#include "physxSphereShapeDesc.h"
Public Member Functions | |
float | get_radius () const |
Radius of shape. | |
bool | is_valid () const |
Returns true if the descriptor is valid. | |
NxShapeDesc * | ptr () const |
void | set_radius (float radius) |
Radius of shape. | |
void | set_to_default () |
(re)sets the structure to the default. | |
Public Attributes | |
NxSphereShapeDesc | _desc |
Descriptor class for PhysxSphereShape.
Definition at line 27 of file physxSphereShapeDesc.h.
float PhysxSphereShapeDesc::get_radius | ( | ) | const |
Radius of shape.
Definition at line 34 of file physxSphereShapeDesc.cxx.
bool PhysxSphereShapeDesc::is_valid | ( | ) | const [inline, virtual] |
Returns true if the descriptor is valid.
Implements PhysxShapeDesc.
Definition at line 56 of file physxSphereShapeDesc.I.
void PhysxSphereShapeDesc::set_radius | ( | float | radius | ) |
void PhysxSphereShapeDesc::set_to_default | ( | ) | [inline, virtual] |
(re)sets the structure to the default.
Implements PhysxShapeDesc.
Definition at line 44 of file physxSphereShapeDesc.I.
References PhysxShapeDesc::set_name().