Class: PoseSkirtPlugin
@geenee/bodyrenderers-babylon.PoseSkirtPlugin
Pose plugin for armatures with auxiliary skirt bones
PoseSkirtPlugin is an extension of PoseAlignPlugin that controls auxiliary skirt bones of armature if presented. Skirt bones are driven by legs but has additional kinematic constrains to mimic deformation of a fabric more naturally. This technic provides for higher fidelity virtual try-on of apparels that have a loose bottom skirt by controlling this part independently and not making it stick to legs so tightly. Auxiliary skirt bones must be clones of up leg and leg bones and skirt part should be skinned against them instead of legs.
Hierarchy
-
↳
PoseSkirtPlugin
Constructors
constructor
• new PoseSkirtPlugin(node?
, tune?
)
Constructor
Parameters
Name | Type | Description |
---|---|---|
node? | TransformNode | Scene node to attach |
tune | PoseTuneParams | Fine-tuning parameters |
Inherited from
Properties
alignScore
• Readonly
alignScore: 0.9
Pose score threshold
Inherited from
alignVisibility
• Readonly
alignVisibility: 0.9
Keypoint visibility threshold
Inherited from
PoseAlignPlugin.alignVisibility
cameraAngle
• Protected
cameraAngle: number
Camera vertical angle in radians
Inherited from
cameraRatio
• Protected
cameraRatio: number
Camera aspect ratio
Inherited from
loaded
• loaded: boolean
Loaded state
Inherited from
node
• Protected
Optional
node: TransformNode
Scene node to attach
Inherited from
nodeOrigin
• Protected
nodeOrigin: BoneTransform
Origin of node relative to the root bone
Inherited from
ordinal
• ordinal: number
Ordinal number
Inherited from
renderer
• Protected
Optional
renderer: Renderer
<PoseResult
>
Renderer loaded the plugin
Inherited from
scene
• Protected
Optional
scene: Scene
Reference to a scene instance