ConstraintResource class

Constructors

ConstraintResource(Pointer<cpConstraint> _constraint)

Properties

a Body
no setter
b Body
no setter
errorBias double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDampedRotarySpring bool
no setter
isDampedSpring bool
no setter
isExist bool
no setter
isGearJoint bool
no setter
isGrooveJoint bool
no setter
isPinJoint bool
no setter
isPivotJoint bool
no setter
isRatchetJoint bool
no setter
isRotaryLimitJoint bool
no setter
isSimpleMotor bool
no setter
isSlideJoint bool
no setter
maxForce double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toPointer Pointer<cpConstraint>
no setter

Methods

destroy() → void
getBodyA() Body
getBodyB() Body
getCollideBodies() bool
getErrorBias() double
getImpulse() double
getMaxBias() double
getMaxForce() double
getSpace() Space
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCollideBodies(bool collideBodies) → void
setCollideBody(bool collideBodies) → void
setErrorBias(double errorBias) → void
setMaxBias(double maxBias) → void
setMaxForce(double force) → void
setPostSolveFunc(void postSolveFunc(Constraint constraint, Space space)) → void
setPreSolveFunc(void preSolveFunc(Constraint constraint, Space space)) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited