VrmBody
A VRM avatar the player wears: its file, scale, turn and arm spread.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
armColliders? |
ArmColliders |
Left out by a body with no cloth to hold off its arms. |
armSpread |
ArmSpread |
- |
headTurn? |
Partial<HeadTurn> |
How far the body’s head and spine turn to what the character watches, over characterMotion.headTurn’s numbers, such as { followLook: true } for a character that watches where its player looks. |
model |
string |
- |
name? |
string |
The name the Map palette counts a body handed over whole under; left out, it is named for its file, which a production build hashes. |
rotateY? |
number |
Radians about y on top of the turn that brings the body’s front forward; none by default. |
scale |
number |
- |
simplified? |
VrmSimplifiedOptions |
Simplified copies of the body’s skinned meshes the engine draws in their place, each within about a centimetre of the mesh’s outline, made on a worker once a file. Each is off by default. A mesh with a cut-out, a see-through material or morph targets keeps itself. |
springColliderBones? |
readonly VRMHumanBoneName[] |
The bones whose collider groups the file’s spring chains keep; each chain drops its groups on any other bone. Left out, every chain keeps the file’s list. |
subsurface? |
VrmSubsurfaceOptions |
A subsurface falloff on the body’s standard materials, such as skin’s red past the terminator; none by default. |