PhysicsConstraint class
PhysicsConstraint wrapper
- Inheritance
-
- Object
- PosedActive
- PhysicsConstraintBase
- PhysicsConstraint
Constructors
- PhysicsConstraint(PhysicsConstraintData data, Skeleton skeleton)
-
factory
-
PhysicsConstraint.fromPointer(Pointer<
spine_physics_constraint_wrapper> _ptr)
Properties
- active ← bool
-
no getterinherited
- appliedPose → PhysicsConstraintPose
-
no setterinherited
- bone ↔ BonePose
-
The bone constrained by this physics constraint.
getter/setter pair
- data → PhysicsConstraintData
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
no setterinherited
- isPoseEqualToApplied → bool
-
no setterinherited
- isSourceActive → bool
-
no setterinherited
-
nativePtr
→ Pointer<
NativeType> -
Get the native pointer for FFI calls
no setteroverride
- pose → PhysicsConstraintPose
-
no setterinherited
- rtti → Rtti
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
constrained(
) → void -
inherited
-
copy(
Skeleton skeleton) → PhysicsConstraint -
dispose(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
Skeleton skeleton) → void -
resetConstrained(
) → void -
inherited
-
rotate(
double x, double y, double degrees) → void - Rotates the physics constraint so next update() forces are applied as if the bone rotated around the specified point in world space.
-
sort(
Skeleton skeleton) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
double x, double y) → void - Translates the physics constraint so next update() forces are applied as if the bone moved an additional amount in world space.
-
update(
Skeleton skeleton, Physics physics) → void -
Inherited from Update
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited