logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct TransformRotationData

    Data container for a single transform rotation change. Contains the target local Z rotation (degrees) 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 TransformRotationData

    Constructors

    TransformRotationData(float, float)

    Creates a new TransformRotationData with the specified rotation and weight.

    Declaration
    public TransformRotationData(float zDegrees, float weight)
    Parameters
    Type Name Description
    float zDegrees
    float weight

    Fields

    Weight

    Blend weight (0-1) recorded for inspection only. The layer that wrote this entry is responsible for pre-blending its own ZDegrees toward identity (0) by this weight before calling SetLocalZRotation(TransformId, float, float) — mirrors 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

    ZDegrees

    The local Z rotation to apply, in degrees (0 = no change).

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