Constraint

LimitScaleConstraint

A constraint which limits the constrained object's scale in its parent's space.

Constraints are used to set up various relations between objects by affecting their position, rotation and scale. Can be used with the Object3D.constraints property.

Constructor

LimitScaleConstraint()

Properties

See the base Constraint class for common properties.

.isLimitScaleConstraint undefined : Boolean

Used to check whether this or derived classes are limit scale constraints. Default is true.

.max undefined : Vector3

A Vector3 holding the maximum scale values along the corresponding axes to limit the constrained object's scale. Default is Vector3(Infinity, Infinity, Infinity).

.min undefined : Vector3

A Vector3 holding the minimum scale values along the corresponding axes to limit the constrained object's scale. Default is Vector3(-Infinity, -Infinity, -Infinity).

.type undefined : String

The constraint's type. Equals to "LimitScaleConstraint".

Methods

See the base Constraint class for common methods.