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 )
Signature
constructor(scene: Scene, meshFactory: () -> SceneMesh, namePrefix: String)
Parameters
scene: Scene
meshFactory: Function0
namePrefix: String

Methods

borrow ()
Signature
fun borrow(): SceneObject
destroy ()
Signature
fun destroy()
getBorrowedCount ()
Signature
fun getBorrowedCount(): Int
Returns
Int
reset ()
Signature
fun reset()