flvtterm library

Pure Dart VRM/VRMA parsing, validation, and renderer-neutral runtime APIs.

Classes

GltfAccessor
Parsed glTF accessor.
GltfAccessorSparse
Parsed glTF sparse accessor metadata.
GltfAnimation
Parsed glTF animation.
GltfAnimationChannel
Parsed glTF animation channel.
GltfAnimationEvaluator
Evaluates glTF animation clips from parsed accessors.
GltfAnimationFrame
Evaluated values for a glTF animation at one point in time.
GltfAnimationSampler
Parsed glTF animation sampler.
GltfAsset
Parsed glTF 2.0 asset data needed by VRM runtimes.
GltfBuffer
Parsed glTF buffer.
GltfBufferView
Parsed glTF bufferView.
GltfCamera
Parsed glTF camera.
GltfCameraOrthographic
Parsed glTF orthographic camera parameters.
GltfCameraPerspective
Parsed glTF perspective camera parameters.
GltfImage
Parsed glTF image.
GltfMaterial
Parsed glTF material.
GltfMesh
Parsed glTF mesh.
GltfMeshPrimitive
Parsed glTF mesh primitive.
GltfNode
Parsed glTF node.
GltfNodePose
Partial node pose produced by a glTF animation.
GltfSampler
Parsed glTF texture sampler.
GltfScene
Parsed glTF scene.
GltfSkin
Parsed glTF skin.
GltfTexture
Parsed glTF texture.
GltfTextureTransform
Parsed KHR_texture_transform textureInfo extension.
Vrm0BlendShapeBind
One legacy VRM 0.x morph-target binding.
Vrm0BlendShapeGroup
One legacy VRM 0.x blend-shape expression group.
Vrm0BlendShapeMaster
Legacy VRM 0.x blend-shape expression collection.
Vrm0Collider
One legacy VRM 0.x sphere collider.
Vrm0ColliderGroup
One legacy VRM 0.x collider group.
Vrm0DegreeMap
Legacy VRM 0.x gaze degree map.
Vrm0Extension
Parsed legacy extensions.VRM data from a VRM 0.x asset.
Vrm0FirstPerson
Legacy VRM 0.x first-person and gaze configuration.
Vrm0HumanBone
One legacy VRM 0.x humanoid bone assignment.
Vrm0Humanoid
Legacy VRM 0.x humanoid configuration.
Vrm0MaterialProperty
One legacy VRM 0.x material property entry.
Vrm0MaterialValueBind
One legacy VRM 0.x expression material-value binding.
Vrm0MeshAnnotation
One legacy VRM 0.x first-person mesh annotation.
Vrm0Meta
Legacy VRM 0.x model metadata.
Vrm0SecondaryAnimation
Legacy VRM 0.x secondary-animation configuration.
Vrm0SpringBoneGroup
One legacy VRM 0.x spring-bone group.
VrmAnimationAsset
Parsed VRM Animation asset.
VrmAnimationExtension
Parsed VRMC_vrm_animation 1.0 extension.
VrmBlinkController
Convenience API for blink expressions.
VrmDiagnostic
A structured validation message for a VRM, VRMA, or glTF asset.
VrmDiagnosticSeverity
Base class for validation diagnostic severities.
VrmEmotionController
Convenience API for emotion preset expressions.
VrmError
Error diagnostic.
VrmExpression
One VRM expression definition.
VrmExpressionController
Controls VRM expression input and application.
VrmExpressions
VRM expression definitions.
VrmExtension
Runtime-facing VRM extension data normalized from VRM 0.x or VRM 1.0.
VrmFirstPerson
VRM first-person settings.
VrmFirstPersonController
Applies first-person mesh visibility policy to a scene binding.
VrmFirstPersonMeshAnnotation
First-person visibility annotation for a mesh node.
VrmFkHumanoidRetargeter
Simple FK VRMA humanoid retargeter.
VrmHumanBone
One humanoid bone assignment.
VrmHumanoid
VRM humanoid mapping.
VrmHumanoidRetargeter
Retargets one VRMA humanoid bone pose onto a destination VRM humanoid bone.
VrmInfo
Informational diagnostic.
VrmLipSyncController
Convenience API for lip-sync viseme expressions.
VrmLookAt
VRM LookAt settings.
VrmLookAtController
Controls VRM LookAt output for expression or eye-bone models.
VrmLookAtRangeMap
VRM LookAt range map.
VrmMaterialBinding
Renderer-neutral material binding.
VrmMaterialColorBind
Material color bind in a VRM expression.
VrmMatrix4
Immutable 4x4 matrix storage used by renderer-neutral bindings.
VrmMeshBinding
Renderer-neutral mesh binding.
VrmMeta
VRM model metadata.
VrmModel
Parsed VRM 0.x or VRM 1.0 model asset.
VrmModelRootBinding
Optional binding for avatar root motion outside the glTF node hierarchy.
VrmModelWorldBinding
Optional binding that exposes the avatar's complete model-to-world transform.
VrmMorphTargetBind
Morph target bind in a VRM expression.
VrmMotionController
Plays renderer-neutral motion sources into a runtime binding.
VrmMToonMaterial
Parsed VRMC_materials_mtoon material extension.
VrmNodeBinding
Renderer-neutral node binding.
VrmNodeConstraint
Parsed VRMC_node_constraint extension on a glTF node.
VrmNodeConstraintController
Evaluates VRMC_node_constraint runtime rotations.
VrmParseResult<T>
Result of a non-throwing parse operation.
VrmProgrammaticPose
Static motion source for applying a programmatic pose through VrmMotionController.
VrmRetargetedBonePose
Result of retargeting a single VRMA humanoid bone.
VrmRuntime
Runtime object that can apply renderer-neutral VRM state to a scene binding.
VrmSceneBinding
Renderer-neutral scene binding for applying VRM runtime state.
VrmSpringBone
Runtime-facing spring data parsed from VRM 0.x or VRMC_springBone.
VrmSpringBoneCollider
SpringBone collider.
VrmSpringBoneColliderGroup
SpringBone collider group.
VrmSpringBoneColliderShape
SpringBone collider shape.
VrmSpringBoneController
Evaluates VRMC_springBone procedural joint motion.
VrmSpringBoneJoint
SpringBone joint settings.
VrmSpringBoneSpring
SpringBone spring chain.
VrmTextureInfo
Texture reference used by VRM extension metadata.
VrmTextureTransformBind
Texture transform bind in a VRM expression.
VrmValidationResult
Validation diagnostics collected while parsing or checking an asset.
VrmVector2
Immutable two-component vector used by renderer-neutral bindings.
VrmVector3
Immutable three-component vector used by LookAt targets.
VrmVector4
Immutable four-component vector used by renderer-neutral bindings.
VrmWarning
Warning diagnostic.

Enums

GltfAlphaMode
glTF alpha coverage mode.
GltfCameraType
glTF camera projection type.
GltfMaterialRenderMode
Renderer path selected for a glTF material.
VrmEmotion
High-level emotion expression names.
VrmExpressionOverrideMode
VRM expression procedural override mode.
VrmExpressionPreset
VRM 1.0 preset expression names.
VrmFirstPersonMeshAnnotationType
VRM first-person mesh annotation type.
VrmFirstPersonView
Runtime camera perspective for first-person mesh visibility.
VrmHumanoidBone
Humanoid bone names shared by VRM 0.x and VRM 1.0.
VrmLipSyncPreset
Lip-sync preset convenience names.
VrmLookAtType
VRM LookAt target type.
VrmMetaAvatarPermission
VRM meta avatar permission.
VrmMetaCommercialUsage
VRM meta commercial usage permission.
VrmMetaCreditNotation
VRM meta credit notation requirement.
VrmMetaModification
VRM meta modification permission.
VrmMToonOutlineWidthMode
Parsed MToon outline width mode.
VrmNodeConstraintAimAxis
Aim axis for a node constraint.
VrmNodeConstraintKind
VRMC_node_constraint kind.
VrmNodeConstraintRollAxis
Roll axis for a node constraint.
VrmSourceVersion
VRM specification family used by a parsed model asset.
VrmSpringBoneColliderShapeType
SpringBone collider shape kind.
VrmValidationMode
How strictly asset validation should affect parsing.

Extensions

VrmAdditiveMotionLayers on VrmMotionController
Additive motion-layer controls for VrmMotionController.

Typedefs

GltfUriResolver = Uint8List? Function(String uri)
Resolves non-data: glTF URIs to bytes.
VrmProceduralMotion = VrmProgrammaticPose Function(double timeSeconds)
Produces a renderer-neutral procedural pose for local motion time in seconds.
VrmViseme = VrmLipSyncPreset
Alias used by high-level lip-sync APIs.

Exceptions / Errors

VrmInvalidAssetException
Thrown by strict convenience parsers when an asset has validation errors.