Class PerlinDriftLayerSO
Procedural layer that applies low-frequency Perlin noise drift to target bones.
Mechanism: Uses Perlin noise to generate smooth, organic, slow-moving rotational offsets. Each bone can have independent noise sampling for natural variation.
Common applications: Idle motion, floating objects, gentle swaying, ambient movement.
Inherited Members
Namespace: Serenity.ProceduralExpression.Infrastructure.ProceduralLayers
Assembly: Serenity.UnityProceduralExpression.Infrastructure.dll
Syntax
public class PerlinDriftLayerSO : ProceduralLayerSO
Constructors
PerlinDriftLayerSO()
Declaration
public PerlinDriftLayerSO()
Methods
Evaluate(in UnityProceduralContext, float, ref PoseDelta)
Evaluates this layer and adds its contribution to the pose delta. Called every frame for all active layers.
Declaration
public override void Evaluate(in UnityProceduralContext ctx, float weight, ref PoseDelta pose)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityProceduralContext | ctx | The procedural context containing state and time information. |
| float | weight | The weight of this layer (0-1). Used for blending. |
| PoseDelta | pose | The pose delta to add contributions to. |