Panda3D
Public Member Functions | Public Attributes
PhysxBoxControllerDesc Class Reference

Descriptor class for PhysxBoxController. More...

#include "physxBoxControllerDesc.h"

Inheritance diagram for PhysxBoxControllerDesc:
PhysxControllerDesc

List of all members.

Public Member Functions

LVector3f get_extents () const
 Returns the dimensions of the box.
bool is_valid () const
 Returns true if the descriptor is valid.
NxControllerDesc * ptr () const
void set_extents (const LVector3f &extents)
 Sets the dimensions of the box.
void set_to_default ()
 (re)sets the structure to the default.

Public Attributes

NxBoxControllerDesc _desc

Detailed Description

Descriptor class for PhysxBoxController.

Definition at line 28 of file physxBoxControllerDesc.h.


Member Function Documentation

Returns the dimensions of the box.

Definition at line 39 of file physxBoxControllerDesc.cxx.

References PhysxManager::nxVec3_to_vec3().

bool PhysxBoxControllerDesc::is_valid ( ) const [inline, virtual]

Returns true if the descriptor is valid.

Implements PhysxControllerDesc.

Definition at line 55 of file physxBoxControllerDesc.I.

Sets the dimensions of the box.

The dimensions are the 'radii' of the box, meaning 1/2 extents in x dimension, 1/2 extents in y dimension, 1/2 extents in z dimension.

Definition at line 28 of file physxBoxControllerDesc.cxx.

References PhysxManager::vec3_to_nxVec3().

void PhysxBoxControllerDesc::set_to_default ( ) [inline, virtual]

(re)sets the structure to the default.

Implements PhysxControllerDesc.

Definition at line 44 of file physxBoxControllerDesc.I.


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