Panda3D
|
Descriptor class for force fields. More...
#include "physxForceFieldDesc.h"
Public Member Functions | |
void | add_include_group_shape (PhysxForceFieldShapeDesc &shapeDesc) |
void | add_shape_group (PhysxForceFieldShapeGroup *group) |
void | create_kernel (NxScene *scenePtr) |
bool | is_valid () const |
Returns true if the descriptor is valid. | |
void | set_actor (PhysxActor *actor) |
void | set_coordinates (PhysxForceFieldCoordinates coordinates) |
void | set_hpr (float h, float p, float r) |
void | set_kernel_constant (const LVector3f &constant) |
void | set_kernel_falloff_linear (const LVector3f &falloff) |
void | set_kernel_falloff_quadratic (const LVector3f &falloff) |
void | set_kernel_noise (const LVector3f &noise) |
void | set_kernel_position_multiplier (const LMatrix3f &multiplier) |
void | set_kernel_position_target (const LPoint3f &target) |
void | set_kernel_torus_radius (float radius) |
void | set_kernel_velocity_multiplier (const LMatrix3f &multiplier) |
void | set_kernel_velocity_target (const LVector3f &target) |
void | set_mat (const LMatrix4f &mat) |
void | set_name (const char *name) |
void | set_pos (const LPoint3f &pos) |
void | set_to_default () |
(re)sets the structure to the default. | |
Public Attributes | |
NxForceFieldDesc | _desc |
NxForceFieldLinearKernelDesc | _kernel |
Descriptor class for force fields.
Definition at line 32 of file physxForceFieldDesc.h.
bool PhysxForceFieldDesc::is_valid | ( | ) | const [inline] |
Returns true if the descriptor is valid.
Definition at line 55 of file physxForceFieldDesc.I.
Referenced by PhysxScene::create_force_field().
void PhysxForceFieldDesc::set_to_default | ( | ) | [inline] |
(re)sets the structure to the default.
Definition at line 43 of file physxForceFieldDesc.I.