Name | Summary |
---|---|
GLXFInfo | constructor(glxfManager: GLXFManager, version: String, experience: Boolean, assets: MutableList<GLXFAsset>, nodes: MutableList<GLXFNode>, rootEntity: Entity, uri: <Error class: unknown class>, context: <Error class: unknown class>, nodeMap: NodeMap = mutableMapOf<Entity, GLXFNode>(), nodesByName: MutableMap<String, GLXFNode> = mutableMapOf<String, GLXFNode>(), keyName: String? = null) |
Name | Summary |
---|---|
experience | val experience: Boolean : The experience property set to true indicates that this file is intended to be directly viewed as an experience and MUST NOT be imported into other scenes. |
glxfManager | val glxfManager: GLXFManager |
keyName | val keyName: String? = null : the key name of the GLXF file. This optional value is used to uniquely identify the GLXF file. |
rootEntity | val rootEntity: Entity : the root entity of the GLXF file |
uri | val uri: <Error class: unknown class> : the URI of the GLXF file |
version | val version: String : the version of the GLXF file, e.g., "2.0" |
Name | Summary |
---|---|
destroy | fun destroy() Immediately destroys GLXFInfo and all its child resources. Removes references from GLXFManager. |
getNestedGLXFInfo | fun getNestedGLXFInfo(childName: String): GLXFInfo? Gets the nested GLXFInfo for a given child name. fun getNestedGLXFInfo(childNamePathList: List<String>): GLXFInfo? Gets the nested GLXFInfo for a given list of child names. |
getNodeByName | |
tryGetNodeByName |