three_dart_jsm/three_dart_jsm/loaders/index library

Classes

AnimationParser
BinaryParser
BinaryReader
FBXLoader
FBXTree
FBXTreeParser
GeometryParser
GLTFBinaryExtension
GLTFCubicSplineInterpolant
GLTFDracoMeshCompressionExtension
DRACO Mesh Compression Extension
GLTFExtension
GLTFLightsExtension
Punctual Lights Extension
GLTFLoader
GLTFMaterialsClearcoatExtension
Clearcoat Materials Extension
GLTFMaterialsIorExtension
Materials ior Extension
GLTFMaterialsPbrSpecularGlossinessExtension
GLTFMaterialsSheenExtension
Sheen Materials Extension
GLTFMaterialsSpecularExtension
Materials specular Extension
GLTFMaterialsTransmissionExtension
Transmission Materials Extension
GLTFMaterialsUnlitExtension
Unlit Materials Extension
GLTFMaterialsVolumeExtension
Materials Volume Extension
GLTFMeshoptCompression
meshopt BufferView Compression Extension
GLTFMeshQuantizationExtension
Mesh Quantization Extension
GLTFMeshStandardSGMaterial
A sub class of StandardMaterial with some of the functionality changed via the onBeforeCompile callback @pailhead
GLTFParser
GLTFRegistry
GLTFTextureBasisUExtension
BasisU Texture Extension
GLTFTextureDDSExtension
DDS Texture Extension
GLTFTextureTransformExtension
Texture Transform Extension
GLTFTextureWebPExtension
WebP Texture Extension
GLTypeData
LUTCubeLoader
MaterialCreator
Create a new MTLLoader.MaterialCreator @param baseUrl - Url relative to which textures are loaded @param options - Set of options on how to construct the materials side: Which side to apply the material FrontSide (default), THREE.BackSide, THREE.DoubleSide wrap: What type of wrapping to apply for textures RepeatWrapping (default), THREE.ClampToEdgeWrapping, THREE.MirroredRepeatWrapping normalizeRGB: RGBs need to be normalized to 0-1 from 0-255 Default: false, assumed to be already normalized ignoreZeroRGBs: Ignore values of RGBs (Ka,Kd,Ks) that are all 0's Default: false @constructor
MTLLoader
Loads a Wavefront .mtl file specifying materials
OBJLoader
ParserState
ParseStateMaterial
ParseStateObject
PATH_PROPERTIES
RGBELoader
STLLoader
Description: A THREE loader for STL ASCII files, as created by Solidworks and other CAD programs.
TextParser
TTFLoader
Requires opentype.js to be included in the project. Loads TTF files and converts them into typeface JSON that can be used directly to create THREE.Font objects.
TypedKeyframeTrack
TYPRLoader
Requires opentype.js to be included in the project. Loads TTF files and converts them into typeface JSON that can be used directly to create THREE.Font objects.

Properties

addPrimitiveAttributes Function
@param {BufferGeometry} geometry @param {GLTF.Primitive} primitiveDef @param {GLTFParser} parser @return {Promise
getter/setter pair
addUnknownExtensionsToUserData Function
getter/setter pair
ALPHA_MODES Map<String, String>
getter/setter pair
assignExtrasToUserData Function
@param {Object3D|Material|BufferGeometry} object @param {GLTF.definition} gltfDef
getter/setter pair
ATTRIBUTES Map<String, String>
getter/setter pair
BINARY_EXTENSION_CHUNK_TYPES Map<String, int>
getter/setter pair
BINARY_EXTENSION_HEADER_LENGTH int
getter/setter pair
BINARY_EXTENSION_HEADER_MAGIC String
getter/setter pair
computeBounds Function
@param {BufferGeometry} geometry @param {GLTF.Primitive} primitiveDef @param {GLTFParser} parser
getter/setter pair
connections Map
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
dataArray List
getter/setter pair
EXTENSIONS Map<String, String>
getter/setter pair
fbxTree FBXTree
Loader loads FBX file and generates Group representing FBX scene. Requires FBX file to be >= 7.0 and in ASCII or >= 6400 in Binary format Versions lower than this may load but will probably have errors
getter/setter pair
INTERPOLATION Map<String, int?>
getter/setter pair
sceneGraph ↔ dynamic
getter/setter pair
tempEuler Euler
getter/setter pair
tempVec Vector3
getter/setter pair
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
WEBGL_COMPONENT_TYPES Map<int, Type>
getter/setter pair
WEBGL_COMPONENT_TYPES_BYTES_PER_ELEMENT Map<int, int>
getter/setter pair
WEBGL_CONSTANTS Map<String, int>
getter/setter pair
WEBGL_FILTERS Map<int, int>
getter/setter pair
WEBGL_TYPE_SIZES Map<String, int>
getter/setter pair
WEBGL_WRAPPINGS Map<int, int>
getter/setter pair

Functions

addMorphTargets(dynamic geometry, dynamic targets, dynamic parser) → dynamic
Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#morph-targets
append(dynamic a, dynamic b) → dynamic
convertArrayBufferToString(Uint8List buffer, [int? from, int? to]) → dynamic
convertFBXTimeToSeconds(dynamic time) → dynamic
generateTransform(Map transformData) → dynamic
getData(dynamic polygonVertexIndex, dynamic polygonIndex, dynamic vertexIndex, dynamic infoObject) → dynamic
getEulerOrder(dynamic order) → dynamic
getFbxVersion(dynamic text) → dynamic
getNormalizedComponentScale(dynamic constructor) → dynamic
inject(dynamic a1, dynamic index, dynamic a2) → dynamic
isFbxFormatASCII(String text) → dynamic
isFbxFormatBinary(Uint8List buffer) bool
parseInt(dynamic v) int?
parseNumberArray(dynamic value) → dynamic
slice(dynamic a, dynamic b, dynamic from, dynamic to) → dynamic