Main   GitHub

Methods | Fields | List of all members
ShapeVector Class Reference

Inherits SceneObject, and SceneObject.

Methods

string getBoxFromPoints ()
 
string getBoxFromPoints ()
 
bool getCircleRadius ()
 
bool getCircleRadius ()
 
string getFillColor (allowColorNames)
 
string getFillColor (allowColorNames)
 
bool getFillMode ()
 
bool getFillMode ()
 
string getFlip ()
 
string getFlip ()
 
bool getFlipX ()
 
bool getFlipX ()
 
bool getFlipY ()
 
bool getFlipY ()
 
bool getIsCircle ()
 
bool getIsCircle ()
 
string getLineColor (allowColorNames)
 
string getLineColor (allowColorNames)
 
string getPoly ()
 
string getPoly ()
 
int getVertexCount ()
 
int getVertexCount ()
 
string getWorldPoly ()
 
string getWorldPoly ()
 
void setCircleRadius (radius)
 
void setCircleRadius (radius)
 
void setFillAlpha (alpha)
 
void setFillAlpha (alpha)
 
void setFillColor (float red, float green, float blue,[float alpha=1.0])
 
void setFillColor (float red, float green, float blue,[float alpha=1.0])
 
void setFillMode (fillMode?)
 
void setFillMode (fillMode?)
 
void setFlip (bool flipX, bool flipY)
 
void setFlip (bool flipX, bool flipY)
 
void setFlipX (bool flipX)
 
void setFlipX (bool flipX)
 
void setFlipY (bool flipY)
 
void setFlipY (bool flipY)
 
void setIsCircle (isCircle?)
 
void setIsCircle (isCircle?)
 
void setLineAlpha (alpha)
 
void setLineAlpha (alpha)
 
void setLineColor (float red, float green, float blue,[float alpha=1.0])
 
void setLineColor (float red, float green, float blue,[float alpha=1.0])
 
void setPolyCustom (poly-count, poly-Definition $)
 
void setPolyCustom (poly-count, poly-Definition $)
 
void setPolyPrimitive (vertexCount)
 
void setPolyPrimitive (vertexCount)
 
void setPolyScale (widthScale/[heightScale])
 
void setPolyScale (widthScale/[heightScale])
 
- Methods inherited from SceneObject
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 ()
 

Fields

bool Active
 
float AlphaTest
 
float Angle
 
float AngularDamping
 
float AngularVelocity
 
bool Awake
 
ColorF BlendColor
 
bool BlendMode
 
enumval BodyType
 
bool Bullet
 
float CircleRadius
 
bool CollisionCallback
 
int CollisionGroups
 
int CollisionLayers
 
bool CollisionSuppress
 
float DefaultDensity
 
float DefaultFriction
 
float DefaultRestitution
 
enumval DstBlendFactor
 
bool Enabled
 
ColorF fillColor
 
bool FillMode
 
bool FixedAngle
 
bool GatherContacts
 
float GravityScale
 
bool IsCircle
 
float Lifetime
 
float LinearDamping
 
Vector2 LinearVelocity
 
ColorF LineColor
 
bool PickingAllowed
 
point2FList PolyList
 
Vector2 Position
 
string RenderGroup
 
SimObjectPtr Scene
 
int SceneGroup
 
int SceneLayer
 
float SceneLayerDepth
 
Vector2 Size
 
bool SleepingAllowed
 
bool SleepingCallback
 
Vector2 SortPoint
 
enumval SrcBlendFactor
 
bool UpdateCallback
 
bool UseInputEvents
 
bool Visible
 
SimBase
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
Namespace Linking
string superclass
 
string class
 
- Fields inherited from SceneObject
bool Active
 
float AlphaTest
 
float Angle
 
float AngularDamping
 
float AngularVelocity
 
bool Awake
 
ColorF BlendColor
 
bool BlendMode
 
enumval BodyType
 
bool Bullet
 
bool CollisionCallback
 
int CollisionGroups
 
int CollisionLayers
 
bool CollisionSuppress
 
float DefaultDensity
 
float DefaultFriction
 
float DefaultRestitution
 
enumval DstBlendFactor
 
bool Enabled
 
bool FixedAngle
 
bool GatherContacts
 
float GravityScale
 
float Lifetime
 
float LinearDamping
 
Vector2 LinearVelocity
 
bool PickingAllowed
 
Vector2 Position
 
string RenderGroup
 
SimObjectPtr Scene
 
int SceneGroup
 
int SceneLayer
 
float SceneLayerDepth
 
Vector2 Size
 
bool SleepingAllowed
 
bool SleepingCallback
 
Vector2 SortPoint
 
enumval SrcBlendFactor
 
bool UpdateCallback
 
bool UseInputEvents
 
bool Visible
 
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 
- Fields inherited from BehaviorComponent
bool Enabled
 
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 
- Fields inherited from DynamicConsoleMethodComponent
bool Enabled
 
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 
- Fields inherited from SimComponent
bool Enabled
 
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 
- Fields inherited from SimObject
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 

Methods

string ShapeVector::getBoxFromPoints ( )

Get a box ("width height") that wraps around the poly vertices

string ShapeVector::getBoxFromPoints ( )

Get a box ("width height") that wraps around the poly vertices

bool ShapeVector::getCircleRadius ( )

Returns the radius of the shape if it is a circle.

Returns
The fill mode as a boolean value.
bool ShapeVector::getCircleRadius ( )

Returns the radius of the shape if it is a circle.

Returns
The fill mode as a boolean value.
string ShapeVector::getFillColor ( allowColorNames  )

Gets the fill color.

Parameters
allowColorNamesWhether to allow stock color names to be returned or not. Optional: Defaults to false.
Returns
(float red / float green / float blue / float alpha) The sprite blend color.
string ShapeVector::getFillColor ( allowColorNames  )

Gets the fill color.

Parameters
allowColorNamesWhether to allow stock color names to be returned or not. Optional: Defaults to false.
Returns
(float red / float green / float blue / float alpha) The sprite blend color.
bool ShapeVector::getFillMode ( )

Gets the Rendering Fill Mode.

Returns
The fill mode as a boolean value.
bool ShapeVector::getFillMode ( )

Gets the Rendering Fill Mode.

Returns
The fill mode as a boolean value.
string ShapeVector::getFlip ( )

Gets the flip for each axis.

Returns
(bool flipX/bool flipY) Whether or not the shape is flipped along the x and y axis.
string ShapeVector::getFlip ( )

Gets the flip for each axis.

Returns
(bool flipX/bool flipY) Whether or not the shape is flipped along the x and y axis.
bool ShapeVector::getFlipX ( )

Gets whether or not the shape is flipped horizontally.

Returns
(bool flipX) Whether or not the shape is flipped along the x axis.
bool ShapeVector::getFlipX ( )

Gets whether or not the shape is flipped horizontally.

Returns
(bool flipX) Whether or not the shape is flipped along the x axis.
bool ShapeVector::getFlipY ( )

Gets whether or not the shape is flipped vertically.

Returns
(bool flipY) Whether or not the shape is flipped along the y axis.
bool ShapeVector::getFlipY ( )

Gets whether or not the shape is flipped vertically.

Returns
(bool flipY) Whether or not the shape is flipped along the y axis.
bool ShapeVector::getIsCircle ( )

Returns whether this shape is a circle or not.

Returns
The fill mode as a boolean value.
bool ShapeVector::getIsCircle ( )

Returns whether this shape is a circle or not.

Returns
The fill mode as a boolean value.
string ShapeVector::getLineColor ( allowColorNames  )

Gets the fill color.

Parameters
allowColorNamesWhether to allow stock color names to be returned or not. Optional: Defaults to false.
Returns
(float red / float green / float blue / float alpha) The sprite blend color.
string ShapeVector::getLineColor ( allowColorNames  )

Gets the fill color.

Parameters
allowColorNamesWhether to allow stock color names to be returned or not. Optional: Defaults to false.
Returns
(float red / float green / float blue / float alpha) The sprite blend color.
string ShapeVector::getPoly ( )

Gets Polygon.

Returns
(poly-Definition) The vertices of the polygon in object space.
string ShapeVector::getPoly ( )

Gets Polygon.

Returns
(poly-Definition) The vertices of the polygon in object space.
int ShapeVector::getVertexCount ( )

Get the number of vertices on a polygon shape.

int ShapeVector::getVertexCount ( )

Get the number of vertices on a polygon shape.

string ShapeVector::getWorldPoly ( )

Gets Polygon points in world space.

Returns
(poly-Definition) The vertices of the polygon in world space.
string ShapeVector::getWorldPoly ( )

Gets Polygon points in world space.

Returns
(poly-Definition) The vertices of the polygon in world space.
void ShapeVector::setCircleRadius ( radius  )

Changes the radius of the shape if it is a circle.

Returns
The fill mode as a boolean value.
void ShapeVector::setCircleRadius ( radius  )

Changes the radius of the shape if it is a circle.

Returns
The fill mode as a boolean value.
void ShapeVector::setFillAlpha ( alpha  )

Sets the Rendering Fill Alpha (transparency).

Parameters
alphaThe alpha value.
Returns
No return value.
void ShapeVector::setFillAlpha ( alpha  )

Sets the Rendering Fill Alpha (transparency).

Parameters
alphaThe alpha value.
Returns
No return value.
void ShapeVector::setFillColor ( float  red,
float  green,
float  blue 
)

or ( stockColorName ) - Sets the fill color.

Parameters
redThe red value.
greenThe green value.
blueThe blue value.
alphaThe alpha value.
Returns
No return Value.
void ShapeVector::setFillColor ( float  red,
float  green,
float  blue 
)

or ( stockColorName ) - Sets the fill color.

Parameters
redThe red value.
greenThe green value.
blueThe blue value.
alphaThe alpha value.
Returns
No return Value.
void ShapeVector::setFillMode ( fillMode?  )

Sets the Rendering Fill Mode.

Returns
No return value.
void ShapeVector::setFillMode ( fillMode?  )

Sets the Rendering Fill Mode.

Returns
No return value.
void ShapeVector::setFlip ( bool  flipX,
bool  flipY 
)

Sets shape flipping for each axis.

Parameters
flipXWhether or not to flip the shape along the x (horizontal) axis.
flipYWhether or not to flip the shape along the y (vertical) axis.
Returns
No return value.
void ShapeVector::setFlip ( bool  flipX,
bool  flipY 
)

Sets shape flipping for each axis.

Parameters
flipXWhether or not to flip the shape along the x (horizontal) axis.
flipYWhether or not to flip the shape along the y (vertical) axis.
Returns
No return value.
void ShapeVector::setFlipX ( bool  flipX)

Sets whether or not the shape is flipped horizontally.

Parameters
flipXWhether or not to flip the shape along the x (horizontal) axis.
Returns
No return value.
void ShapeVector::setFlipX ( bool  flipX)

Sets whether or not the shape is flipped horizontally.

Parameters
flipXWhether or not to flip the shape along the x (horizontal) axis.
Returns
No return value.
void ShapeVector::setFlipY ( bool  flipY)

Sets whether or not the shape is flipped vertically.

Parameters
flipYWhether or not to flip the shape along the y (vertical) axis.
Returns
No return value.
void ShapeVector::setFlipY ( bool  flipY)

Sets whether or not the shape is flipped vertically.

Parameters
flipYWhether or not to flip the shape along the y (vertical) axis.
Returns
No return value.
void ShapeVector::setIsCircle ( isCircle?  )

Sets whether this shape is a circle or not.

Returns
The fill mode as a boolean value.
void ShapeVector::setIsCircle ( isCircle?  )

Sets whether this shape is a circle or not.

Returns
The fill mode as a boolean value.
void ShapeVector::setLineAlpha ( alpha  )

Sets the Rendering Line Alpha (transparency).

Parameters
alphaThe alpha value.
Returns
No return value.
void ShapeVector::setLineAlpha ( alpha  )

Sets the Rendering Line Alpha (transparency).

Parameters
alphaThe alpha value.
Returns
No return value.
void ShapeVector::setLineColor ( float  red,
float  green,
float  blue 
)

or ( stockColorName ) - Sets the line color.

Parameters
redThe red value.
greenThe green value.
blueThe blue value.
alphaThe alpha value.
Returns
No return Value.
void ShapeVector::setLineColor ( float  red,
float  green,
float  blue 
)

or ( stockColorName ) - Sets the line color.

Parameters
redThe red value.
greenThe green value.
blueThe blue value.
alphaThe alpha value.
Returns
No return Value.
void ShapeVector::setPolyCustom ( poly-  count,
poly-Definition  $ 
)

Sets Custom Polygon.

Returns
No return value.
void ShapeVector::setPolyCustom ( poly-  count,
poly-Definition  $ 
)

Sets Custom Polygon.

Returns
No return value.
void ShapeVector::setPolyPrimitive ( vertexCount  )

Sets a regular polygon primitive.

Returns
No return value.
void ShapeVector::setPolyPrimitive ( vertexCount  )

Sets a regular polygon primitive.

Returns
No return value.
void ShapeVector::setPolyScale ( widthScale/  [heightScale])
  • Sets the polygon scale.
    Parameters
    width/heightScaleThe scale values of the given polygon. If no height is specified, the widthScale value is repeated.
    Returns
    No return value.
void ShapeVector::setPolyScale ( widthScale/  [heightScale])
  • Sets the polygon scale.
    Parameters
    width/heightScaleThe scale values of the given polygon. If no height is specified, the widthScale value is repeated.
    Returns
    No return value.

Member Data Documentation

bool ShapeVector::Active
float ShapeVector::AlphaTest
float ShapeVector::Angle
float ShapeVector::AngularDamping
float ShapeVector::AngularVelocity
bool ShapeVector::Awake
ColorF ShapeVector::BlendColor
bool ShapeVector::BlendMode
enumval ShapeVector::BodyType
bool ShapeVector::Bullet
bool ShapeVector::canSaveDynamicFields
float ShapeVector::CircleRadius
string ShapeVector::class

Script SuperClass of object.

bool ShapeVector::CollisionCallback
int ShapeVector::CollisionGroups
int ShapeVector::CollisionLayers
bool ShapeVector::CollisionSuppress
float ShapeVector::DefaultDensity
float ShapeVector::DefaultFriction
float ShapeVector::DefaultRestitution
enumval ShapeVector::DstBlendFactor
bool ShapeVector::Enabled
ColorF ShapeVector::fillColor
bool ShapeVector::FillMode
bool ShapeVector::FixedAngle
bool ShapeVector::GatherContacts
float ShapeVector::GravityScale
string ShapeVector::internalName
bool ShapeVector::IsCircle
float ShapeVector::Lifetime
float ShapeVector::LinearDamping
Vector2 ShapeVector::LinearVelocity
ColorF ShapeVector::LineColor
SimObjectPtr ShapeVector::parentGroup

Group hierarchy parent of the object.

bool ShapeVector::PickingAllowed
point2FList ShapeVector::PolyList
Vector2 ShapeVector::Position
string ShapeVector::RenderGroup
SimObjectPtr ShapeVector::Scene
int ShapeVector::SceneGroup
int ShapeVector::SceneLayer
float ShapeVector::SceneLayerDepth
Vector2 ShapeVector::Size
bool ShapeVector::SleepingAllowed
bool ShapeVector::SleepingCallback
Vector2 ShapeVector::SortPoint
enumval ShapeVector::SrcBlendFactor
string ShapeVector::superclass

Script Class of object.

bool ShapeVector::UpdateCallback
bool ShapeVector::UseInputEvents
bool ShapeVector::Visible


Copyright © 2013 GarageGames, LLC. All Rights Reserved.