Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PhysxForceFieldShapeDesc Class Referenceabstract

Abstract base class for descriptors for force field shapes descriptors. More...

#include "physxForceFieldShapeDesc.h"

Inheritance diagram for PhysxForceFieldShapeDesc:
PhysxBoxForceFieldShapeDesc PhysxCapsuleForceFieldShapeDesc PhysxConvexForceFieldShapeDesc PhysxSphereForceFieldShapeDesc

Public Member Functions

LMatrix4f get_mat () const
 
const char * get_name () const
 
LPoint3f get_pos () const
 
virtual bool is_valid () const =0
 
virtual NxForceFieldShapeDesc * ptr () const =0
 
void set_hpr (float h, float p, float r)
 
void set_mat (const LMatrix4f &mat)
 
void set_name (const char *name)
 Sets a possible debug name.
 
void set_pos (const LPoint3f &pos)
 
virtual void set_to_default ()=0
 

Detailed Description

Abstract base class for descriptors for force field shapes descriptors.

Definition at line 25 of file physxForceFieldShapeDesc.h.

Member Function Documentation

◆ get_mat()

LMatrix4f PhysxForceFieldShapeDesc::get_mat ( ) const

Definition at line 84 of file physxForceFieldShapeDesc.cxx.

◆ get_name()

const char * PhysxForceFieldShapeDesc::get_name ( ) const

Definition at line 66 of file physxForceFieldShapeDesc.cxx.

◆ get_pos()

LPoint3f PhysxForceFieldShapeDesc::get_pos ( ) const

Definition at line 75 of file physxForceFieldShapeDesc.cxx.

◆ is_valid()

virtual bool PhysxForceFieldShapeDesc::is_valid ( ) const
pure virtual

◆ set_hpr()

void PhysxForceFieldShapeDesc::set_hpr ( float h,
float p,
float r )

Definition at line 50 of file physxForceFieldShapeDesc.cxx.

◆ set_mat()

void PhysxForceFieldShapeDesc::set_mat ( const LMatrix4f & mat)

Definition at line 40 of file physxForceFieldShapeDesc.cxx.

◆ set_name()

void PhysxForceFieldShapeDesc::set_name ( const char * name)

◆ set_pos()

void PhysxForceFieldShapeDesc::set_pos ( const LPoint3f & pos)

Definition at line 30 of file physxForceFieldShapeDesc.cxx.

◆ set_to_default()

virtual void PhysxForceFieldShapeDesc::set_to_default ( )
pure virtual

The documentation for this class was generated from the following files: