- Preparing search index...
- The search index is not available
gophergfx
Methods
Static
loadGLTF
- loadGLTF(filename: string, callback?: null | ((rootNode: Node3) => void), recursive?: boolean): Node3
-
Parameters
-
filename: string
-
callback: null | ((rootNode: Node3) => void) = null
-
recursive: boolean = true
Static
loadOBJ
- loadOBJ(filename: string, callback?: null | ((loadedMesh: Mesh3) => void)): Mesh3
-
Parameters
-
filename: string
-
callback: null | ((loadedMesh: Mesh3) => void) = null
Static
loadPLY
- loadPLY(filename: string, callback?: null | ((loadedMesh: Mesh3) => void)): Mesh3
-
Parameters
-
filename: string
-
callback: null | ((loadedMesh: Mesh3) => void) = null
Loads an OBJ file
Returns
A Mesh object containing the data loaded from the file