vrm_schema library

The renderer-independent part of flutter_vrm: GLB and VRM 1.0 parsing.

Import this instead of flutter_vrm.dart to read .vrm files without flutter_scene (for tools or servers).

Classes

GlbContainer
The two chunks of a binary glTF (.glb / .vrm) file.
VrmAimConstraint
Turns the destination so its aimAxis (in its rest local space) points at the source.
VrmAnimation
A VRM Animation (.vrma, VRMC_vrm_animation), converted to what a VRM humanoid consumes: normalized bone rotations (the same space as VrmHumanoidRig.setNormalizedRotation), the hips position, and expression weights.
VrmAnimationTrack
One animated value over time: keyframe times and values (components floats per key; three times that for cubic splines, as in-tangent, value, out-tangent).
VrmDocument
The VRM 1.0 content of a .vrm file, independent of any renderer.
VrmExpressionDefinition
One expression (preset or custom) of VRMC_vrm.expressions.
VrmLookAtDefinition
VRMC_vrm.lookAt.
VrmLookAtRangeMap
A look-at range map: input angle (degrees) to output angle or weight.
VrmMaterialColorBind
A material color driven by an expression.
VrmMeta
meta of VRMC_vrm: who made the avatar and what it may be used for.
VrmMorphTargetBind
A morph target weight driven by an expression.
VrmNodeConstraint
A VRMC_node_constraint on one glTF node (the destination), driven by another node (the source).
VrmRollConstraint
Turns the destination about rollAxis (its own rest axis) by the source's rotation about that axis.
VrmRotationConstraint
Gives the destination the source's rotation from its rest.
VrmSpring
VrmSpringBoneDefinition
VRMC_springBone: the swaying chains (hair, clothes) and their colliders.
VrmSpringCapsule
A capsule from offset to tail.
VrmSpringCollider
VrmSpringColliderGroup
VrmSpringColliderShape
A VRMC_springBone collider shape, in the collider node's local space.
VrmSpringJoint
One joint of a spring chain. Its settings drive the segment from this joint to the next one; the last joint is only the chain's tail.
VrmSpringSphere
VrmTextureTransformBind
A texture UV offset / scale driven by an expression.

Enums

VrmExpressionOverride
How an expression suppresses the blink / lookAt / mouth expressions.
VrmExpressionPreset
VRM 1.0 preset expression names.
VrmHumanBone
VRM 1.0 humanoid bones. Enum names match the humanBones keys.
VrmInterpolation