Struct TransformScaleData
Data container for a single transform scale change. Contains the target scale multiplier and blend weight.
Inherited Members
Namespace: Serenity.ProceduralAnimator.Domain.Entities
Assembly: Serenity.ProceduralAnimator.Domain.dll
Syntax
public struct TransformScaleData
Constructors
TransformScaleData(Vector3, float)
Creates a new TransformScaleData with the specified multiplier and weight.
Declaration
public TransformScaleData(Vector3 scaleMultiplier, float weight)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | scaleMultiplier | |
| float | weight |
Fields
ScaleMultiplier
The scale multiplier to apply (1,1,1 = no change).
Declaration
public Vector3 ScaleMultiplier
Field Value
| Type | Description |
|---|---|
| Vector3 |
Weight
Blend weight (0-1) recorded for inspection only. The layer that wrote this entry is
responsible for pre-blending its own ScaleMultiplier toward identity by this
weight before calling TransformDelta.SetLocalScale — see
TransformScaleSequenceLayerSO.Evaluate's Vector3.Lerp(Vector3.one, currentScale,
effectiveWeight) for the reference implementation. The applier
(UnityTransformApplier) never reads this field and does not lerp on its own behalf.
Declaration
public float Weight
Field Value
| Type | Description |
|---|---|
| float |