Panda3D
Public Member Functions | Public Attributes

PhysxSphereForceFieldShapeDesc Class Reference

A descriptor for a sphere force field shape. More...

#include "physxSphereForceFieldShapeDesc.h"

Inheritance diagram for PhysxSphereForceFieldShapeDesc:
PhysxForceFieldShapeDesc

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.
NxForceFieldShapeDesc * ptr () const
void set_radius (float radius)
 Radius of shape.
void set_to_default ()
 (re)sets the structure to the default.

Public Attributes

NxSphereForceFieldShapeDesc _desc

Detailed Description

A descriptor for a sphere force field shape.

Definition at line 27 of file physxSphereForceFieldShapeDesc.h.


Member Function Documentation

float PhysxSphereForceFieldShapeDesc::get_radius ( ) const

Radius of shape.

Definition at line 34 of file physxSphereForceFieldShapeDesc.cxx.

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

Returns true if the descriptor is valid.

Implements PhysxForceFieldShapeDesc.

Definition at line 56 of file physxSphereForceFieldShapeDesc.I.

void PhysxSphereForceFieldShapeDesc::set_radius ( float  radius)

Radius of shape.

Must be positive.

Definition at line 23 of file physxSphereForceFieldShapeDesc.cxx.

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

(re)sets the structure to the default.

Implements PhysxForceFieldShapeDesc.

Definition at line 44 of file physxSphereForceFieldShapeDesc.I.

References PhysxForceFieldShapeDesc::set_name().


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