|
|
Inherits BehaviorComponent, and BehaviorComponent.
Inherited by CompositeSprite, CompositeSprite, ImageFont, ImageFont, ParticlePlayer, ParticlePlayer, ShapeVector, ShapeVector, SpriteBase, SpriteBase, Trigger, Trigger, WaveComposite, and WaveComposite.
Methods | |
| void | addToScene (Scene scene) |
| void | addToScene (Scene scene) |
| void | applyAngularImpulse (impulse) |
| void | applyAngularImpulse (impulse) |
| void | applyForce (worldForce X/Y,[worldPoint X/Y]) |
| void | applyForce (worldForce X/Y,[worldPoint X/Y]) |
| void | applyLinearImpulse (worldImpulse X/Y,[worldPoint X/Y]) |
| void | applyLinearImpulse (worldImpulse X/Y,[worldPoint X/Y]) |
| void | applyTorque (torque) |
| void | applyTorque (torque) |
| void | attachGui (guiControl guiObject, SceneWindow window,[sizeControl?=false]) |
| void | attachGui (guiControl guiObject, SceneWindow window,[sizeControl?=false]) |
| void | cancelMoveTo ([autoStop=true]) |
| void | cancelMoveTo ([autoStop=true]) |
| void | cancelRotateTo ([autoStop=true]) |
| void | cancelRotateTo ([autoStop=true]) |
| void | clearCollisionShapes () |
| void | clearCollisionShapes () |
| void | copyAllCollisionShapes (targetObject[, clearTargetShapes?]) |
| void | copyAllCollisionShapes (targetObject[, clearTargetShapes?]) |
| int | copyCollisionShape (int shapeIndex, targetObject) |
| int | copyCollisionShape (int shapeIndex, targetObject) |
| bool | copyFrom (SceneObject object,[copyDynamicFields?=false]) |
| bool | copyFrom (SceneObject object,[copyDynamicFields?=false]) |
| int | createChainCollisionShape (localPointsX/Y,[adjacentLocalPositionStartX, adjacentLocalPositionStartY],[adjacentLocalPositionEndX, adjacentLocalPositionEndY]) |
| int | createChainCollisionShape (localPointsX/Y,[adjacentLocalPositionStartX, adjacentLocalPositionStartY],[adjacentLocalPositionEndX, adjacentLocalPositionEndY]) |
| int | createCircleCollisionShape (radius,[localPositionX, localPositionY]) |
| int | createCircleCollisionShape (radius,[localPositionX, localPositionY]) |
| int | createEdgeCollisionShape (localPositionStartX, localPositionStartY, localPositionEndX, localPositionEndY,[adjacentLocalPositionStartX, adjacentLocalPositionStartY],[adjacentLocalPositionEndX, adjacentLocalPositionEndY]) |
| int | createEdgeCollisionShape (localPositionStartX, localPositionStartY, localPositionEndX, localPositionEndY,[adjacentLocalPositionStartX, adjacentLocalPositionStartY],[adjacentLocalPositionEndX, adjacentLocalPositionEndY]) |
| int | createPolygonBoxCollisionShape (width, height,[localCentroidX, localCentroidY],[angle]) |
| int | createPolygonBoxCollisionShape (width, height,[localCentroidX, localCentroidY],[angle]) |
| int | createPolygonCollisionShape (localPointsX/Y) |
| int | createPolygonCollisionShape (localPointsX/Y) |
| bool | deleteCollisionShape (int shapeIndex) |
| bool | deleteCollisionShape (int shapeIndex) |
| void | detachGui () |
| void | detachGui () |
| string | getAABB () |
| string | getAABB () |
| bool | getActive () |
| bool | getActive () |
| float | getAlphaTest () |
| float | getAlphaTest () |
| float | getAngle () |
| float | getAngle () |
| float | getAngularDamping () |
| float | getAngularDamping () |
| float | getAngularVelocity () |
| float | getAngularVelocity () |
| string | getArea () |
| string | getArea () |
| string | getAreaMax (float x2/float y2) |
| string | getAreaMax (float x2/float y2) |
| string | getAreaMin () |
| string | getAreaMin () |
| bool | getAutoSizing () |
| bool | getAutoSizing () |
| bool | getAwake () |
| bool | getAwake () |
| float | getBlendAlpha () |
| float | getBlendAlpha () |
| string | getBlendColor (allowColorNames) |
| string | getBlendColor (allowColorNames) |
| bool | getBlendMode () |
| bool | getBlendMode () |
| string | getBodyType () |
| string | getBodyType () |
| bool | getBullet () |
| bool | getBullet () |
| string | getChainCollisionShapeAdjacentEnd (int shapeIndex) |
| string | getChainCollisionShapeAdjacentEnd (int shapeIndex) |
| string | getChainCollisionShapeAdjacentStart (int shapeIndex) |
| string | getChainCollisionShapeAdjacentStart (int shapeIndex) |
| bool | getChainCollisionShapeHasAdjacentEnd (int shapeIndex) |
| bool | getChainCollisionShapeHasAdjacentEnd (int shapeIndex) |
| bool | getChainCollisionShapeHasAdjacentStart (int shapeIndex) |
| bool | getChainCollisionShapeHasAdjacentStart (int shapeIndex) |
| string | getChainCollisionShapeLocalPoint (int shapeIndex, int pointIndex) |
| string | getChainCollisionShapeLocalPoint (int shapeIndex, int pointIndex) |
| int | getChainCollisionShapePointCount (int shapeIndex) |
| int | getChainCollisionShapePointCount (int shapeIndex) |
| string | getCircleCollisionShapeLocalPosition (int shapeIndex) |
| string | getCircleCollisionShapeLocalPosition (int shapeIndex) |
| float | getCircleCollisionShapeRadius (int shapeIndex) |
| float | getCircleCollisionShapeRadius (int shapeIndex) |
| bool | getCollisionCallback () |
| bool | getCollisionCallback () |
| string | getCollisionGroups () |
| string | getCollisionGroups () |
| string | getCollisionLayers () |
| string | getCollisionLayers () |
| string | getCollisionMasks (groupMask/layerMask) |
| string | getCollisionMasks (groupMask/layerMask) |
| float | getCollisionShapeArea (int shapeIndex) |
| float | getCollisionShapeArea (int shapeIndex) |
| int | getCollisionShapeCount () |
| int | getCollisionShapeCount () |
| float | getCollisionShapeDensity (int shapeIndex) |
| float | getCollisionShapeDensity (int shapeIndex) |
| float | getCollisionShapeFriction (int shapeIndex) |
| float | getCollisionShapeFriction (int shapeIndex) |
| bool | getCollisionShapeIsSensor (int shapeIndex) |
| bool | getCollisionShapeIsSensor (int shapeIndex) |
| float | getCollisionShapeRestitution (int shapeIndex) |
| float | getCollisionShapeRestitution (int shapeIndex) |
| string | getCollisionShapeType (int shapeIndex) |
| string | getCollisionShapeType (int shapeIndex) |
| bool | getCollisionSuppress () |
| bool | getCollisionSuppress () |
| string | getContact (contactIndex) |
| string | getContact (contactIndex) |
| int | getContactCount () |
| int | getContactCount () |
| float | getDefaultDensity () |
| float | getDefaultDensity () |
| float | getDefaultFriction () |
| float | getDefaultFriction () |
| float | getDefaultRestitution () |
| float | getDefaultRestitution () |
| string | getDstBlendFactor () |
| string | getDstBlendFactor () |
| string | getEdgeCollisionShapeAdjacentEnd (int shapeIndex) |
| string | getEdgeCollisionShapeAdjacentEnd (int shapeIndex) |
| string | getEdgeCollisionShapeAdjacentStart (int shapeIndex) |
| string | getEdgeCollisionShapeAdjacentStart (int shapeIndex) |
| bool | getEdgeCollisionShapeHasAdjacentEnd (int shapeIndex) |
| bool | getEdgeCollisionShapeHasAdjacentEnd (int shapeIndex) |
| bool | getEdgeCollisionShapeHasAdjacentStart (int shapeIndex) |
| bool | getEdgeCollisionShapeHasAdjacentStart (int shapeIndex) |
| string | getEdgeCollisionShapeLocalPositionEnd (int shapeIndex) |
| string | getEdgeCollisionShapeLocalPositionEnd (int shapeIndex) |
| string | getEdgeCollisionShapeLocalPositionStart (int shapeIndex) |
| string | getEdgeCollisionShapeLocalPositionStart (int shapeIndex) |
| bool | getFixedAngle () |
| bool | getFixedAngle () |
| bool | getGatherContacts () |
| bool | getGatherContacts () |
| float | getGravityScale () |
| float | getGravityScale () |
| float | getHeight () |
| float | getHeight () |
| float | getInertia () |
| float | getInertia () |
| bool | getIsPointInCollisionShape (int shapeIndex, worldPointX/Y) |
| bool | getIsPointInCollisionShape (int shapeIndex, worldPointX/Y) |
| bool | getIsPointInOOBB (worldPointX/Y) |
| bool | getIsPointInOOBB (worldPointX/Y) |
| float | getLifetime () |
| float | getLifetime () |
| float | getLinearDamping () |
| float | getLinearDamping () |
| string | getLinearVelocity () |
| string | getLinearVelocity () |
| string | getLinearVelocityFromLocalPoint (localPointX/Y) |
| string | getLinearVelocityFromLocalPoint (localPointX/Y) |
| string | getLinearVelocityFromWorldPoint (worldPointX/Y) |
| string | getLinearVelocityFromWorldPoint (worldPointX/Y) |
| string | getLinearVelocityPolar () |
| string | getLinearVelocityPolar () |
| float | getLinearVelocityX () |
| float | getLinearVelocityX () |
| float | getLinearVelocityY () |
| float | getLinearVelocityY () |
| string | getLocalCenter () |
| string | getLocalCenter () |
| string | getLocalPoint (float worldPointX/Y) |
| string | getLocalPoint (float worldPointX/Y) |
| string | getLocalVector (float worldVectorX/Y) |
| string | getLocalVector (float worldVectorX/Y) |
| float | getMass () |
| float | getMass () |
| bool | getPickingAllowed () |
| bool | getPickingAllowed () |
| string | getPolygonCollisionShapeLocalPoint (int shapeIndex, int pointIndex) |
| string | getPolygonCollisionShapeLocalPoint (int shapeIndex, int pointIndex) |
| int | getPolygonCollisionShapePointCount (int shapeIndex) |
| int | getPolygonCollisionShapePointCount (int shapeIndex) |
| string | getPosition () |
| string | getPosition () |
| float | getRenderAngle () |
| float | getRenderAngle () |
| string | getRenderGroup () |
| string | getRenderGroup () |
| string | getRenderPosition () |
| string | getRenderPosition () |
| int | getScene () |
| int | getScene () |
| int | getSceneGroup () |
| int | getSceneGroup () |
| int | getSceneLayer () |
| int | getSceneLayer () |
| float | getSceneLayerDepth () |
| float | getSceneLayerDepth () |
| string | getSize () |
| string | getSize () |
| float | getSizeX () |
| float | getSizeX () |
| float | getSizeY () |
| float | getSizeY () |
| bool | getSleepingAllowed () |
| bool | getSleepingAllowed () |
| bool | getSleepingCallback () |
| bool | getSleepingCallback () |
| string | getSortPoint () |
| string | getSortPoint () |
| float | getSortPointX () |
| float | getSortPointX () |
| float | getSortPointY () |
| float | getSortPointY () |
| string | getSrcBlendFactor () |
| string | getSrcBlendFactor () |
| bool | getUpdateCallback () |
| bool | getUpdateCallback () |
| bool | getUseInputEvents () |
| bool | getUseInputEvents () |
| bool | getVisible () |
| bool | getVisible () |
| float | getWidth () |
| float | getWidth () |
| string | getWorldCenter () |
| string | getWorldCenter () |
| string | getWorldPoint (float localPointX/Y) |
| string | getWorldPoint (float localPointX/Y) |
| string | getWorldVector (float localVectorX/Y) |
| string | getWorldVector (float localVectorX/Y) |
| bool | isMoveToComplete () |
| bool | isMoveToComplete () |
| bool | isRotateToComplete () |
| bool | isRotateToComplete () |
| bool | moveTo (worldPoint X/Y, speed,[autoStop=true],[warpToTarget=true]) |
| bool | moveTo (worldPoint X/Y, speed,[autoStop=true],[warpToTarget=true]) |
| void | removeFromScene () |
| void | removeFromScene () |
| bool | rotateTo (angle, speed,[autoStop=true],[warpToTarget=true]) |
| bool | rotateTo (angle, speed,[autoStop=true],[warpToTarget=true]) |
| void | safeDelete () |
| void | safeDelete () |
| void | setActive ([bool status?]) |
| void | setActive ([bool status?]) |
| void | setAlphaTest (float alpha) |
| void | setAlphaTest (float alpha) |
| void | setAngle (float angle) |
| void | setAngle (float angle) |
| void | setAngularDamping (float damping) |
| void | setAngularDamping (float damping) |
| void | setAngularVelocity (float velocity) |
| void | setAngularVelocity (float velocity) |
| void | setArea (float x1, float y1, float x2, float y2) |
| void | setArea (float x1, float y1, float x2, float y2) |
| void | setAwake ([bool status?]) |
| void | setAwake ([bool status?]) |
| void | setBlendAlpha (float alpha) |
| void | setBlendAlpha (float alpha) |
| void | setBlendColor (float red, float green, float blue,[float alpha=1.0]) |
| void | setBlendColor (float red, float green, float blue,[float alpha=1.0]) |
| void | setBlendMode (bool blendMode) |
| void | setBlendMode (bool blendMode) |
| void | setBodyType (bodyType type) |
| void | setBodyType (bodyType type) |
| void | setBullet ([bool status?]) |
| void | setBullet ([bool status?]) |
| void | setCollisionAgainst (SceneObject object,[clearMasks?=false]) |
| void | setCollisionAgainst (SceneObject object,[clearMasks?=false]) |
| void | setCollisionCallback ([bool status?]) |
| void | setCollisionCallback ([bool status?]) |
| void | setCollisionGroups (groups) |
| void | setCollisionGroups (groups) |
| void | setCollisionLayers (layers) |
| void | setCollisionLayers (layers) |
| void | setCollisionMasks (groupMask,[layerMask]) |
| void | setCollisionMasks (groupMask,[layerMask]) |
| void | setCollisionShapeDensity (int shapeIndex, float density) |
| void | setCollisionShapeDensity (int shapeIndex, float density) |
| void | setCollisionShapeFriction (int shapeIndex, float friction) |
| void | setCollisionShapeFriction (int shapeIndex, float friction) |
| void | setCollisionShapeIsSensor (int shapeIndex, bool status) |
| void | setCollisionShapeIsSensor (int shapeIndex, bool status) |
| void | setCollisionShapeRestitution (int shapeIndex, float restitution) |
| void | setCollisionShapeRestitution (int shapeIndex, float restitution) |
| void | setCollisionSuppress ([bool status?]) |
| void | setCollisionSuppress ([bool status?]) |
| void | setDebugOff (debugOptions) |
| void | setDebugOff (debugOptions) |
| void | setDebugOn (debugOptions) |
| void | setDebugOn (debugOptions) |
| void | setDefaultDensity (float density,[bool updateShapes]) |
| void | setDefaultDensity (float density,[bool updateShapes]) |
| void | setDefaultFriction (float friction,[bool updateShapes]) |
| void | setDefaultFriction (float friction,[bool updateShapes]) |
| void | setDefaultRestitution (float restitution,[bool updateShapes]) |
| void | setDefaultRestitution (float restitution,[bool updateShapes]) |
| void | setDstBlendFactor (dstBlend) |
| void | setDstBlendFactor (dstBlend) |
| void | setEnabled (bool status) |
| void | setEnabled (bool status) |
| void | setFixedAngle (bool status?) |
| void | setFixedAngle (bool status?) |
| void | setGatherContacts (bool gatherContacts) |
| void | setGatherContacts (bool gatherContacts) |
| void | setGravityScale (float scale) |
| void | setGravityScale (float scale) |
| void | setHeight (float height) |
| void | setHeight (float height) |
| void | setLifetime (float lifetime) |
| void | setLifetime (float lifetime) |
| void | setLinearDamping (float damping) |
| void | setLinearDamping (float damping) |
| void | setLinearVelocity (float velocityX, float velocityY) |
| void | setLinearVelocity (float velocityX, float velocityY) |
| void | setLinearVelocityPolar (float angle, float speed) |
| void | setLinearVelocityPolar (float angle, float speed) |
| void | setLinearVelocityX (float velocityX) |
| void | setLinearVelocityX (float velocityX) |
| void | setLinearVelocityY (float velocityY) |
| void | setLinearVelocityY (float velocityY) |
| void | setPickingAllowed (bool pickingAllowed) |
| void | setPickingAllowed (bool pickingAllowed) |
| void | setPosition (float x, float y) |
| void | setPosition (float x, float y) |
| void | setPositionX (float x) |
| void | setPositionX (float x) |
| void | setPositionY (float y) |
| void | setPositionY (float y) |
| void | setRenderGroup (renderGroup) |
| void | setRenderGroup (renderGroup) |
| void | setSceneGroup (integer group) |
| void | setSceneGroup (integer group) |
| void | setSceneLayer (integer layer) |
| void | setSceneLayer (integer layer) |
| void | setSceneLayerDepth (float layerDepth) |
| void | setSceneLayerDepth (float layerDepth) |
| bool | setSceneLayerDepthBack () |
| bool | setSceneLayerDepthBack () |
| bool | setSceneLayerDepthBackward () |
| bool | setSceneLayerDepthBackward () |
| bool | setSceneLayerDepthForward () |
| bool | setSceneLayerDepthForward () |
| bool | setSceneLayerDepthFront () |
| bool | setSceneLayerDepthFront () |
| void | setSize (float width, float height) |
| void | setSize (float width, float height) |
| void | setSizeX (float width) |
| void | setSizeX (float width) |
| void | setSizeY (float height) |
| void | setSizeY (float height) |
| void | setSleepingAllowed ([bool status?]) |
| void | setSleepingAllowed ([bool status?]) |
| void | setSleepingCallback ([bool status?]) |
| void | setSleepingCallback ([bool status?]) |
| void | setSortPoint (float x, float y) |
| void | setSortPoint (float x, float y) |
| void | setSortPointX (float x) |
| void | setSortPointX (float x) |
| void | setSortPointY (float y) |
| void | setSortPointY (float y) |
| void | setSrcBlendFactor (srcBlend) |
| void | setSrcBlendFactor (srcBlend) |
| void | setUpdateCallback ([bool status?]) |
| void | setUpdateCallback ([bool status?]) |
| void | setUseInputEvents (bool inputStatus) |
| void | setUseInputEvents (bool inputStatus) |
| void | setVisible (bool status) |
| void | setVisible (bool status) |
| void | setWidth (float width) |
| void | setWidth (float width) |
Methods inherited from BehaviorComponent | |
| bool | addBehavior (BehaviorInstance bi) |
| bool | addBehavior (BehaviorInstance bi) |
| void | clearBehaviors () |
| void | clearBehaviors () |
| bool | connect (outputBehavior, inputBehavior, outputName, inputName) |
| bool | connect (outputBehavior, inputBehavior, outputName, inputName) |
| bool | disconnect (outputBehavior, inputBehavior, outputName, inputName) |
| bool | disconnect (outputBehavior, inputBehavior, outputName, inputName) |
| int | getBehavior (string BehaviorTemplateName) |
| int | getBehavior (string BehaviorTemplateName) |
| int | getBehaviorByIndex (int index) |
| int | getBehaviorByIndex (int index) |
| string | getBehaviorConnection (outputBehavior, outputName, connectionIndex) |
| string | getBehaviorConnection (outputBehavior, outputName, connectionIndex) |
| int | getBehaviorConnectionCount (outputBehavior, outputName) |
| int | getBehaviorConnectionCount (outputBehavior, outputName) |
| int | getBehaviorCount () |
| int | getBehaviorCount () |
| bool | raise (outputBehavior, outputName,[deltaTime]) |
| bool | raise (outputBehavior, outputName,[deltaTime]) |
| bool | removeBehavior (BehaviorInstance bi,[bool deleteBehavior=true]) |
| bool | removeBehavior (BehaviorInstance bi,[bool deleteBehavior=true]) |
| bool | reOrder (BehaviorInstance inst,[int desiredIndex=0]) |
| bool | reOrder (BehaviorInstance inst,[int desiredIndex=0]) |
Methods inherited from DynamicConsoleMethodComponent | |
| string | callOnBehaviors (methodName, argi) |
| string | callOnBehaviors (methodName, argi) |
Methods inherited from SimComponent | |
| bool | addComponents (%compObjName,%compObjName2,...) |
| bool | addComponents (%compObjName,%compObjName2,...) |
| int | getComponent (idx) |
| int | getComponent (idx) |
| int | getComponentCount () |
| int | getComponentCount () |
| bool | isEnabled () |
| bool | isEnabled () |
| bool | removeComponents (%compObjName,%compObjName2,...) |
| bool | removeComponents (%compObjName,%compObjName2,...) |
| void | setEnabled (enabled) |
| void | setEnabled (enabled) |
Methods inherited from SimObject | |
| void | addFieldFilter (fieldName) |
| void | addFieldFilter (fieldName) |
| string | call (%args) |
| string | call (%args) |
| int | clone ([bool copyDynamicFields?=false]) |
| int | clone ([bool copyDynamicFields?=false]) |
| void | delete () |
| void | delete () |
| void | dump () |
| void | dump () |
| void | dumpClassHierarchy () |
| void | dumpClassHierarchy () |
| string | getClassName () |
| string | getClassName () |
| string | getClassNamespace () |
| string | getClassNamespace () |
| string | getDynamicField (index) |
| string | getDynamicField (index) |
| int | getDynamicFieldCount () |
| int | getDynamicFieldCount () |
| string | getField (int index) |
| string | getField (int index) |
| int | getFieldCount () |
| int | getFieldCount () |
| string | getFieldType (fieldName) |
| string | getFieldType (fieldName) |
| string | getFieldValue (fieldName) |
| string | getFieldValue (fieldName) |
| int | getGroup () |
| int | getGroup () |
| int | getId () |
| int | getId () |
| string | getInternalName () |
| string | getInternalName () |
| string | getName () |
| string | getName () |
| string | getProgenitorFile () |
| string | getProgenitorFile () |
| string | getSuperClassNamespace () |
| string | getSuperClassNamespace () |
| int | getType () |
| int | getType () |
| bool | isChildOfGroup () |
| bool | isChildOfGroup () |
| bool | isMemberOfClass (string classname) |
| bool | isMemberOfClass (string classname) |
| bool | isMethod (string method name) |
| bool | isMethod (string method name) |
| bool | isTimerActive () |
| bool | isTimerActive () |
| void | removeFieldFilter (fieldName) |
| void | removeFieldFilter (fieldName) |
| bool | save (fileName,[selectedOnly]) |
| bool | save (fileName,[selectedOnly]) |
| int | schedule (time, command,< arg1...argN >) |
| int | schedule (time, command,< arg1...argN >) |
| void | setClassNamespace () |
| void | setClassNamespace () |
| bool | setFieldValue (fieldName, value) |
| bool | setFieldValue (fieldName, value) |
| void | setInternalName () |
| void | setInternalName () |
| void | setName (newName) |
| void | setName (newName) |
| void | setProgenitorFile (file) |
| void | setProgenitorFile (file) |
| void | setSuperClassNamespace () |
| void | setSuperClassNamespace () |
| bool | startTimer (callbackFunction, float timePeriod,[repeat]) |
| bool | startTimer (callbackFunction, float timePeriod,[repeat]) |
| void | stopTimer () |
| void | stopTimer () |
| void SceneObject::addToScene | ( | Scene | scene | ) |
Add the object to a scene.
| scene | the scene you wish to add this object to. |
| void SceneObject::addToScene | ( | Scene | scene | ) |
Add the object to a scene.
| scene | the scene you wish to add this object to. |
| void SceneObject::applyAngularImpulse | ( | impulse | ) |
| impulse | - The impulse in Kg*m*m/s. |
| void SceneObject::applyAngularImpulse | ( | impulse | ) |
| impulse | - The impulse in Kg*m*m/s. |
| void SceneObject::applyForce | ( | worldForce X/ | Y | ) |
| worldForceX/Y | - The world force vector in Newtons (N). |
| worldPointX/Y | - The world point where the force is applied. If world point is not specified, the center of mass is used. |
| void SceneObject::applyForce | ( | worldForce X/ | Y | ) |
| worldForceX/Y | - The world force vector in Newtons (N). |
| worldPointX/Y | - The world point where the force is applied. If world point is not specified, the center of mass is used. |
| void SceneObject::applyLinearImpulse | ( | worldImpulse X/ | Y | ) |
| worldImpulse/Y | - The world impulse vector in Newtons (N-seconds) or Kg-m/s. |
| worldPointX/Y | - The world point where the force is applied. If world point is not specified, the center of mass is used. |
| void SceneObject::applyLinearImpulse | ( | worldImpulse X/ | Y | ) |
| worldImpulse/Y | - The world impulse vector in Newtons (N-seconds) or Kg-m/s. |
| worldPointX/Y | - The world point where the force is applied. If world point is not specified, the center of mass is used. |
| void SceneObject::applyTorque | ( | torque | ) |
| torque | - The torque in Newton-metres (N-m). |
| void SceneObject::applyTorque | ( | torque | ) |
| torque | - The torque in Newton-metres (N-m). |
| void SceneObject::attachGui | ( | guiControl | guiObject, |
| SceneWindow | window | ||
| ) |
| guiObject | The GuiControl to attach. |
| window | The SceneWindow to bind the GuiControl to. |
| sizeControl | Whether or not to size the GuiControl to the size of this object. |
| void SceneObject::attachGui | ( | guiControl | guiObject, |
| SceneWindow | window | ||
| ) |
| guiObject | The GuiControl to attach. |
| window | The SceneWindow to bind the GuiControl to. |
| sizeControl | Whether or not to size the GuiControl to the size of this object. |
| void SceneObject::cancelMoveTo | ( | ) |
| autoStop? | - Whether to automatically set the linear velocity to zero or not |
| void SceneObject::cancelMoveTo | ( | ) |
| autoStop? | - Whether to automatically set the linear velocity to zero or not |
| void SceneObject::cancelRotateTo | ( | ) |
| autoStop? | - Whether to automatically set the angular velocity to zero or not |
| void SceneObject::cancelRotateTo | ( | ) |
| autoStop? | - Whether to automatically set the angular velocity to zero or not |
| void SceneObject::clearCollisionShapes | ( | ) |
| void SceneObject::clearCollisionShapes | ( | ) |
| void SceneObject::copyAllCollisionShapes | ( | targetObject | [, clearTargetShapes?] | ) |
| targetObject | - The target object to receive the collision shapes. |
| clearTargetShapes | - Whether to clear the current collision shapes on the target or not. Optional: Defaults to true. |
| void SceneObject::copyAllCollisionShapes | ( | targetObject | [, clearTargetShapes?] | ) |
| targetObject | - The target object to receive the collision shapes. |
| clearTargetShapes | - Whether to clear the current collision shapes on the target or not. Optional: Defaults to true. |
| int SceneObject::copyCollisionShape | ( | int | shapeIndex, |
| targetObject | |||
| ) |
| shapeIndex | - The index of the collision shape. |
| targetObject | - The target object to receive the collision shape copy. |
| int SceneObject::copyCollisionShape | ( | int | shapeIndex, |
| targetObject | |||
| ) |
| shapeIndex | - The index of the collision shape. |
| targetObject | - The target object to receive the collision shape copy. |
| bool SceneObject::copyFrom | ( | SceneObject | object | ) |
| object | The SceneObject to copy this object to. |
| copyDynamicFields | Whether the dynamic fields should be copied or not. Optional: Defaults to false. |
| bool SceneObject::copyFrom | ( | SceneObject | object | ) |
| object | The SceneObject to copy this object to. |
| copyDynamicFields | Whether the dynamic fields should be copied or not. Optional: Defaults to false. |
| int SceneObject::createChainCollisionShape | ( | localPointsX/ | Y | ) |
Creates a chain collision shape.
| localPointsX/Y | A space separated list of local points for the chain collision shape (must be at least two points). |
| adjacentLocalPositionStartXY | The adjacent local position of the start of the edge. |
| adjacentLocalPositionEndXY | The adjacent local position of the end of the edge. |
| int SceneObject::createChainCollisionShape | ( | localPointsX/ | Y | ) |
Creates a chain collision shape.
| localPointsX/Y | A space separated list of local points for the chain collision shape (must be at least two points). |
| adjacentLocalPositionStartXY | The adjacent local position of the start of the edge. |
| adjacentLocalPositionEndXY | The adjacent local position of the end of the edge. |
| int SceneObject::createCircleCollisionShape | ( | radius | ) |
Creates a circle collision shape.
| radius | The radius of the circle. |
| int SceneObject::createCircleCollisionShape | ( | radius | ) |
Creates a circle collision shape.
| radius | The radius of the circle. |
| int SceneObject::createEdgeCollisionShape | ( | localPositionStartX | , |
| localPositionStartY | , | ||
| localPositionEndX | , | ||
| localPositionEndY | |||
| ) |
| localPositionStartXY | The local position of the start of the edge. |
| localPositionEndXY | The local position of the end of the edge. |
| adjacentLocalPositionStartXY | The adjacent local position of the start of the edge. |
| adjacentLocalPositionEndXY | The adjacent local position of the end of the edge. |
| int SceneObject::createEdgeCollisionShape | ( | localPositionStartX | , |
| localPositionStartY | , | ||
| localPositionEndX | , | ||
| localPositionEndY | |||
| ) |
| localPositionStartXY | The local position of the start of the edge. |
| localPositionEndXY | The local position of the end of the edge. |
| adjacentLocalPositionStartXY | The adjacent local position of the start of the edge. |
| adjacentLocalPositionEndXY | The adjacent local position of the end of the edge. |
| int SceneObject::createPolygonBoxCollisionShape | ( | width | , |
| height | |||
| ) |
Creates a polygon box collision shape.
| width | The width of the box. |
| height | The height of the box. |
| localCentroidX/Y | The local position of the box centroid. |
| angle | The angle of the box. |
| int SceneObject::createPolygonBoxCollisionShape | ( | width | , |
| height | |||
| ) |
Creates a polygon box collision shape.
| width | The width of the box. |
| height | The height of the box. |
| localCentroidX/Y | The local position of the box centroid. |
| angle | The angle of the box. |
| int SceneObject::createPolygonCollisionShape | ( | localPointsX/ | Y | ) |
Creates a convex polygon collision shape.
| localPointsX/Y | A space separated list of local points for the convex polygon collision shape (must be at least three points). |
| int SceneObject::createPolygonCollisionShape | ( | localPointsX/ | Y | ) |
Creates a convex polygon collision shape.
| localPointsX/Y | A space separated list of local points for the convex polygon collision shape (must be at least three points). |
| bool SceneObject::deleteCollisionShape | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::deleteCollisionShape | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| void SceneObject::detachGui | ( | ) |
| void SceneObject::detachGui | ( | ) |
| string SceneObject::getAABB | ( | ) |
Gets the axis-aligned bounding-box of the object.
| string SceneObject::getAABB | ( | ) |
Gets the axis-aligned bounding-box of the object.
| bool SceneObject::getActive | ( | ) |
Gets the body active status.
| bool SceneObject::getActive | ( | ) |
Gets the body active status.
| float SceneObject::getAlphaTest | ( | ) |
| float SceneObject::getAlphaTest | ( | ) |
| float SceneObject::getAngle | ( | ) |
Gets the object's angle.
| float SceneObject::getAngle | ( | ) |
Gets the object's angle.
| float SceneObject::getAngularDamping | ( | ) |
| float SceneObject::getAngularDamping | ( | ) |
| float SceneObject::getAngularVelocity | ( | ) |
| float SceneObject::getAngularVelocity | ( | ) |
| string SceneObject::getArea | ( | ) |
Gets the object's area.
| string SceneObject::getArea | ( | ) |
Gets the object's area.
| string SceneObject::getAreaMax | ( | float x2/float | y2 | ) |
The upper right corner x and y position of the object.
| string SceneObject::getAreaMax | ( | float x2/float | y2 | ) |
The upper right corner x and y position of the object.
| string SceneObject::getAreaMin | ( | ) |
Gets the upper left point of the object.
| string SceneObject::getAreaMin | ( | ) |
Gets the upper left point of the object.
| bool SceneObject::getAutoSizing | ( | ) |
| bool SceneObject::getAutoSizing | ( | ) |
| bool SceneObject::getAwake | ( | ) |
Gets whether the body is awake or not.
| bool SceneObject::getAwake | ( | ) |
Gets whether the body is awake or not.
| float SceneObject::getBlendAlpha | ( | ) |
| float SceneObject::getBlendAlpha | ( | ) |
| string SceneObject::getBlendColor | ( | allowColorNames | ) |
Gets the Rendering Blend color.
| allowColorNames | Whether to allow stock color names to be returned or not. Optional: Defaults to false. |
| string SceneObject::getBlendColor | ( | allowColorNames | ) |
Gets the Rendering Blend color.
| allowColorNames | Whether to allow stock color names to be returned or not. Optional: Defaults to false. |
| bool SceneObject::getBlendMode | ( | ) |
| bool SceneObject::getBlendMode | ( | ) |
| string SceneObject::getBodyType | ( | ) |
Gets the body type.
| string SceneObject::getBodyType | ( | ) |
Gets the body type.
| bool SceneObject::getBullet | ( | ) |
Gets whether the body is a bullet or not.
| bool SceneObject::getBullet | ( | ) |
Gets whether the body is a bullet or not.
| string SceneObject::getChainCollisionShapeAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getChainCollisionShapeAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getChainCollisionShapeAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getChainCollisionShapeAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getChainCollisionShapeHasAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getChainCollisionShapeHasAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getChainCollisionShapeHasAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getChainCollisionShapeHasAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getChainCollisionShapeLocalPoint | ( | int | shapeIndex, |
| int | pointIndex | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| pointIndex | - The index of the local point. |
| string SceneObject::getChainCollisionShapeLocalPoint | ( | int | shapeIndex, |
| int | pointIndex | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| pointIndex | - The index of the local point. |
| int SceneObject::getChainCollisionShapePointCount | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| int SceneObject::getChainCollisionShapePointCount | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getCircleCollisionShapeLocalPosition | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getCircleCollisionShapeLocalPosition | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCircleCollisionShapeRadius | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCircleCollisionShapeRadius | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getCollisionCallback | ( | ) |
Gets whether the 'Scene::onCollision' callback is called or not.
| bool SceneObject::getCollisionCallback | ( | ) |
Gets whether the 'Scene::onCollision' callback is called or not.
| string SceneObject::getCollisionGroups | ( | ) |
| string SceneObject::getCollisionGroups | ( | ) |
| string SceneObject::getCollisionLayers | ( | ) |
| string SceneObject::getCollisionLayers | ( | ) |
| string SceneObject::getCollisionMasks | ( | groupMask/ | layerMask | ) |
The scene group(s) and scene layer(s) the object is enabled to collide with.
| string SceneObject::getCollisionMasks | ( | groupMask/ | layerMask | ) |
The scene group(s) and scene layer(s) the object is enabled to collide with.
| float SceneObject::getCollisionShapeArea | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCollisionShapeArea | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| int SceneObject::getCollisionShapeCount | ( | ) |
| int SceneObject::getCollisionShapeCount | ( | ) |
| float SceneObject::getCollisionShapeDensity | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCollisionShapeDensity | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCollisionShapeFriction | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCollisionShapeFriction | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getCollisionShapeIsSensor | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getCollisionShapeIsSensor | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCollisionShapeRestitution | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| float SceneObject::getCollisionShapeRestitution | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getCollisionShapeType | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getCollisionShapeType | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getCollisionSuppress | ( | ) |
Gets the collision suppress status.
| bool SceneObject::getCollisionSuppress | ( | ) |
Gets the collision suppress status.
| string SceneObject::getContact | ( | contactIndex | ) |
Gets the contact at the specified contact index.
| contactIndex | The contact at the specified index. |
| string SceneObject::getContact | ( | contactIndex | ) |
Gets the contact at the specified contact index.
| contactIndex | The contact at the specified index. |
| int SceneObject::getContactCount | ( | ) |
Gets the current contact count. This will always be zero if contact gathering is off.
| int SceneObject::getContactCount | ( | ) |
Gets the current contact count. This will always be zero if contact gathering is off.
| float SceneObject::getDefaultDensity | ( | ) |
| float SceneObject::getDefaultDensity | ( | ) |
| float SceneObject::getDefaultFriction | ( | ) |
| float SceneObject::getDefaultFriction | ( | ) |
| float SceneObject::getDefaultRestitution | ( | ) |
| float SceneObject::getDefaultRestitution | ( | ) |
| string SceneObject::getDstBlendFactor | ( | ) |
| string SceneObject::getDstBlendFactor | ( | ) |
| string SceneObject::getEdgeCollisionShapeAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getEdgeCollisionShapeAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getEdgeCollisionShapeAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getEdgeCollisionShapeAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getEdgeCollisionShapeHasAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getEdgeCollisionShapeHasAdjacentEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getEdgeCollisionShapeHasAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getEdgeCollisionShapeHasAdjacentStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getEdgeCollisionShapeLocalPositionEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getEdgeCollisionShapeLocalPositionEnd | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getEdgeCollisionShapeLocalPositionStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getEdgeCollisionShapeLocalPositionStart | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getFixedAngle | ( | ) |
| bool SceneObject::getFixedAngle | ( | ) |
| bool SceneObject::getGatherContacts | ( | ) |
| bool SceneObject::getGatherContacts | ( | ) |
| float SceneObject::getGravityScale | ( | ) |
| float SceneObject::getGravityScale | ( | ) |
| float SceneObject::getHeight | ( | ) |
Gets the height of the object.
| float SceneObject::getHeight | ( | ) |
Gets the height of the object.
| float SceneObject::getInertia | ( | ) |
Gets the rotation inertia of the body around the local origin.
| float SceneObject::getInertia | ( | ) |
Gets the rotation inertia of the body around the local origin.
| bool SceneObject::getIsPointInCollisionShape | ( | int | shapeIndex, |
| worldPointX/ | Y | ||
| ) |
| worldPointX/Y | The world point to check. |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getIsPointInCollisionShape | ( | int | shapeIndex, |
| worldPointX/ | Y | ||
| ) |
| worldPointX/Y | The world point to check. |
| shapeIndex | - The index of the collision shape. |
| bool SceneObject::getIsPointInOOBB | ( | worldPointX/ | Y | ) |
| worldPointX/Y | The world point to check. |
| bool SceneObject::getIsPointInOOBB | ( | worldPointX/ | Y | ) |
| worldPointX/Y | The world point to check. |
| float SceneObject::getLifetime | ( | ) |
Gets the Objects Lifetime.
| float SceneObject::getLifetime | ( | ) |
Gets the Objects Lifetime.
| float SceneObject::getLinearDamping | ( | ) |
| float SceneObject::getLinearDamping | ( | ) |
| string SceneObject::getLinearVelocity | ( | ) |
| string SceneObject::getLinearVelocity | ( | ) |
| string SceneObject::getLinearVelocityFromLocalPoint | ( | localPointX/ | Y | ) |
| string SceneObject::getLinearVelocityFromLocalPoint | ( | localPointX/ | Y | ) |
| string SceneObject::getLinearVelocityFromWorldPoint | ( | worldPointX/ | Y | ) |
| string SceneObject::getLinearVelocityFromWorldPoint | ( | worldPointX/ | Y | ) |
| string SceneObject::getLinearVelocityPolar | ( | ) |
| string SceneObject::getLinearVelocityPolar | ( | ) |
| float SceneObject::getLinearVelocityX | ( | ) |
| float SceneObject::getLinearVelocityX | ( | ) |
| float SceneObject::getLinearVelocityY | ( | ) |
| float SceneObject::getLinearVelocityY | ( | ) |
| string SceneObject::getLocalCenter | ( | ) |
| string SceneObject::getLocalCenter | ( | ) |
| string SceneObject::getLocalPoint | ( | float worldPointX/ | Y | ) |
| worldPointX/Y | The world point to convert into a local point. |
| string SceneObject::getLocalPoint | ( | float worldPointX/ | Y | ) |
| worldPointX/Y | The world point to convert into a local point. |
| string SceneObject::getLocalVector | ( | float worldVectorX/ | Y | ) |
| worldVectorX/Y | The world vector to convert into a vector point. |
| string SceneObject::getLocalVector | ( | float worldVectorX/ | Y | ) |
| worldVectorX/Y | The world vector to convert into a vector point. |
| float SceneObject::getMass | ( | ) |
Gets the total mass of the body.
| float SceneObject::getMass | ( | ) |
Gets the total mass of the body.
| bool SceneObject::getPickingAllowed | ( | ) |
| bool SceneObject::getPickingAllowed | ( | ) |
| string SceneObject::getPolygonCollisionShapeLocalPoint | ( | int | shapeIndex, |
| int | pointIndex | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| pointIndex | - The index of the local point. |
| string SceneObject::getPolygonCollisionShapeLocalPoint | ( | int | shapeIndex, |
| int | pointIndex | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| pointIndex | - The index of the local point. |
| int SceneObject::getPolygonCollisionShapePointCount | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| int SceneObject::getPolygonCollisionShapePointCount | ( | int | shapeIndex | ) |
| shapeIndex | - The index of the collision shape. |
| string SceneObject::getPosition | ( | ) |
Gets the object's position.
| string SceneObject::getPosition | ( | ) |
Gets the object's position.
| float SceneObject::getRenderAngle | ( | ) |
Gets the object's render angle.
| float SceneObject::getRenderAngle | ( | ) |
Gets the object's render angle.
| string SceneObject::getRenderGroup | ( | ) |
Gets the name of the render group used to sort the object during rendering.
| string SceneObject::getRenderGroup | ( | ) |
Gets the name of the render group used to sort the object during rendering.
| string SceneObject::getRenderPosition | ( | ) |
Gets the current render position.
| string SceneObject::getRenderPosition | ( | ) |
Gets the current render position.
| int SceneObject::getScene | ( | ) |
Get the scene the object is in.
| int SceneObject::getScene | ( | ) |
Get the scene the object is in.
| int SceneObject::getSceneGroup | ( | ) |
Gets the Objects Group.
| int SceneObject::getSceneGroup | ( | ) |
Gets the Objects Group.
| int SceneObject::getSceneLayer | ( | ) |
Gets the Objects Layer.
| int SceneObject::getSceneLayer | ( | ) |
Gets the Objects Layer.
| float SceneObject::getSceneLayerDepth | ( | ) |
Gets the scene layer depth.
| float SceneObject::getSceneLayerDepth | ( | ) |
Gets the scene layer depth.
| string SceneObject::getSize | ( | ) |
Gets the objects size.
| string SceneObject::getSize | ( | ) |
Gets the objects size.
| float SceneObject::getSizeX | ( | ) |
Gets the width of the object.
| float SceneObject::getSizeX | ( | ) |
Gets the width of the object.
| float SceneObject::getSizeY | ( | ) |
Gets the height of the object.
| float SceneObject::getSizeY | ( | ) |
Gets the height of the object.
| bool SceneObject::getSleepingAllowed | ( | ) |
Gets whether the body is allowed to sleep or not.
| bool SceneObject::getSleepingAllowed | ( | ) |
Gets whether the body is allowed to sleep or not.
| bool SceneObject::getSleepingCallback | ( | ) |
| bool SceneObject::getSleepingCallback | ( | ) |
| string SceneObject::getSortPoint | ( | ) |
Gets the layer draw order sorting point.
| string SceneObject::getSortPoint | ( | ) |
Gets the layer draw order sorting point.
| float SceneObject::getSortPointX | ( | ) |
Gets the x component of the layer draw order sorting point.
| float SceneObject::getSortPointX | ( | ) |
Gets the x component of the layer draw order sorting point.
| float SceneObject::getSortPointY | ( | ) |
Gets the y component of the layer draw order sorting point.
| float SceneObject::getSortPointY | ( | ) |
Gets the y component of the layer draw order sorting point.
| string SceneObject::getSrcBlendFactor | ( | ) |
| string SceneObject::getSrcBlendFactor | ( | ) |
| bool SceneObject::getUpdateCallback | ( | ) |
| bool SceneObject::getUpdateCallback | ( | ) |
| bool SceneObject::getUseInputEvents | ( | ) |
| bool SceneObject::getUseInputEvents | ( | ) |
| bool SceneObject::getVisible | ( | ) |
| bool SceneObject::getVisible | ( | ) |
| float SceneObject::getWidth | ( | ) |
Gets the width of the object.
| float SceneObject::getWidth | ( | ) |
Gets the width of the object.
| string SceneObject::getWorldCenter | ( | ) |
| string SceneObject::getWorldCenter | ( | ) |
| string SceneObject::getWorldPoint | ( | float localPointX/ | Y | ) |
| localPointX/Y | The local point to convert into a world point. |
| string SceneObject::getWorldPoint | ( | float localPointX/ | Y | ) |
| localPointX/Y | The local point to convert into a world point. |
| string SceneObject::getWorldVector | ( | float localVectorX/ | Y | ) |
| localVectorX/Y | The local vector to convert into a world vector. |
| string SceneObject::getWorldVector | ( | float localVectorX/ | Y | ) |
| localVectorX/Y | The local vector to convert into a world vector. |
| bool SceneObject::isMoveToComplete | ( | ) |
| bool SceneObject::isMoveToComplete | ( | ) |
| bool SceneObject::isRotateToComplete | ( | ) |
| bool SceneObject::isRotateToComplete | ( | ) |
| bool SceneObject::moveTo | ( | worldPoint X/ | Y, |
| speed | |||
| ) |
| worldPoint/Y | The world point to move the object to. |
| speed | The speed (in m/s) to use to move to the specified point. |
| autoStop? | Whether to automatically set the linear velocity to zero when time has elapsed or not |
| warpToTarget? | Whether to move instantly to the target point after the specified time or not in-case the target was not quite reached. |
| bool SceneObject::moveTo | ( | worldPoint X/ | Y, |
| speed | |||
| ) |
| worldPoint/Y | The world point to move the object to. |
| speed | The speed (in m/s) to use to move to the specified point. |
| autoStop? | Whether to automatically set the linear velocity to zero when time has elapsed or not |
| warpToTarget? | Whether to move instantly to the target point after the specified time or not in-case the target was not quite reached. |
| void SceneObject::removeFromScene | ( | ) |
Remove the object from the scene.
| void SceneObject::removeFromScene | ( | ) |
Remove the object from the scene.
| bool SceneObject::rotateTo | ( | angle | , |
| speed | |||
| ) |
| angle | The angle to rotate the object to. |
| speed | The speed (in degree/s) to use to rotate to the specified angle. |
| autoStop? | Whether to automatically set the angular velocity to zero when time has elapsed or not |
| warpToTarget? | Whether to rotate instantly to the target angle after the specified time or not in-case the target was not quite reached. |
| bool SceneObject::rotateTo | ( | angle | , |
| speed | |||
| ) |
| angle | The angle to rotate the object to. |
| speed | The speed (in degree/s) to use to rotate to the specified angle. |
| autoStop? | Whether to automatically set the angular velocity to zero when time has elapsed or not |
| warpToTarget? | Whether to rotate instantly to the target angle after the specified time or not in-case the target was not quite reached. |
| void SceneObject::safeDelete | ( | ) |
| void SceneObject::safeDelete | ( | ) |
| void SceneObject::setActive | ( | ) |
| status | - Whether the body should be active or not (defaults to true). |
| void SceneObject::setActive | ( | ) |
| status | - Whether the body should be active or not (defaults to true). |
| void SceneObject::setAlphaTest | ( | float | alpha | ) |
| alpha | The alpha test threshold in the range of 0.0 to 1.0. Less than zero to disable alpha testing. |
| void SceneObject::setAlphaTest | ( | float | alpha | ) |
| alpha | The alpha test threshold in the range of 0.0 to 1.0. Less than zero to disable alpha testing. |
| void SceneObject::setAngle | ( | float | angle | ) |
| angle | The angle of the object. |
| void SceneObject::setAngle | ( | float | angle | ) |
| angle | The angle of the object. |
| void SceneObject::setAngularDamping | ( | float | damping | ) |
| damping | - The angular damping scale. |
| void SceneObject::setAngularDamping | ( | float | damping | ) |
| damping | - The angular damping scale. |
| void SceneObject::setAngularVelocity | ( | float | velocity | ) |
| velocity | The speed at which the object will rotate. |
| void SceneObject::setAngularVelocity | ( | float | velocity | ) |
| velocity | The speed at which the object will rotate. |
| void SceneObject::setArea | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2 | ||
| ) |
Sets the objects area.
| x1 | The lower left corner x position. |
| y1 | The lower left corner y position. |
| x2 | The upper right corner x position. |
| y2 | The upper right corner y position. |
| void SceneObject::setArea | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2 | ||
| ) |
Sets the objects area.
| x1 | The lower left corner x position. |
| y1 | The lower left corner y position. |
| x2 | The upper right corner x position. |
| y2 | The upper right corner y position. |
| void SceneObject::setAwake | ( | ) |
| status | - Whether the body should be awake or not (defaults to true). |
| void SceneObject::setAwake | ( | ) |
| status | - Whether the body should be awake or not (defaults to true). |
| void SceneObject::setBlendAlpha | ( | float | alpha | ) |
| alpha | The alpha value. |
| void SceneObject::setBlendAlpha | ( | float | alpha | ) |
| alpha | The alpha value. |
| void SceneObject::setBlendColor | ( | float | red, |
| float | green, | ||
| float | blue | ||
| ) |
or ( stockColorName ) - Sets the blend color.
| red | The red value. |
| green | The green value. |
| blue | The blue value. |
| alpha | The alpha value. |
| void SceneObject::setBlendColor | ( | float | red, |
| float | green, | ||
| float | blue | ||
| ) |
or ( stockColorName ) - Sets the blend color.
| red | The red value. |
| green | The green value. |
| blue | The blue value. |
| alpha | The alpha value. |
| void SceneObject::setBlendMode | ( | bool | blendMode | ) |
| void SceneObject::setBlendMode | ( | bool | blendMode | ) |
| void SceneObject::setBodyType | ( | bodyType | type | ) |
Sets the body type.
| void SceneObject::setBodyType | ( | bodyType | type | ) |
Sets the body type.
| void SceneObject::setBullet | ( | ) |
| status | - Whether the body should be a bullet (fast moving body) or not (defaults to true). |
| void SceneObject::setBullet | ( | ) |
| status | - Whether the body should be a bullet (fast moving body) or not (defaults to true). |
| void SceneObject::setCollisionAgainst | ( | SceneObject | object | ) |
| object | The SceneObject to set collision masks against |
| clearMasks | Whether or not to clear the collision masks before setting them against the object. |
| void SceneObject::setCollisionAgainst | ( | SceneObject | object | ) |
| object | The SceneObject to set collision masks against |
| clearMasks | Whether or not to clear the collision masks before setting them against the object. |
| void SceneObject::setCollisionCallback | ( | ) |
| status | Whether the 'Scene::onCollision' callback is called or not (default is false). |
| void SceneObject::setCollisionCallback | ( | ) |
| status | Whether the 'Scene::onCollision' callback is called or not (default is false). |
| void SceneObject::setCollisionGroups | ( | groups | ) |
| groups | A list of collision groups to collide with. |
| void SceneObject::setCollisionGroups | ( | groups | ) |
| groups | A list of collision groups to collide with. |
| void SceneObject::setCollisionLayers | ( | layers | ) |
| layers | A list of layers to collide with. |
| void SceneObject::setCollisionLayers | ( | layers | ) |
| layers | A list of layers to collide with. |
| void SceneObject::setCollisionMasks | ( | groupMask | ) |
| sceneGroupMask | The scene group(s) to enable collision with. |
| sceneLayerMask | The scene layer(s) to enable collision with. If sceneLayerMask is not specified then all scene layers will be included. |
| void SceneObject::setCollisionMasks | ( | groupMask | ) |
| sceneGroupMask | The scene group(s) to enable collision with. |
| sceneLayerMask | The scene layer(s) to enable collision with. If sceneLayerMask is not specified then all scene layers will be included. |
| void SceneObject::setCollisionShapeDensity | ( | int | shapeIndex, |
| float | density | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| density | - The collision shape density. |
| void SceneObject::setCollisionShapeDensity | ( | int | shapeIndex, |
| float | density | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| density | - The collision shape density. |
| void SceneObject::setCollisionShapeFriction | ( | int | shapeIndex, |
| float | friction | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| friction | - The collision shape friction. |
| void SceneObject::setCollisionShapeFriction | ( | int | shapeIndex, |
| float | friction | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| friction | - The collision shape friction. |
| void SceneObject::setCollisionShapeIsSensor | ( | int | shapeIndex, |
| bool | status | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| status | - Whether the collision shape at the specified index is a sensor or not. |
| void SceneObject::setCollisionShapeIsSensor | ( | int | shapeIndex, |
| bool | status | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| status | - Whether the collision shape at the specified index is a sensor or not. |
| void SceneObject::setCollisionShapeRestitution | ( | int | shapeIndex, |
| float | restitution | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| density | - The collision shape restitution. |
| void SceneObject::setCollisionShapeRestitution | ( | int | shapeIndex, |
| float | restitution | ||
| ) |
| shapeIndex | - The index of the collision shape. |
| density | - The collision shape restitution. |
| void SceneObject::setCollisionSuppress | ( | ) |
| status | Whether to suppress the collision or not (defaults to true). |
| void SceneObject::setCollisionSuppress | ( | ) |
| status | Whether to suppress the collision or not (defaults to true). |
| void SceneObject::setDebugOff | ( | debugOptions | ) |
Sets Debug options(s) off.
| debugOptions | Either a list of debug modes to turn off (comma-separated) or a string (space-separated) |
| void SceneObject::setDebugOff | ( | debugOptions | ) |
Sets Debug options(s) off.
| debugOptions | Either a list of debug modes to turn off (comma-separated) or a string (space-separated) |
| void SceneObject::setDebugOn | ( | debugOptions | ) |
Sets Debug option(s) on.
| debugOptions | Either a list of debug modes (comma-separated), or a string with the modes (space-separated) |
| void SceneObject::setDebugOn | ( | debugOptions | ) |
Sets Debug option(s) on.
| debugOptions | Either a list of debug modes (comma-separated), or a string with the modes (space-separated) |
| void SceneObject::setDefaultDensity | ( | float | density | ) |
| density | The default density to use when creating collision shapes. |
| updateShapes | Whether to update the density on any existing shapes or not (default is true). |
| void SceneObject::setDefaultDensity | ( | float | density | ) |
| density | The default density to use when creating collision shapes. |
| updateShapes | Whether to update the density on any existing shapes or not (default is true). |
| void SceneObject::setDefaultFriction | ( | float | friction | ) |
| friction | The default friction to use when creating collision shapes. |
| updateShapes | Whether to update the friction on any existing shapes or not (default is true). |
| void SceneObject::setDefaultFriction | ( | float | friction | ) |
| friction | The default friction to use when creating collision shapes. |
| updateShapes | Whether to update the friction on any existing shapes or not (default is true). |
| void SceneObject::setDefaultRestitution | ( | float | restitution | ) |
| restitution | The default restitution to use when creating collision shapes. |
| updateShapes | Whether to update the restitution on any existing shapes or not (default is true). |
| void SceneObject::setDefaultRestitution | ( | float | restitution | ) |
| restitution | The default restitution to use when creating collision shapes. |
| updateShapes | Whether to update the restitution on any existing shapes or not (default is true). |
| void SceneObject::setDstBlendFactor | ( | dstBlend | ) |
| dstBlend | The destination blend factor. |
| void SceneObject::setDstBlendFactor | ( | dstBlend | ) |
| dstBlend | The destination blend factor. |
| void SceneObject::setEnabled | ( | bool | status | ) |
Enables or disables the object.
| status | Whether to enable or disable the object. |
| void SceneObject::setEnabled | ( | bool | status | ) |
Enables or disables the object.
| status | Whether to enable or disable the object. |
| void SceneObject::setFixedAngle | ( | bool status? | ) |
| void SceneObject::setFixedAngle | ( | bool status? | ) |
| void SceneObject::setGatherContacts | ( | bool | gatherContacts | ) |
| gatherContacts | Whether to gather contacts or not. By default contact gather is off as it can become expensive if a lot of contacts are being processed. |
| void SceneObject::setGatherContacts | ( | bool | gatherContacts | ) |
| gatherContacts | Whether to gather contacts or not. By default contact gather is off as it can become expensive if a lot of contacts are being processed. |
| void SceneObject::setGravityScale | ( | float | scale | ) |
| scale | - The scaled world gravity. |
| void SceneObject::setGravityScale | ( | float | scale | ) |
| scale | - The scaled world gravity. |
| void SceneObject::setHeight | ( | float | height | ) |
Sets the height of the object.
| height | The height of the object. |
| void SceneObject::setHeight | ( | float | height | ) |
Sets the height of the object.
| height | The height of the object. |
| void SceneObject::setLifetime | ( | float | lifetime | ) |
| lifetime | The amount of time, in seconds, before the object is automatically deleted. |
| void SceneObject::setLifetime | ( | float | lifetime | ) |
| lifetime | The amount of time, in seconds, before the object is automatically deleted. |
| void SceneObject::setLinearDamping | ( | float | damping | ) |
| damping | - The linear damping scale. |
| void SceneObject::setLinearDamping | ( | float | damping | ) |
| damping | - The linear damping scale. |
| void SceneObject::setLinearVelocity | ( | float | velocityX, |
| float | velocityY | ||
| ) |
| velocityX | The x component of the velocity. |
| velocityY | The y component of the velocity. |
| void SceneObject::setLinearVelocity | ( | float | velocityX, |
| float | velocityY | ||
| ) |
| velocityX | The x component of the velocity. |
| velocityY | The y component of the velocity. |
| void SceneObject::setLinearVelocityPolar | ( | float | angle, |
| float | speed | ||
| ) |
| angle | The angle of the direction at which the object to move. |
| speed | The speed at which the object will move. |
| void SceneObject::setLinearVelocityPolar | ( | float | angle, |
| float | speed | ||
| ) |
| angle | The angle of the direction at which the object to move. |
| speed | The speed at which the object will move. |
| void SceneObject::setLinearVelocityX | ( | float | velocityX | ) |
| velocityX | The x component of the velocity. |
| void SceneObject::setLinearVelocityX | ( | float | velocityX | ) |
| velocityX | The x component of the velocity. |
| void SceneObject::setLinearVelocityY | ( | float | velocityY | ) |
| velocityY | The y component of the velocity. |
| void SceneObject::setLinearVelocityY | ( | float | velocityY | ) |
| velocityY | The y component of the velocity. |
| void SceneObject::setPickingAllowed | ( | bool | pickingAllowed | ) |
| pickingAllowed | Whether picking is allowed or not. |
| void SceneObject::setPickingAllowed | ( | bool | pickingAllowed | ) |
| pickingAllowed | Whether picking is allowed or not. |
| void SceneObject::setPosition | ( | float | x, |
| float | y | ||
| ) |
| x | The position of the object along the horizontal axis. |
| y | The position of the object along the vertical axis. |
| void SceneObject::setPosition | ( | float | x, |
| float | y | ||
| ) |
| x | The position of the object along the horizontal axis. |
| y | The position of the object along the vertical axis. |
| void SceneObject::setPositionX | ( | float | x | ) |
Sets the objects x position.
| x | The horizontal position of the object. |
| void SceneObject::setPositionX | ( | float | x | ) |
Sets the objects x position.
| x | The horizontal position of the object. |
| void SceneObject::setPositionY | ( | float | y | ) |
Sets the objects y position.
| y | The vertical position of the object. |
| void SceneObject::setPositionY | ( | float | y | ) |
Sets the objects y position.
| y | The vertical position of the object. |
| void SceneObject::setRenderGroup | ( | renderGroup | ) |
Sets the name of the render group used to sort the object during rendering.
| renderGroup | The name of the render group to use. Defaults to nothing. |
| void SceneObject::setRenderGroup | ( | renderGroup | ) |
Sets the name of the render group used to sort the object during rendering.
| renderGroup | The name of the render group to use. Defaults to nothing. |
| void SceneObject::setSceneGroup | ( | integer | group | ) |
| group | Integer in the range [0-31]. |
| void SceneObject::setSceneGroup | ( | integer | group | ) |
| group | Integer in the range [0-31]. |
| void SceneObject::setSceneLayer | ( | integer | layer | ) |
Sets the objects scene layer (0-31). The layer on which to place the object.
| layer | Integer in the range [0-31]. |
| void SceneObject::setSceneLayer | ( | integer | layer | ) |
Sets the objects scene layer (0-31). The layer on which to place the object.
| layer | Integer in the range [0-31]. |
| void SceneObject::setSceneLayerDepth | ( | float | layerDepth | ) |
Sets the objects scene layer depth.
| layerDepth | The layer depth can be any value. |
| void SceneObject::setSceneLayerDepth | ( | float | layerDepth | ) |
Sets the objects scene layer depth.
| layerDepth | The layer depth can be any value. |
| bool SceneObject::setSceneLayerDepthBack | ( | ) |
Sets the layer depth to be the back-most within the current layer..
| bool SceneObject::setSceneLayerDepthBack | ( | ) |
Sets the layer depth to be the back-most within the current layer..
| bool SceneObject::setSceneLayerDepthBackward | ( | ) |
Sets the layer depth to be behind of the object currently behind within the current layer.
| bool SceneObject::setSceneLayerDepthBackward | ( | ) |
Sets the layer depth to be behind of the object currently behind within the current layer.
| bool SceneObject::setSceneLayerDepthForward | ( | ) |
Sets the layer depth to be in-front of the object currently in-front within the current layer.
| bool SceneObject::setSceneLayerDepthForward | ( | ) |
Sets the layer depth to be in-front of the object currently in-front within the current layer.
| bool SceneObject::setSceneLayerDepthFront | ( | ) |
Sets the layer depth to be the front-most within the current layer..
| bool SceneObject::setSceneLayerDepthFront | ( | ) |
Sets the layer depth to be the front-most within the current layer..
| void SceneObject::setSize | ( | float | width, |
| float | height | ||
| ) |
Sets the objects size.
| width | The width of the object. |
| height | The height of the object. |
| void SceneObject::setSize | ( | float | width, |
| float | height | ||
| ) |
Sets the objects size.
| width | The width of the object. |
| height | The height of the object. |
| void SceneObject::setSizeX | ( | float | width | ) |
Sets the width of the object.
| width | The width of the object. |
| void SceneObject::setSizeX | ( | float | width | ) |
Sets the width of the object.
| width | The width of the object. |
| void SceneObject::setSizeY | ( | float | height | ) |
Sets the height of the object.
| height | The height of the object. |
| void SceneObject::setSizeY | ( | float | height | ) |
Sets the height of the object.
| height | The height of the object. |
| void SceneObject::setSleepingAllowed | ( | ) |
| status | - Whether sleeping is allowed on the body or not (defaults to true). |
| void SceneObject::setSleepingAllowed | ( | ) |
| status | - Whether sleeping is allowed on the body or not (defaults to true). |
| void SceneObject::setSleepingCallback | ( | ) |
| status | Whether the 'onWake' and 'onSleep' callbacks are called or not (default is false). |
| void SceneObject::setSleepingCallback | ( | ) |
| status | Whether the 'onWake' and 'onSleep' callbacks are called or not (default is false). |
| void SceneObject::setSortPoint | ( | float | x, |
| float | y | ||
| ) |
Sets the layer draw order sorting point.
| x | The x position local to the object of the sort point. |
| y | The y position local to the object of the sort point. |
| void SceneObject::setSortPoint | ( | float | x, |
| float | y | ||
| ) |
Sets the layer draw order sorting point.
| x | The x position local to the object of the sort point. |
| y | The y position local to the object of the sort point. |
| void SceneObject::setSortPointX | ( | float | x | ) |
Sets the x-component of the layer draw order sorting point.
| x | The x position local to the object of the sort point. |
| void SceneObject::setSortPointX | ( | float | x | ) |
Sets the x-component of the layer draw order sorting point.
| x | The x position local to the object of the sort point. |
| void SceneObject::setSortPointY | ( | float | y | ) |
Sets the y-component of the layer draw order sorting point.
| y | The y position local to the object of the sort point. |
| void SceneObject::setSortPointY | ( | float | y | ) |
Sets the y-component of the layer draw order sorting point.
| y | The y position local to the object of the sort point. |
| void SceneObject::setSrcBlendFactor | ( | srcBlend | ) |
| srcBlend | The source blend factor. |
| void SceneObject::setSrcBlendFactor | ( | srcBlend | ) |
| srcBlend | The source blend factor. |
| void SceneObject::setUpdateCallback | ( | ) |
| status | Whether the 'onUpdate' callback is called or not (default is false). |
| void SceneObject::setUpdateCallback | ( | ) |
| status | Whether the 'onUpdate' callback is called or not (default is false). |
| void SceneObject::setUseInputEvents | ( | bool | inputStatus | ) |
| inputStatus | Whether input events are passed from the scene window are monitored by this object or not. |
| void SceneObject::setUseInputEvents | ( | bool | inputStatus | ) |
| inputStatus | Whether input events are passed from the scene window are monitored by this object or not. |
| void SceneObject::setVisible | ( | bool | status | ) |
| status | Whether to enable or disable visibility on the object. |
| void SceneObject::setVisible | ( | bool | status | ) |
| status | Whether to enable or disable visibility on the object. |
| void SceneObject::setWidth | ( | float | width | ) |
Sets the width of the object.
| width | The width of the object. |
| void SceneObject::setWidth | ( | float | width | ) |
Sets the width of the object.
| width | The width of the object. |
| bool SceneObject::Active |
| float SceneObject::AlphaTest |
| float SceneObject::Angle |
| float SceneObject::AngularDamping |
| float SceneObject::AngularVelocity |
| bool SceneObject::Awake |
| ColorF SceneObject::BlendColor |
| bool SceneObject::BlendMode |
| enumval SceneObject::BodyType |
| bool SceneObject::Bullet |
| bool SceneObject::canSaveDynamicFields |
| string SceneObject::class |
Script SuperClass of object.
| bool SceneObject::CollisionCallback |
| int SceneObject::CollisionGroups |
| int SceneObject::CollisionLayers |
| bool SceneObject::CollisionSuppress |
| float SceneObject::DefaultDensity |
| float SceneObject::DefaultFriction |
| float SceneObject::DefaultRestitution |
| enumval SceneObject::DstBlendFactor |
| bool SceneObject::Enabled |
| bool SceneObject::FixedAngle |
| bool SceneObject::GatherContacts |
| float SceneObject::GravityScale |
| string SceneObject::internalName |
| float SceneObject::Lifetime |
| float SceneObject::LinearDamping |
| Vector2 SceneObject::LinearVelocity |
| SimObjectPtr SceneObject::parentGroup |
Group hierarchy parent of the object.
| bool SceneObject::PickingAllowed |
| Vector2 SceneObject::Position |
| string SceneObject::RenderGroup |
| SimObjectPtr SceneObject::Scene |
| int SceneObject::SceneGroup |
| int SceneObject::SceneLayer |
| float SceneObject::SceneLayerDepth |
| Vector2 SceneObject::Size |
| bool SceneObject::SleepingAllowed |
| bool SceneObject::SleepingCallback |
| Vector2 SceneObject::SortPoint |
| enumval SceneObject::SrcBlendFactor |
| string SceneObject::superclass |
Script Class of object.
| bool SceneObject::UpdateCallback |
| bool SceneObject::UseInputEvents |
| bool SceneObject::Visible |