gltf/gltf_helper library
Classes
Properties
- addPrimitiveAttributes ↔ Function
-
@param {BufferGeometry} geometry
@param {GLTF.Primitive} primitiveDef
@param {GLTFParser} parser
@return {Promise
getter/setter pair
- addUnknownExtensionsToUserData ↔ Function
-
getter/setter pair
- assignExtrasToUserData ↔ Function
-
@param {Object3D|Material|BufferGeometry} object
@param {GLTF.definition} gltfDef
getter/setter pair
- computeBounds ↔ Function
-
@param {BufferGeometry} geometry
@param {GLTF.Primitive} primitiveDef
@param {GLTFParser} parser
getter/setter pair
- createAttributesKey ↔ Function
-
getter/setter pair
- createDefaultMaterial ↔ Function
-
Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#default-material
getter/setter pair
- createPrimitiveKey ↔ Function
-
getter/setter pair
-
gltfAlphaModes
→ Map<
String, String> -
final
-
gltfInterpolation
→ Map<
String, int?> -
final
- toTrianglesDrawMode ↔ Function
-
@param {BufferGeometry} geometry
@param {Number} drawMode
@return {BufferGeometry}
getter/setter pair
- updateMorphTargets ↔ Function
-
@param {Mesh} mesh
@param {GLTF.Mesh} meshDef
getter/setter pair
-
webglAttributes
→ Map<
String, String> -
final
-
webglComponentTypes
→ Map<
int, Type> -
final
-
webglConstants
→ Map<
String, int> -
*********************************/
********** INTERNALS ************/
*********************************/
final
-
webglCTBPE
→ Map<
int, int> -
final
-
webglFilters
→ Map<
int, int> -
final
-
webglTypeSize
→ Map<
String, int> -
final
-
webglWrappings
→ Map<
int, int> -
final
Functions
-
addMorphTargets(
BufferGeometry geometry, dynamic targets, GLTFParser parser) → Future< BufferGeometry> - Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#morph-targets
-
getNormalizedComponentScale(
dynamic constructor) → double