Stretch : Modifier

Constructor

stretch ...

Properties

<Stretch>.Stretch   Float    default: 0.0      -- animatable

The base scale factor for all three axes. The scale factor derived from the Stretch value varies according to the sign of the value.

<Stretch>.Amplify   Float    default: 0.0      -- animatable

The scale factor applied to the minor axes. Amplify generates a multiplier using the same technique as stretch. The multiplier is then applied to the stretch value before the scale factor for the minor axes is calculated.

<Stretch>.axis      Integer  default: 2

Determines which of the object's local axes is the Stretch Axis:

0- X

1- Y

2- Z

<Stretch>.limit     Boolean  default: false

When on, the stretch effect is limited by the from and to values.

<Stretch>.from      Float    default: 0.0      -- animatable

The boundary of the stretch effect along the negative Stretch Axis.

<Stretch>.to        Float    default: 0.0      -- animatable

The boundary of the stretch effect along the positive Stretch Axis.

<Stretch>.center    Point3   default: [0,0,0]  -- animatable

At this sub-object level, you can translate and animate the center, altering the Stretch gizmo's shape, and thus the shape of the stretched object.

<Stretch>.gizmo     SubAnim

At this sub-object level, you can transform and animate the gizmo like any other object, altering the effect of the Stretch modifier. Translating the gizmo translates its center an equal distance. Rotating and scaling the gizmo takes place with respect to its center.

<Stretch.Gizmo>.position  Point3  default: [0,0,0]        -- animatable

The position of the stretch gizmo.

<Stretch.Gizmo>.rotation  Quat    default: (quat 0 0 0 1) -- animatable

The rotation of the stretch gizmo.

<Stretch.Gizmo>.scale     Point3  default: [1,1,1]        -- animatable

The scale of the stretch gizmo.

See also