logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct RailPoseSampler.PoseResult

    Result of a rail pose sample containing position and rotation.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.GameRail.Infrastructure.Utils
    Assembly: Serenity.UnityGameRail.Infrastructure.dll
    Syntax
    public readonly struct RailPoseSampler.PoseResult

    Constructors

    PoseResult(Vector3, Quaternion)

    Declaration
    public PoseResult(Vector3 position, Quaternion rotation)
    Parameters
    Type Name Description
    Vector3 position
    Quaternion rotation

    Fields

    Position

    Interpolated world-space position on the rail.

    Declaration
    public readonly Vector3 Position
    Field Value
    Type Description
    Vector3

    Rotation

    Orientation derived from the tangent at the sampled point.

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