|
@@ -1682,7 +1682,7 @@ Methods:
|
|
|
|
|
|
|
|
Properties:
|
|
Properties:
|
|
|
|
|
|
|
|
-- Vector2 anchorPoint
|
|
|
|
|
|
|
+- Vector2 anchor
|
|
|
- Variant[] attributeDefaults // readonly
|
|
- Variant[] attributeDefaults // readonly
|
|
|
- AttributeInfo[] attributeInfos // readonly
|
|
- AttributeInfo[] attributeInfos // readonly
|
|
|
- Variant[] attributes
|
|
- Variant[] attributes
|
|
@@ -1705,6 +1705,188 @@ Properties:
|
|
|
- int weakRefs // readonly
|
|
- int weakRefs // readonly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+### ConstraintGear2D
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void ApplyAttributes()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer@, bool)
|
|
|
|
|
+- Variant GetAttribute(const String&) const
|
|
|
|
|
+- Variant GetAttributeDefault(const String&) const
|
|
|
|
|
+- bool Load(File@, bool = false)
|
|
|
|
|
+- bool LoadXML(const XMLElement&, bool = false)
|
|
|
|
|
+- void MarkNetworkUpdate() const
|
|
|
|
|
+- void Remove()
|
|
|
|
|
+- void RemoveInstanceDefault()
|
|
|
|
|
+- void ResetToDefault()
|
|
|
|
|
+- bool Save(File@) const
|
|
|
|
|
+- bool SaveXML(XMLElement&) const
|
|
|
|
|
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
|
|
|
+- bool SetAttribute(const String&, const Variant&)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- Variant[] attributeDefaults // readonly
|
|
|
|
|
+- AttributeInfo[] attributeInfos // readonly
|
|
|
|
|
+- Variant[] attributes
|
|
|
|
|
+- ShortStringHash baseType // readonly
|
|
|
|
|
+- String category // readonly
|
|
|
|
|
+- bool collideConnected
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool enabledEffective // readonly
|
|
|
|
|
+- uint id // readonly
|
|
|
|
|
+- Node@ node // readonly
|
|
|
|
|
+- uint numAttributes // readonly
|
|
|
|
|
+- RigidBody2D@ otherBody
|
|
|
|
|
+- Constraint2D@ otherConstraint
|
|
|
|
|
+- RigidBody2D@ ownerBody // readonly
|
|
|
|
|
+- Constraint2D@ ownerConstraint
|
|
|
|
|
+- float ratio
|
|
|
|
|
+- int refs // readonly
|
|
|
|
|
+- bool temporary
|
|
|
|
|
+- ShortStringHash type // readonly
|
|
|
|
|
+- String typeName // readonly
|
|
|
|
|
+- int weakRefs // readonly
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+### ConstraintMotor2D
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void ApplyAttributes()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer@, bool)
|
|
|
|
|
+- Variant GetAttribute(const String&) const
|
|
|
|
|
+- Variant GetAttributeDefault(const String&) const
|
|
|
|
|
+- bool Load(File@, bool = false)
|
|
|
|
|
+- bool LoadXML(const XMLElement&, bool = false)
|
|
|
|
|
+- void MarkNetworkUpdate() const
|
|
|
|
|
+- void Remove()
|
|
|
|
|
+- void RemoveInstanceDefault()
|
|
|
|
|
+- void ResetToDefault()
|
|
|
|
|
+- bool Save(File@) const
|
|
|
|
|
+- bool SaveXML(XMLElement&) const
|
|
|
|
|
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
|
|
|
+- bool SetAttribute(const String&, const Variant&)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- Variant[] attributeDefaults // readonly
|
|
|
|
|
+- AttributeInfo[] attributeInfos // readonly
|
|
|
|
|
+- Variant[] attributes
|
|
|
|
|
+- ShortStringHash baseType // readonly
|
|
|
|
|
+- String category // readonly
|
|
|
|
|
+- bool collideConnected
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool enabledEffective // readonly
|
|
|
|
|
+- uint id // readonly
|
|
|
|
|
+- float maxLength
|
|
|
|
|
+- Node@ node // readonly
|
|
|
|
|
+- uint numAttributes // readonly
|
|
|
|
|
+- RigidBody2D@ otherBody
|
|
|
|
|
+- Vector2 otherBodyAnchor
|
|
|
|
|
+- RigidBody2D@ ownerBody // readonly
|
|
|
|
|
+- Vector2 ownerBodyAnchor
|
|
|
|
|
+- int refs // readonly
|
|
|
|
|
+- bool temporary
|
|
|
|
|
+- ShortStringHash type // readonly
|
|
|
|
|
+- String typeName // readonly
|
|
|
|
|
+- int weakRefs // readonly
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+### ConstraintMouse2D
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void ApplyAttributes()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer@, bool)
|
|
|
|
|
+- Variant GetAttribute(const String&) const
|
|
|
|
|
+- Variant GetAttributeDefault(const String&) const
|
|
|
|
|
+- bool Load(File@, bool = false)
|
|
|
|
|
+- bool LoadXML(const XMLElement&, bool = false)
|
|
|
|
|
+- void MarkNetworkUpdate() const
|
|
|
|
|
+- void Remove()
|
|
|
|
|
+- void RemoveInstanceDefault()
|
|
|
|
|
+- void ResetToDefault()
|
|
|
|
|
+- bool Save(File@) const
|
|
|
|
|
+- bool SaveXML(XMLElement&) const
|
|
|
|
|
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
|
|
|
+- bool SetAttribute(const String&, const Variant&)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- Variant[] attributeDefaults // readonly
|
|
|
|
|
+- AttributeInfo[] attributeInfos // readonly
|
|
|
|
|
+- Variant[] attributes
|
|
|
|
|
+- ShortStringHash baseType // readonly
|
|
|
|
|
+- String category // readonly
|
|
|
|
|
+- bool collideConnected
|
|
|
|
|
+- float dampingRatio
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool enabledEffective // readonly
|
|
|
|
|
+- float frequencyHz
|
|
|
|
|
+- uint id // readonly
|
|
|
|
|
+- float maxForce
|
|
|
|
|
+- Node@ node // readonly
|
|
|
|
|
+- uint numAttributes // readonly
|
|
|
|
|
+- RigidBody2D@ otherBody
|
|
|
|
|
+- RigidBody2D@ ownerBody // readonly
|
|
|
|
|
+- int refs // readonly
|
|
|
|
|
+- Vector2 target
|
|
|
|
|
+- bool temporary
|
|
|
|
|
+- ShortStringHash type // readonly
|
|
|
|
|
+- String typeName // readonly
|
|
|
|
|
+- int weakRefs // readonly
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+### ConstraintPrismatic2D
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void ApplyAttributes()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer@, bool)
|
|
|
|
|
+- Variant GetAttribute(const String&) const
|
|
|
|
|
+- Variant GetAttributeDefault(const String&) const
|
|
|
|
|
+- bool Load(File@, bool = false)
|
|
|
|
|
+- bool LoadXML(const XMLElement&, bool = false)
|
|
|
|
|
+- void MarkNetworkUpdate() const
|
|
|
|
|
+- void Remove()
|
|
|
|
|
+- void RemoveInstanceDefault()
|
|
|
|
|
+- void ResetToDefault()
|
|
|
|
|
+- bool Save(File@) const
|
|
|
|
|
+- bool SaveXML(XMLElement&) const
|
|
|
|
|
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
|
|
|
+- bool SetAttribute(const String&, const Variant&)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- Vector2 anchor
|
|
|
|
|
+- Variant[] attributeDefaults // readonly
|
|
|
|
|
+- AttributeInfo[] attributeInfos // readonly
|
|
|
|
|
+- Variant[] attributes
|
|
|
|
|
+- Vector2 axis
|
|
|
|
|
+- ShortStringHash baseType // readonly
|
|
|
|
|
+- String category // readonly
|
|
|
|
|
+- bool collideConnected
|
|
|
|
|
+- bool enableLimit
|
|
|
|
|
+- bool enableMotor
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool enabledEffective // readonly
|
|
|
|
|
+- uint id // readonly
|
|
|
|
|
+- float lowerTranslation
|
|
|
|
|
+- float maxMotorForce
|
|
|
|
|
+- float motorSpeed
|
|
|
|
|
+- Node@ node // readonly
|
|
|
|
|
+- uint numAttributes // readonly
|
|
|
|
|
+- RigidBody2D@ otherBody
|
|
|
|
|
+- RigidBody2D@ ownerBody // readonly
|
|
|
|
|
+- int refs // readonly
|
|
|
|
|
+- bool temporary
|
|
|
|
|
+- ShortStringHash type // readonly
|
|
|
|
|
+- String typeName // readonly
|
|
|
|
|
+- float upperTranslation
|
|
|
|
|
+- int weakRefs // readonly
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
### ConstraintPulley2D
|
|
### ConstraintPulley2D
|
|
|
|
|
|
|
|
Methods:
|
|
Methods:
|
|
@@ -1772,7 +1954,7 @@ Methods:
|
|
|
|
|
|
|
|
Properties:
|
|
Properties:
|
|
|
|
|
|
|
|
-- Vector2 anchorPoint
|
|
|
|
|
|
|
+- Vector2 anchor
|
|
|
- Variant[] attributeDefaults // readonly
|
|
- Variant[] attributeDefaults // readonly
|
|
|
- AttributeInfo[] attributeInfos // readonly
|
|
- AttributeInfo[] attributeInfos // readonly
|
|
|
- Variant[] attributes
|
|
- Variant[] attributes
|
|
@@ -1843,6 +2025,98 @@ Properties:
|
|
|
- int weakRefs // readonly
|
|
- int weakRefs // readonly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+### ConstraintWeld2D
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void ApplyAttributes()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer@, bool)
|
|
|
|
|
+- Variant GetAttribute(const String&) const
|
|
|
|
|
+- Variant GetAttributeDefault(const String&) const
|
|
|
|
|
+- bool Load(File@, bool = false)
|
|
|
|
|
+- bool LoadXML(const XMLElement&, bool = false)
|
|
|
|
|
+- void MarkNetworkUpdate() const
|
|
|
|
|
+- void Remove()
|
|
|
|
|
+- void RemoveInstanceDefault()
|
|
|
|
|
+- void ResetToDefault()
|
|
|
|
|
+- bool Save(File@) const
|
|
|
|
|
+- bool SaveXML(XMLElement&) const
|
|
|
|
|
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
|
|
|
+- bool SetAttribute(const String&, const Variant&)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- Vector2 anchor
|
|
|
|
|
+- Variant[] attributeDefaults // readonly
|
|
|
|
|
+- AttributeInfo[] attributeInfos // readonly
|
|
|
|
|
+- Variant[] attributes
|
|
|
|
|
+- ShortStringHash baseType // readonly
|
|
|
|
|
+- String category // readonly
|
|
|
|
|
+- bool collideConnected
|
|
|
|
|
+- float dampingRatio
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool enabledEffective // readonly
|
|
|
|
|
+- float frequencyHz
|
|
|
|
|
+- uint id // readonly
|
|
|
|
|
+- Node@ node // readonly
|
|
|
|
|
+- uint numAttributes // readonly
|
|
|
|
|
+- RigidBody2D@ otherBody
|
|
|
|
|
+- RigidBody2D@ ownerBody // readonly
|
|
|
|
|
+- int refs // readonly
|
|
|
|
|
+- bool temporary
|
|
|
|
|
+- ShortStringHash type // readonly
|
|
|
|
|
+- String typeName // readonly
|
|
|
|
|
+- int weakRefs // readonly
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+### ConstraintWheel2D
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void ApplyAttributes()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer@, bool)
|
|
|
|
|
+- Variant GetAttribute(const String&) const
|
|
|
|
|
+- Variant GetAttributeDefault(const String&) const
|
|
|
|
|
+- bool Load(File@, bool = false)
|
|
|
|
|
+- bool LoadXML(const XMLElement&, bool = false)
|
|
|
|
|
+- void MarkNetworkUpdate() const
|
|
|
|
|
+- void Remove()
|
|
|
|
|
+- void RemoveInstanceDefault()
|
|
|
|
|
+- void ResetToDefault()
|
|
|
|
|
+- bool Save(File@) const
|
|
|
|
|
+- bool SaveXML(XMLElement&) const
|
|
|
|
|
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
|
|
|
+- bool SetAttribute(const String&, const Variant&)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- Vector2 anchor
|
|
|
|
|
+- Variant[] attributeDefaults // readonly
|
|
|
|
|
+- AttributeInfo[] attributeInfos // readonly
|
|
|
|
|
+- Variant[] attributes
|
|
|
|
|
+- Vector2 axis
|
|
|
|
|
+- ShortStringHash baseType // readonly
|
|
|
|
|
+- String category // readonly
|
|
|
|
|
+- bool collideConnected
|
|
|
|
|
+- float dampingRatio
|
|
|
|
|
+- bool enableMotor
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool enabledEffective // readonly
|
|
|
|
|
+- float frequencyHz
|
|
|
|
|
+- uint id // readonly
|
|
|
|
|
+- float maxMotorTorque
|
|
|
|
|
+- float motorSpeed
|
|
|
|
|
+- Node@ node // readonly
|
|
|
|
|
+- uint numAttributes // readonly
|
|
|
|
|
+- RigidBody2D@ otherBody
|
|
|
|
|
+- RigidBody2D@ ownerBody // readonly
|
|
|
|
|
+- int refs // readonly
|
|
|
|
|
+- bool temporary
|
|
|
|
|
+- ShortStringHash type // readonly
|
|
|
|
|
+- String typeName // readonly
|
|
|
|
|
+- int weakRefs // readonly
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
### Controls
|
|
### Controls
|
|
|
|
|
|
|
|
Methods:
|
|
Methods:
|