Train Simulator NEXT
In This Topic
    IsBindToCamera function
    In This Topic

    Query if the player camera is bind to a camera.

    Syntax

    Copy Code
    bool IsBindToCamera( );

    Parameters

    CameraIndex

    Type: int

    The camera index. If INT32_MAX, this function checks if the player camera is bind to any camera.

    Returns

    Returns true if the player camera is bind to a camera, false if not.

    See Also