14 #ifndef PHYSXSHAPEDESC_H    15 #define PHYSXSHAPEDESC_H    32   virtual void set_to_default() = 0;
    33   virtual bool is_valid() 
const = 0;
    35   void set_name(
const char *name);
    36   void set_trigger(
bool value);
    37   void set_local_pos(
const LPoint3f &pos);
    38   void set_local_mat(
const LMatrix4f &mat);
    39   void set_local_hpr(
float h, 
float p, 
float r);
    40   void set_skin_width(
float skinWidth);
    41   void set_shape_flag(
const PhysxShapeFlag flag, 
bool value);
    42   void set_mass(
float mass);
    43   void set_density(
float density);
    44   void set_group(
unsigned short group);
    46   void set_material_index(
unsigned short index);
    48   const char *get_name() 
const;
    49   LPoint3f get_local_pos() 
const;
    50   LMatrix4f get_local_mat() 
const;
    51   float get_skin_width() 
const;
    52   bool get_shape_flag(
const PhysxShapeFlag flag) 
const;
    53   float get_mass() 
const;
    54   float get_density() 
const;
    55   unsigned short get_group() 
const;
    56   unsigned short get_material_index() 
const;
    59   virtual NxShapeDesc *ptr() 
const = 0;
    71 #endif // PHYSXSHAPEDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
 
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
 
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
 
A class for describing a shape's surface properties.
 
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
 
This class exists just to provide scoping for the enums shared by PhysX classes.
 
A base class for all things that want to be reference-counted.
 
Abstract base class for shape descriptors.
 
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.