Panda3D
Public Member Functions | Public Attributes

PhysxCapsuleControllerDesc Class Reference

Descriptor class for PhysxCapsuleController. More...

#include "physxCapsuleControllerDesc.h"

Inheritance diagram for PhysxCapsuleControllerDesc:
PhysxControllerDesc

List of all members.

Public Member Functions

float get_height () const
 The distance between the two hemispherical ends of the capsule.
float get_radius () const
 The radius of the capsule's hemispherical ends and its trunk.
bool is_valid () const
 Returns true if the descriptor is valid.
NxControllerDesc * ptr () const
void set_height (float height)
 Sets the distance between the two hemispherical ends of the capsule.
void set_radius (float radius)
 Sets the radius of the capsule's hemispherical ends and its trunk.
void set_to_default ()
 (re)sets the structure to the default.

Public Attributes

NxCapsuleControllerDesc _desc

Detailed Description

Descriptor class for PhysxCapsuleController.

Definition at line 27 of file physxCapsuleControllerDesc.h.


Member Function Documentation

float PhysxCapsuleControllerDesc::get_height ( ) const

The distance between the two hemispherical ends of the capsule.

Definition at line 60 of file physxCapsuleControllerDesc.cxx.

float PhysxCapsuleControllerDesc::get_radius ( ) const

The radius of the capsule's hemispherical ends and its trunk.

Definition at line 48 of file physxCapsuleControllerDesc.cxx.

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

Returns true if the descriptor is valid.

Implements PhysxControllerDesc.

Definition at line 55 of file physxCapsuleControllerDesc.I.

void PhysxCapsuleControllerDesc::set_height ( float  height)

Sets the distance between the two hemispherical ends of the capsule.

Definition at line 36 of file physxCapsuleControllerDesc.cxx.

void PhysxCapsuleControllerDesc::set_radius ( float  radius)

Sets the radius of the capsule's hemispherical ends and its trunk.

Definition at line 24 of file physxCapsuleControllerDesc.cxx.

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

(re)sets the structure to the default.

Implements PhysxControllerDesc.

Definition at line 44 of file physxCapsuleControllerDesc.I.


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