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

EntityLoader Class

Extends BaseLoader
Modifiers: final
DeprecatedUse glXFManager.inflateGLXF() to inflate GLXF scene instead
Loader that creates entities from XML layout definitions during scene inflation. Extends BaseLoader and parses the 'id' attribute from XML elements to create uniquely identified entities in the DataModel. Used by the scene inflation system to populate the entity hierarchy from declarative XML scene descriptions.

Signature

class EntityLoader : BaseLoader

Constructors

EntityLoader ()
Signature
constructor()

Methods

parse ( ctx , dm , parser )
Signature
fun parse(ctx: LoaderContext, dm: DataModel, parser: XmlResourceParser)
Parameters
parser: XmlResourceParser