Search Results for

    Show / Hide Table of Contents

    Method Clamp

    Clamp(Vector3, Vector3, Vector3)

    Restricts a value to be within a specified range.

    Declaration
    public static Vector3 Clamp(Vector3 value, Vector3 min, Vector3 max)
    Parameters
    Type Name Description
    Vector3 value

    The value to clamp.

    Vector3 min

    The minimum value.

    Vector3 max

    The maximum value.

    Returns
    Type Description
    Vector3

    The clamped value.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX