API reference
API reference
Select your platform
No SDKs available
No versions available

IsdkSceneObjectPool Class

Modifiers: final

Signature

class IsdkSceneObjectPool(scene: Scene, meshFactory: () -> SceneMesh, namePrefix: String)

Constructors

IsdkSceneObjectPool ( scene , meshFactory , namePrefix ) : IsdkSceneObjectPool
Signature
constructor(scene: Scene, meshFactory: () -> SceneMesh, namePrefix: String)
Parameters
scene: Scene
meshFactory: Function0
namePrefix: String

Functions

borrow () : SceneObject
Signature
fun borrow(): SceneObject
destroy ()
Signature
fun destroy()
getBorrowedCount () : Int
Signature
fun getBorrowedCount(): Int
Returns
Int
reset ()
Signature
fun reset()
Did you find this page helpful?
Thumbs up icon
Thumbs down icon