Type Alias CalculateSortDistanceCallback

CalculateSortDistanceCallback: (
    meshInstance: MeshInstance,
    cameraPosition: Vec3,
    cameraForward: Vec3,
) => any

Type declaration

    • (meshInstance: MeshInstance, cameraPosition: Vec3, cameraForward: Vec3): any
    • Parameters

      • meshInstance: MeshInstance

        The mesh instance.

      • cameraPosition: Vec3

        The position of the camera.

      • cameraForward: Vec3

        The forward vector of the camera.

      Returns any