Panda3D
Public Member Functions | Public Attributes

PhysxCapsuleForceFieldShapeDesc Class Reference

Descriptor for a capsule force field shape. More...

#include "physxCapsuleForceFieldShapeDesc.h"

Inheritance diagram for PhysxCapsuleForceFieldShapeDesc:
PhysxForceFieldShapeDesc

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.
NxForceFieldShapeDesc * 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

NxCapsuleForceFieldShapeDesc _desc

Detailed Description

Descriptor for a capsule force field shape.

Definition at line 27 of file physxCapsuleForceFieldShapeDesc.h.


Member Function Documentation

float PhysxCapsuleForceFieldShapeDesc::get_height ( ) const

The distance between the two hemispherical ends of the capsule.

Definition at line 60 of file physxCapsuleForceFieldShapeDesc.cxx.

float PhysxCapsuleForceFieldShapeDesc::get_radius ( ) const

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

Definition at line 48 of file physxCapsuleForceFieldShapeDesc.cxx.

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

Returns true if the descriptor is valid.

Implements PhysxForceFieldShapeDesc.

Definition at line 56 of file physxCapsuleForceFieldShapeDesc.I.

void PhysxCapsuleForceFieldShapeDesc::set_height ( float  height)

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

Definition at line 36 of file physxCapsuleForceFieldShapeDesc.cxx.

void PhysxCapsuleForceFieldShapeDesc::set_radius ( float  radius)

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

Definition at line 24 of file physxCapsuleForceFieldShapeDesc.cxx.

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

(re)sets the structure to the default.

Implements PhysxForceFieldShapeDesc.

Definition at line 44 of file physxCapsuleForceFieldShapeDesc.I.

References PhysxForceFieldShapeDesc::set_name().


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