APEX Framework: Actor.h File Reference

NVIDIA APEX

Actor.h File Reference

classes ApexActor, ApexActorSource More...

#include "ApexInterface.h" #include "PxActor.h"
#include "PxShape.h"
#include "PxFiltering.h"

Go to the source code of this file.

Classes

class  nvidia::apex::PhysX3DescTemplate
class  nvidia::apex::Actor
 Base class for APEX module objects. More...
class  nvidia::apex::ActorSource
 Base class for APEX classes that spawn PhysX SDK Actors. More...

Namespaces

namespace  nvidia
 

nvidia namespace


namespace  nvidia::apex
 

apex namespace


Defines

#define APEX_DEFAULT_WAKE_UP_COUNTER   0.4f
#define APEX_ACTOR_TEMPLATE_PARAM(_type, _name, _valid, _default)

Detailed Description

classes ApexActor, ApexActorSource


Define Documentation

#define APEX_ACTOR_TEMPLATE_PARAM (   _type,
  _name,
  _valid,
  _default 
)
Value:
bool is##_name##Valid(_type x) const { PX_UNUSED(x); return _valid; } \
_type getDefault##_name() const { return _default; } \
virtual _type get##_name() const = 0; \
virtual bool set##_name(_type) = 0

Used to define generic get/set methods for 1-parameter values in PhysX3DescTemplate.

#define APEX_DEFAULT_WAKE_UP_COUNTER   0.4f

Corresponds to 20 frames for a time step of 0.02, PhysX 3.3 took PX_SLEEP_INTERVAL away


Generated on Fri Dec 15 2017 13:58:35

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