Defines the minimum interface to fullfil in order to be a sprite manager.
Gets or sets a boolean indicating if the mesh can be picked (by scene.pick for instance or through actions). Default is true
Restricts the camera to viewing objects with the same layerMask. A camera with a layerMask of 1 will render spriteManager.layerMask & camera.layerMask!== 0
Specifies the rendering group id for this mesh (0 by default)
Defines the list of sprites managed by the manager.
Releases all held resources
Tests the intersection of a sprite with a specific ray.
The ray we are sending to test the collision
The camera space we are sending rays in
A predicate allowing excluding sprites from the list of object to test
Is the hit test done in a OOBB or AOBB fashion the faster, the less precise
picking info or null.
Intersects the sprites with a ray
defines the ray to intersect with
defines the current active camera
defines a predicate used to select candidate sprites
null if no hit or a PickingInfo array
Renders the list of sprites on screen.
Generated using TypeDoc