|
| Scene () |
|
virtual | ~Scene () |
|
virtual bool | onAdd () |
| Engine. More...
|
|
virtual void | onRemove () |
| Called when the object is removed from the sim. More...
|
|
virtual void | onDeleteNotify (SimObject *object) |
|
virtual void | PreSolve (b2Contact *pContact, const b2Manifold *pOldManifold) |
| Contact processing. More...
|
|
virtual void | PostSolve (b2Contact *pContact, const b2ContactImpulse *pImpulse) |
|
virtual void | BeginContact (b2Contact *pContact) |
|
virtual void | EndContact (b2Contact *pContact) |
|
const typeContactHash & | getBeginContacts (void) const |
|
const typeContactVector & | getEndContacts (void) const |
|
virtual void | processTick () |
| Integration. More...
|
|
virtual void | interpolateTick (F32 delta) |
|
virtual void | advanceTime (F32 timeDelta) |
|
void | sceneRender (const SceneRenderState *pSceneRenderState) |
| Render output. More...
|
|
b2World * | getWorld (void) const |
| World. More...
|
|
WorldQuery * | getWorldQuery (const bool clearQuery=false) |
|
b2BlockAllocator * | getBlockAllocator (void) |
|
b2Body * | getGroundBody (void) const |
|
virtual ePhysicsProxyType | getPhysicsProxyType (void) const |
|
void | setGravity (const b2Vec2 &gravity) |
|
b2Vec2 | getGravity (void) |
|
void | setVelocityIterations (const S32 iterations) |
|
S32 | getVelocityIterations (void) const |
|
void | setPositionIterations (const S32 iterations) |
|
S32 | getPositionIterations (void) const |
|
void | clearScene (bool deleteObjects=true) |
| Scene occupancy. More...
|
|
void | addToScene (SceneObject *pSceneObject) |
|
void | removeFromScene (SceneObject *pSceneObject) |
|
typeSceneObjectVectorConstRef | getSceneObjects (void) const |
|
U32 | getSceneObjectCount (void) const |
|
SceneObject * | getSceneObject (const U32 objectIndex) const |
|
U32 | getSceneObjects (typeSceneObjectVector &objects) const |
|
U32 | getSceneObjects (typeSceneObjectVector &objects, const U32 sceneLayer) const |
|
void | mergeScene (const Scene *pScene) |
|
SimSet * | getControllers (void) |
|
S32 | getAssetPreloadCount (void) const |
|
const AssetPtr< AssetBase > * | getAssetPreload (const S32 index) const |
|
void | addAssetPreload (const char *pAssetId) |
|
void | removeAssetPreload (const char *pAssetId) |
|
void | clearAssetPreloads (void) |
|
F32 | getSceneTime (void) const |
| Scene time. More...
|
|
void | setScenePause (bool status) |
|
bool | getScenePause (void) const |
|
U32 | getJointCount (void) const |
| Joint access. More...
|
|
b2JointType | getJointType (const S32 jointId) |
|
b2Joint * | findJoint (const S32 jointId) |
|
S32 | findJointId (b2Joint *pJoint) |
|
S32 | createJoint (b2JointDef *pJointDef) |
|
bool | deleteJoint (const U32 jointId) |
|
bool | hasJoints (SceneObject *pSceneObject) |
|
S32 | createDistanceJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA=b2Vec2_zero, const b2Vec2 &localAnchorB=b2Vec2_zero, const F32 length=-1.0f, const F32 frequency=0.0f, const F32 dampingRatio=0.0f, const bool collideConnected=false) |
| Distance joint. More...
|
|
void | setDistanceJointLength (const U32 jointId, const F32 length) |
|
F32 | getDistanceJointLength (const U32 jointId) |
|
void | setDistanceJointFrequency (const U32 jointId, const F32 frequency) |
|
F32 | getDistanceJointFrequency (const U32 jointId) |
|
void | setDistanceJointDampingRatio (const U32 jointId, const F32 dampingRatio) |
|
F32 | getDistanceJointDampingRatio (const U32 jointId) |
|
S32 | createRopeJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA=b2Vec2_zero, const b2Vec2 &localAnchorB=b2Vec2_zero, const F32 maxLength=-1.0f, const bool collideConnected=false) |
| Rope joint. More...
|
|
void | setRopeJointMaxLength (const U32 jointId, const F32 maxLength) |
|
F32 | getRopeJointMaxLength (const U32 jointId) |
|
S32 | createRevoluteJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA=b2Vec2_zero, const b2Vec2 &localAnchorB=b2Vec2_zero, const bool collideConnected=false) |
| Revolute joint. More...
|
|
void | setRevoluteJointLimit (const U32 jointId, const bool enableLimit, const F32 lowerAngle, const F32 upperAngle) |
|
bool | getRevoluteJointLimit (const U32 jointId, bool &enableLimit, F32 &lowerAngle, F32 &upperAngle) |
|
void | setRevoluteJointMotor (const U32 jointId, const bool enableMotor, const F32 motorSpeed=b2_pi, const F32 maxMotorTorque=0.0f) |
|
bool | getRevoluteJointMotor (const U32 jointId, bool &enableMotor, F32 &motorSpeed, F32 &maxMotorTorque) |
|
F32 | getRevoluteJointAngle (const U32 jointId) |
|
F32 | getRevoluteJointSpeed (const U32 jointId) |
|
S32 | createWeldJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA=b2Vec2_zero, const b2Vec2 &localAnchorB=b2Vec2_zero, const F32 frequency=0.0f, const F32 dampingRatio=0.0f, const bool collideConnected=false) |
| Weld joint. More...
|
|
void | setWeldJointFrequency (const U32 jointId, const F32 frequency) |
|
F32 | getWeldJointFrequency (const U32 jointId) |
|
void | setWeldJointDampingRatio (const U32 jointId, const F32 dampingRatio) |
|
F32 | getWeldJointDampingRatio (const U32 jointId) |
|
S32 | createWheelJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA, const b2Vec2 &localAnchorB, const b2Vec2 &worldAxis, const bool collideConnected=false) |
| Wheel joint. More...
|
|
void | setWheelJointMotor (const U32 jointId, const bool enableMotor, const F32 motorSpeed=b2_pi, const F32 maxMotorTorque=0.0f) |
|
bool | getWheelJointMotor (const U32 jointId, bool &enableMotor, F32 &motorSpeed, F32 &maxMotorTorque) |
|
void | setWheelJointFrequency (const U32 jointId, const F32 frequency) |
|
F32 | getWheelJointFrequency (const U32 jointId) |
|
void | setWheelJointDampingRatio (const U32 jointId, const F32 dampingRatio) |
|
F32 | getWheelJointDampingRatio (const U32 jointId) |
|
S32 | createFrictionJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA=b2Vec2_zero, const b2Vec2 &localAnchorB=b2Vec2_zero, const F32 maxForce=0.0f, const F32 maxTorque=0.0f, const bool collideConnected=false) |
| Friction joint. More...
|
|
void | setFrictionJointMaxForce (const U32 jointId, const F32 maxForce) |
|
F32 | getFrictionJointMaxForce (const U32 jointId) |
|
void | setFrictionJointMaxTorque (const U32 jointId, const F32 maxTorque) |
|
F32 | getFrictionJointMaxTorque (const U32 jointId) |
|
S32 | createPrismaticJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA, const b2Vec2 &localAnchorB, const b2Vec2 &worldAxis, const bool collideConnected=false) |
| Prismatic joint. More...
|
|
void | setPrismaticJointLimit (const U32 jointId, const bool enableLimit, const F32 lowerTranslation, const F32 upperTranslation) |
|
bool | getPrismaticJointLimit (const U32 jointId, bool &enableLimit, F32 &lowerTranslation, F32 &upperTranslation) |
|
void | setPrismaticJointMotor (const U32 jointId, const bool enableMotor, const F32 motorSpeed=b2_pi, const F32 maxMotorForce=0.0f) |
|
bool | getPrismaticJointMotor (const U32 jointId, bool &enableMotor, F32 &motorSpeed, F32 &maxMotorTorque) |
|
S32 | createPulleyJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 &localAnchorA, const b2Vec2 &localAnchorB, const b2Vec2 &worldGroundAnchorA, const b2Vec2 &worldGroundAnchorB, const F32 ratio, const F32 lengthA=-1.0f, const F32 lengthB=-1.0f, const bool collideConnected=false) |
| Pulley joint. More...
|
|
S32 | createTargetJoint (const SceneObject *pSceneObject, const b2Vec2 &worldTarget, const F32 maxForce, const bool useCenterOfMass=false, const F32 frequency=5.0f, const F32 dampingRatio=0.7f, const bool collideConnected=false) |
| Target (a.k.a Mouse) joint. More...
|
|
void | setTargetJointTarget (const U32 jointId, const b2Vec2 &worldTarget) |
|
b2Vec2 | getTargetJointTarget (const U32 jointId) |
|
void | setTargetJointMaxForce (const U32 jointId, const F32 maxForce) |
|
F32 | getTargetJointMaxForce (const U32 jointId) |
|
void | setTargetJointFrequency (const U32 jointId, const F32 frequency) |
|
F32 | getTargetJointFrequency (const U32 jointId) |
|
void | setTargetJointDampingRatio (const U32 jointId, const F32 dampingRatio) |
|
F32 | getTargetJointDampingRatio (const U32 jointId) |
|
S32 | createMotorJoint (const SceneObject *pSceneObjectA, const SceneObject *pSceneObjectB, const b2Vec2 linearOffset=b2Vec2_zero, const F32 angularOffset=0.0f, const F32 maxForce=1.0f, const F32 maxTorque=1.0f, const F32 correctionFactor=0.3f, const bool collideConnected=false) |
| Motor Joint. More...
|
|
void | setMotorJointLinearOffset (const U32 jointId, const b2Vec2 &linearOffset) |
|
b2Vec2 | getMotorJointLinearOffset (const U32 jointId) |
|
void | setMotorJointAngularOffset (const U32 jointId, const F32 angularOffset) |
|
F32 | getMotorJointAngularOffset (const U32 jointId) |
|
void | setMotorJointMaxForce (const U32 jointId, const F32 maxForce) |
|
F32 | getMotorJointMaxForce (const U32 jointId) |
|
void | setMotorJointMaxTorque (const U32 jointId, const F32 maxTorque) |
|
F32 | getMotorJointMaxTorque (const U32 jointId) |
|
void | setDebugOn (const U32 debugMask) |
| Debug and metrics. More...
|
|
void | setDebugOff (const U32 debugMask) |
|
U32 | getDebugMask (void) const |
|
DebugStats & | getDebugStats (void) |
|
void | resetDebugStats (void) |
|
void | setDebugSceneObject (SceneObject *pSceneObject) |
|
SceneObject * | getDebugSceneObject (void) const |
|
void | setLayerSortMode (const U32 layer, const SceneRenderQueue::RenderSort sortMode) |
| Layer sorting. More...
|
|
SceneRenderQueue::RenderSort | getLayerSortMode (const U32 layer) |
|
void | attachSceneWindow (SceneWindow *pSceneWindow2D) |
| Window attachments. More...
|
|
void | detachSceneWindow (SceneWindow *pSceneWindow2D) |
|
void | detachAllSceneWindows (void) |
|
bool | isSceneWindowAttached (SceneWindow *pSceneWindow2D) |
|
SimSet & | getAttachedSceneWindows (void) |
|
void | addDeleteRequest (SceneObject *pSceneObject) |
| Delete requests. More...
|
|
void | processDeleteRequests (const bool forceImmediate) |
|
virtual void | SayGoodbye (b2Joint *pJoint) |
| Destruction listeners. More...
|
|
virtual void | SayGoodbye (b2Fixture *pFixture) |
|
virtual SceneObject * | create (const char *pType) |
|
void | setBatchingEnabled (const bool enabled) |
| Miscellaneous. More...
|
|
bool | getBatchingEnabled (void) const |
|
bool | getIsEditorScene (void) const |
|
void | setIsEditorScene (bool status) |
|
U32 | getSceneIndex (void) const |
|
void | setUpdateCallback (const bool callback) |
|
bool | getUpdateCallback (void) const |
|
void | setRenderCallback (const bool callback) |
|
bool | getRenderCallback (void) const |
|
virtual U32 | getTamlChildCount (void) const |
| Taml children. More...
|
|
virtual SimObject * | getTamlChild (const U32 childIndex) const |
| Called when Taml attempts to compile a list of children. More...
|
|
virtual void | addTamlChild (SimObject *pSimObject) |
| Called when Taml attempts to populate an objects children during a read. More...
|
|
| DECLARE_CONOBJECT (Scene) |
| Declare Console Object. More...
|
|
| BehaviorComponent () |
|
virtual | ~BehaviorComponent () |
|
virtual void | copyTo (SimObject *object) |
|
BehaviorInstance * | getBehaviorByInstanceId (const U32 behaviorId) |
| Behavior interface. More...
|
|
virtual bool | addBehavior (BehaviorInstance *bi) |
|
virtual bool | removeBehavior (BehaviorInstance *bi, bool deleteBehavior=true) |
|
virtual void | clearBehaviors () |
|
virtual U32 | getBehaviorCount () const |
|
virtual const SimSet & | getBehaviors () const |
|
virtual BehaviorInstance * | getBehavior (StringTableEntry behaviorTemplateName) |
|
virtual BehaviorInstance * | getBehavior (const U32 index) |
|
virtual bool | reOrder (BehaviorInstance *obj, U32 desiredIndex) |
|
bool | connect (BehaviorInstance *pOutputBehavior, BehaviorInstance *pInputBehavior, StringTableEntry pOutputName, StringTableEntry pInputName) |
| Behavior connectivity. More...
|
|
bool | disconnect (BehaviorInstance *pOutputBehavior, BehaviorInstance *pInputBehavior, StringTableEntry pOutputName, StringTableEntry pInputName) |
|
bool | raise (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName) |
|
U32 | getBehaviorConnectionCount (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName) |
|
const BehaviorPortConnection * | getBehaviorConnection (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName, const U32 connectionIndex) |
|
const typePortConnectionVector * | getBehaviorConnections (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName) |
|
virtual bool | handlesConsoleMethod (const char *fname, S32 *routingId) |
| DynamicConsoleMethodComponent Overrides. More...
|
|
virtual const char * | callOnBehaviors (U32 argc, const char *argv[]) |
|
virtual void | write (Stream &stream, U32 tabStop, U32 flags=0) |
| SimComponent overrides. More...
|
|
| DECLARE_CONOBJECT (BehaviorComponent) |
|
const char * | callMethod (S32 argc, const char *methodName,...) |
| Call Method format string. More...
|
|
virtual const char * | callMethodArgList (U32 argc, const char *argv[], bool callThis=true) |
| Call Method. More...
|
|
| DECLARE_CONOBJECT (DynamicConsoleMethodComponent) |
|
| DECLARE_CONOBJECT (SimComponent) |
|
| SimComponent () |
|
virtual | ~SimComponent () |
|
virtual bool | processArguments (S32 argc, const char **argv) |
| Process constructor options. (ie, new SimObject(1,2,3)) More...
|
|
bool | hasComponents () const |
| Will return true if this object contains components. More...
|
|
const SimComponent * | getOwner () const |
| The component which owns this object. More...
|
|
virtual StringTableEntry | getComponentName () |
|
virtual bool | addComponent (SimComponent *component) |
| Add Component to this one. More...
|
|
virtual bool | removeComponent (SimComponent *component) |
| Remove Component from this one. More...
|
|
virtual bool | clearComponents () |
| Clear Child components of this one. More...
|
|
virtual bool | onComponentAdd (SimComponent *target) |
|
virtual void | onComponentRemove (SimComponent *target) |
|
U32 | getComponentCount () |
|
SimComponent * | getComponent (const U32 index) |
|
virtual void | setEnabled (const bool enabled) |
|
bool | isEnabled () const |
|
virtual bool | writeField (StringTableEntry fieldname, const char *value) |
|
virtual void | onUpdate (void) |
|
virtual void | onAddToScene (void) |
|
virtual void | onRemoveFromScene (void) |
|
bool | callMethodOnComponents (U32 argc, const char *argv[], const char **result) |
|
StringTableEntry | getClassNamespace () const |
|
StringTableEntry | getSuperClassNamespace () const |
|
void | setClassNamespace (const char *classNamespace) |
|
void | setSuperClassNamespace (const char *superClassNamespace) |
|
void | pushScriptCallbackGuard (void) |
|
void | popScriptCallbackGuard (void) |
|
S32 | getScriptCallbackGuard (void) |
|
virtual SimObject * | findObject (const char *name) |
|
Namespace * | getNamespace () |
| Return the object's namespace. More...
|
|
const char * | tabComplete (const char *prevText, S32 baseLen, bool) |
|
virtual void | dump () |
|
virtual void | dumpClassHierarchy () |
|
SimObject * | clone (const bool copyDynamicFields) |
|
template<typename T > |
bool | isType (void) |
|
| DECLARE_CONOBJECT (SimObject) |
|
Notify * | removeNotify (void *ptr, Notify::Type) |
| Remove a notification from the list. More...
|
|
void | deleteNotify (SimObject *obj) |
| Notify an object when we are deleted. More...
|
|
void | clearNotify (SimObject *obj) |
| Notify an object when we are cleared. More...
|
|
void | clearAllNotifications () |
| Remove all notifications for this object. More...
|
|
void | processDeleteNotifies () |
| Send out deletion notifications. More...
|
|
void | registerReference (SimObject **obj) |
|
void | unregisterReference (SimObject **obj) |
|
const char * | getDataField (StringTableEntry slotName, const char *array) |
|
void | setDataField (StringTableEntry slotName, const char *array, const char *value) |
|
const char * | getPrefixedDataField (StringTableEntry fieldName, const char *array) |
|
void | setPrefixedDataField (StringTableEntry fieldName, const char *array, const char *value) |
|
const char * | getPrefixedDynamicDataField (StringTableEntry fieldName, const char *array, const S32 fieldType=-1) |
|
void | setPrefixedDynamicDataField (StringTableEntry fieldName, const char *array, const char *value, const S32 fieldType=-1) |
|
StringTableEntry | getDataFieldPrefix (StringTableEntry fieldName) |
|
U32 | getDataFieldType (StringTableEntry slotName, const char *array) |
|
SimFieldDictionary * | getFieldDictionary () |
|
void | clearDynamicFields (void) |
| Clear all dynamic fields. More...
|
|
void | setCanSaveDynamicFields (bool bCanSave) |
| Set whether fields created at runtime should be saved. Default is true. More...
|
|
bool | getCanSaveDynamicFields (void) const |
| Get whether fields created at runtime should be saved. Default is true. More...
|
|
void | setInternalName (const char *newname) |
|
StringTableEntry | getInternalName () |
| Get the internal of of this control. More...
|
|
virtual bool | save (const char *pcFilePath, bool bOnlySelected=false) |
| Save object as a TorqueScript File. More...
|
|
virtual bool | isMethod (const char *methodName) |
| Check if a method exists in the objects current namespace. More...
|
|
SimObjectId | getId (void) const |
|
StringTableEntry | getIdString (void) const |
|
U32 | getType () const |
|
const StringTableEntry | getName (void) const |
|
void | setId (SimObjectId id) |
|
void | assignName (const char *name) |
|
SimGroup * | getGroup () const |
|
bool | isChildOfGroup (SimGroup *pGroup) |
|
bool | isProperlyAdded () const |
|
bool | isDeleted () const |
|
bool | isRemoved () const |
|
bool | isLocked () |
|
void | setLocked (bool b) |
|
bool | isHidden () |
|
void | setHidden (bool b) |
|
void | setProgenitorFile (const char *pFile) |
|
StringTableEntry | getProgenitorFile (void) const |
|
void | setPeriodicTimerID (const S32 timerID) |
|
S32 | getPeriodicTimerID (void) const |
|
bool | isPeriodicTimerActive (void) const |
|
bool | isSelected () const |
|
bool | isExpanded () const |
|
void | setSelected (bool sel) |
|
void | setExpanded (bool exp) |
|
void | setModDynamicFields (bool dyn) |
|
void | setModStaticFields (bool sta) |
|
| SimObject (const U8 namespaceLinkMask=LinkSuperClassName|LinkClassName) |
|
virtual | ~SimObject () |
|
virtual void | onGroupAdd () |
| Called when the object is added to a SimGroup. More...
|
|
virtual void | onGroupRemove () |
| Called when the object is removed from a SimGroup. More...
|
|
virtual void | onNameChange (const char *name) |
| Called when the object's name is changed. More...
|
|
virtual void | onStaticModified (const char *slotName, const char *newValue=NULL) |
|
virtual void | inspectPreApply () |
|
virtual void | inspectPostApply () |
|
virtual void | onEditorEnable () |
| Called when the editor is activated. More...
|
|
virtual void | onEditorDisable () |
| Called when the editor is deactivated. More...
|
|
bool | registerObject () |
|
bool | registerObject (U32 id) |
|
bool | registerObject (const char *name) |
|
bool | registerObject (const char *name, U32 id) |
|
void | unregisterObject () |
|
void | deleteObject () |
|
bool | addToSet (SimObjectId) |
|
bool | addToSet (const char *) |
|
bool | removeFromSet (SimObjectId) |
|
bool | removeFromSet (const char *) |
|
virtual void | writeFields (Stream &stream, U32 tabStop) |
|
virtual bool | writeObject (Stream *stream) |
|
virtual bool | readObject (Stream *stream) |
|
virtual void | buildFilterList () |
|
void | addFieldFilter (const char *fieldName) |
|
void | removeFieldFilter (const char *fieldName) |
|
void | clearFieldFilters () |
|
bool | isFiltered (const char *fieldName) |
|
void | assignFieldsFrom (SimObject *obj) |
|
void | assignDynamicFieldsFrom (SimObject *obj) |
|
const AbstractClassRep::Field * | findField (StringTableEntry fieldName) const |
| Get a reference to a field by name. More...
|
|
virtual AbstractClassRep * | getClassRep () const |
| Gets the ClassRep. More...
|
|
bool | setField (const char *fieldName, const char *value) |
| Set the value of a field. More...
|
|
virtual | ~ConsoleObject () |
|
const AbstractClassRep::FieldList & | getFieldList () const |
| Get a list of all the fields. This information cannot be modified. More...
|
|
AbstractClassRep::FieldList & | getModifiableFieldList () |
|
bool & | getDynamicGroupExpand () |
|
S32 | getClassId (U32 netClassGroup) const |
|
const char * | getClassName () const |
|
| PhysicsProxy () |
|
virtual | ~PhysicsProxy () |
|
| Tickable () |
|
virtual | ~Tickable () |
|
virtual bool | isProcessingTicks () const |
|
virtual void | setProcessTicks (bool tick=true) |
|