logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct DirectionalLeanPose

    Resolved constant (non-oscillating) postural offset from SolveLean(double, double, double, double, double, double). All three fields are abstract sign conventions the consuming layer maps onto its own measured bone axes — see SolveLean(double, double, double, double, double, double)'s remarks.

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

    Constructors

    DirectionalLeanPose(double, double, double)

    Declaration
    public DirectionalLeanPose(double pitchDegrees, double rollDegrees, double headYawDegrees)
    Parameters
    Type Name Description
    double pitchDegrees
    double rollDegrees
    double headYawDegrees

    Fields

    HeadYawDegrees

    Head yaw (degrees) toward the travel direction. Positive = toward the positive dirLateral side.

    Declaration
    public readonly double HeadYawDegrees
    Field Value
    Type Description
    double

    PitchDegrees

    Torso pitch (degrees). Positive = lean forward, negative = lean back.

    Declaration
    public readonly double PitchDegrees
    Field Value
    Type Description
    double

    RollDegrees

    Torso roll (degrees). Positive = lean toward the positive dirLateral side.

    Declaration
    public readonly double RollDegrees
    Field Value
    Type Description
    double
    In this article
    © 2026 Serenity. All Rights Reserved