A constraint which makes the constrained object inherit the target's scale.
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.
target — constraint's target object.
See the base TargetConstraint class for common properties.
Used to check whether this or derived classes are copy scale constraints. Default is true
.
The percentage of influence the constraint has on the object. Default is 1.0
(100%).
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.