Panda3D
Public Member Functions | Public Attributes

PhysxSphereShapeDesc Class Reference

Descriptor class for PhysxSphereShape. More...

#include "physxSphereShapeDesc.h"

Inheritance diagram for PhysxSphereShapeDesc:
PhysxShapeDesc PhysxEnums ReferenceCount MemoryBase

List of all members.

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

Detailed Description

Descriptor class for PhysxSphereShape.

Definition at line 27 of file physxSphereShapeDesc.h.


Member Function Documentation

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)

Radius of shape.

Must be positive.

Definition at line 23 of file physxSphereShapeDesc.cxx.

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().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations