open fun loadModel(loader: ALoader!, callback: IAsyncLoaderCallback!, tag: Int): ALoader!
Add an ALoader
instance to queue parsing for the given resource ID. Use IAsyncLoaderCallback#onModelLoadComplete(ALoader)
, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
, and
loader
- ALoader!:
tag
- Int:
Return
ALoader!:
open fun loadModel(loaderClass: Class<out ALoader!>!, callback: IAsyncLoaderCallback!, resID: Int): ALoader!
Create and add an ALoader
instance using reflection to queue parsing of the given resource ID. Use IAsyncLoaderCallback#onModelLoadComplete(ALoader)
, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
to monitor the status of loading. Returns null if the loader fails to instantiate, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
will still be called. A tag will be set automatically for the model equal to the resource ID passed.
loaderClass
- Class<out ALoader!>!:
resID
- Int:
Return
ALoader!:
open fun loadModel(loaderClass: Class<out ALoader!>!, callback: IAsyncLoaderCallback!, resID: Int, tag: Int): ALoader!
Create and add an ALoader
instance using reflection to queue parsing of the given resource ID. Use IAsyncLoaderCallback#onModelLoadComplete(ALoader)
, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
to monitor the status of loading. Returns null if the loader fails to instantiate, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
will still be called. Use the tag identified to determine which model completed loading when multiple models are loaded.
loaderClass
- Class<out ALoader!>!:
resID
- Int:
tag
- Int:
Return
ALoader!:
open fun loadModel(loader: ALoader!, callback: IAsyncLoaderCallback!, tag: Int): ALoader!
Add an ALoader
instance to queue parsing for the given resource ID. Use IAsyncLoaderCallback#onModelLoadComplete(ALoader)
, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
, and
loader
- ALoader!:
tag
- Int:
Return
ALoader!:
open fun loadModel(loaderClass: Class<out ALoader!>!, callback: IAsyncLoaderCallback!, resID: Int): ALoader!
Create and add an ALoader
instance using reflection to queue parsing of the given resource ID. Use IAsyncLoaderCallback#onModelLoadComplete(ALoader)
, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
to monitor the status of loading. Returns null if the loader fails to instantiate, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
will still be called. A tag will be set automatically for the model equal to the resource ID passed.
loaderClass
- Class<out ALoader!>!:
resID
- Int:
Return
ALoader!:
open fun loadModel(loaderClass: Class<out ALoader!>!, callback: IAsyncLoaderCallback!, resID: Int, tag: Int): ALoader!
Create and add an ALoader
instance using reflection to queue parsing of the given resource ID. Use IAsyncLoaderCallback#onModelLoadComplete(ALoader)
, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
to monitor the status of loading. Returns null if the loader fails to instantiate, IAsyncLoaderCallback#onModelLoadFailed(ALoader)
will still be called. Use the tag identified to determine which model completed loading when multiple models are loaded.
loaderClass
- Class<out ALoader!>!:
resID
- Int:
tag
- Int:
Return
ALoader!: