VrmViewProps
What VrmView takes.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
armColliderRadii? |
ArmColliderRadii |
Storybook’s controls tune the arm colliders in place of the body’s. |
armSpread? |
ArmSpread |
Turned out of the motion’s own pose, for a view that plays one clip. The heroine’s view blends the character’s clips itself and spreads the character’s arms there. |
body |
Pick<VrmBody, "model" | "scale" | "rotateY" | "armColliders" | "simplified" | "subsurface"> |
- |
children? |
(model) => ReactNode |
- |
entity |
Entity |
- |
ground? |
GroundHeight | null |
The ground the spring bones keep the body’s hair and cloth above, in place of the default: the ground under each joint of every Landscape in the entity’s world, as useGroundHeight reads it. Pass null to keep them above a plane through the character’s feet. |
motion? |
string |
- |
obstacles? |
readonly MeshBVH[] |
The bounds trees the spring bones keep off, in world space, in place of the default: every ground’s obstacle bake whose tree is Ready. Pass [] to keep them off none, and a stable array, since a new one makes the colliders again. By default a ground whose tree a worker still builds is skipped: secondary motion leaves its obstacles out for that time, under the loading screen on a first load and for the moments a rebake takes in play. |