[page:Constraint] →

[name]

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 [page:Object3D.constraints Object3D.constraints] property.

Constructor

[name]()

Properties

See the base [page:Constraint] class for common properties.

[property:Boolean isLimitScaleConstraint]

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

[property:Vector3 max]

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

[property:Vector3 min]

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

[property:String type]

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

Methods

See the base [page:Constraint] class for common methods.