A constraint which makes the constrained object inherit the target's scale.
To influence some object, push a CopyScaleConstraint instance into the Object3D.constraints array.
target — constraint's target object.
See the base TargetConstraint class for common properties.
The percentage of influence the constraint has on the object. Default is 1.0 (100%).
Read-only flag to check if a given object is of type CopyScaleConstraint.
Raises the copied scale to the specified arbitrary power. Default is 1.0.
The constraint's type. Equals to "CopyScaleConstraint".
Uses addition instead of multiplication in the implementation of the useOffset option. Default is false.
Applies an uniform scaling factor to all axes of the owner that achieves the same overall change in volume. Default is false.
When enabled, the constraint combines (multiplies) the copied scale with the owner’s scale, instead of replacing it. Default is false.
Uses the X axis. Default is true.
Uses the Y axis. Default is true.
Uses the Z axis. Default is true.
See the base TargetConstraint class for common methods.
You can use the copy transform puzzle to apply CopyScaleConstraint in a visual manner.
For more info on how to obtain the source code of this module see this page.