logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct TransformPositionData

    Data container for a single transform position change. Contains the local position offset and blend weight.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.ProceduralAnimator.Domain.Entities
    Assembly: Serenity.ProceduralAnimator.Domain.dll
    Syntax
    public struct TransformPositionData

    Constructors

    TransformPositionData(Vector3, float)

    Creates a new TransformPositionData with the specified offset and weight.

    Declaration
    public TransformPositionData(Vector3 offset, float weight)
    Parameters
    Type Name Description
    Vector3 offset
    float weight

    Fields

    Offset

    The local position offset to apply (Vector3.Zero = no change).

    Declaration
    public Vector3 Offset
    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 Offset toward identity (Vector3.Zero) by this weight before calling SetLocalPositionOffset(TransformId, Vector3, float) — mirrors Weight/Weight's convention. The applier (UnityTransformApplier) never reads this field and does not lerp on its own behalf.

    Declaration
    public float Weight
    Field Value
    Type Description
    float
    In this article
    © 2026 Serenity. All Rights Reserved