Developer Site
Blog
Discord
Forum
GitHub
Preparing search index...
The search index is not available
PlayCanvas API Reference
PlayCanvas API Reference
Engine
CalculateSortDistanceCallback
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Developer Site
Blog
Discord
Forum
GitHub
PlayCanvas API Reference
Loading...
The mesh instance.