PhysicsConstraintData class
Stores the setup pose for a PhysicsConstraint.
See https://esotericsoftware.com/spine-physics-constraints Physics constraints in the Spine User Guide.
- Inheritance
- Implemented types
Constructors
- PhysicsConstraintData(String name)
-
factory
-
PhysicsConstraintData.fromPointer(Pointer<
spine_physics_constraint_data_wrapper> _ptr)
Properties
- bone ↔ BoneData
-
The bone constrained by this physics constraint.
getter/setter pair
- dampingGlobal ↔ bool
-
getter/setter pair
- gravityGlobal ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- inertiaGlobal ↔ bool
-
getter/setter pair
- limit ↔ double
-
getter/setter pair
- massGlobal ↔ bool
-
getter/setter pair
- mixGlobal ↔ bool
-
getter/setter pair
- name → String
-
The constraint's name, which is unique across all constraints in the
skeleton of the same type.
no setterinherited
-
nativePtr
→ Pointer<
NativeType> -
Get the native pointer for FFI calls
no setteroverride
- rotate ↔ double
-
getter/setter pair
- rtti → Rtti
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleX ↔ double
-
getter/setter pair
- setupPose → PhysicsConstraintPose
-
no setter
- shearX ↔ double
-
getter/setter pair
- skinRequired ↔ bool
-
When true, Skeleton::updateWorldTransform(Physics) only updates this
constraint if the Skeleton::getSkin() contains this constraint.
getter/setter pairinherited
- step ↔ double
-
getter/setter pair
- strengthGlobal ↔ bool
-
getter/setter pair
- windGlobal ↔ bool
-
getter/setter pair
- x ↔ double
-
getter/setter pair
- y ↔ double
-
getter/setter pair
Methods
-
createMethod(
Skeleton skeleton) → Constraint -
override
-
dispose(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
rttiStatic(
) → Rtti -
override