APEX Framework: nvidia::apex::ActorSource Class Reference

NVIDIA APEX

nvidia::apex::ActorSource Class Reference

Base class for APEX classes that spawn PhysX SDK Actors. More...

#include <Actor.h>

Inheritance diagram for nvidia::apex::ActorSource:
nvidia::apex::DestructibleActor

List of all members.

Public Member Functions

virtual void setPhysX3Template (const PhysX3DescTemplate *)=0
 Sets the current body template.
virtual bool getPhysX3Template (PhysX3DescTemplate &dest) const =0
 Retrieve the current body template.
virtual PhysX3DescTemplatecreatePhysX3DescTemplate () const =0
 Create an PhysX3DescTemplate object to pass into the get/set methods.

Detailed Description

Base class for APEX classes that spawn PhysX SDK Actors.


Member Function Documentation

virtual void nvidia::apex::ActorSource::setPhysX3Template ( const PhysX3DescTemplate ) [pure virtual]

Sets the current body template.

User can specify a descriptor template for bodies that this object may create. APEX may customize these suggested settings. Already created / existing bodies will not be changed if the body template is changed! The body template will only be used for new bodies created after this is called!

members that are ignored: massLocalPose massSpaceInertia mass linearVelocity angularVelocity

These fields should be left at their default values as set by the desc constructor.


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

Generated on Fri Dec 15 2017 13:58:36

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.