logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum RailAdvanceMode

    How Advance(float, RailAdvanceMode) handles the [0, 1] boundary.

    Namespace: Serenity.GameRail.Domain.ValueObjects
    Assembly: Serenity.GameRail.Domain.dll
    Syntax
    public enum RailAdvanceMode

    Fields

    Name Description
    Clamp

    Stops at the boundary: values below 0 or above 1 are clamped in place.

    Loop

    Wraps around the boundary: values loop back into [0, 1), including multiple full laps.

    In this article
    © 2026 Serenity. All Rights Reserved