Panda3D
Public Member Functions | Public Attributes

PhysxForceFieldDesc Class Reference

Descriptor class for force fields. More...

#include "physxForceFieldDesc.h"

Inheritance diagram for PhysxForceFieldDesc:
PhysxEnums

List of all members.

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

Detailed Description

Descriptor class for force fields.

Definition at line 32 of file physxForceFieldDesc.h.


Member Function Documentation

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.


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