Class BoneGizmoSystem
- Namespace
- WitShells.WitPose.Editor.SceneGizmos
Interactive bone gizmos in Scene View Primary UX for bone manipulation
public class BoneGizmoSystem
- Inheritance
-
BoneGizmoSystem
- Inherited Members
Constructors
BoneGizmoSystem(SkeletonCache, BonePoseSystem, WitPoseEditor)
public BoneGizmoSystem(SkeletonCache skeleton, BonePoseSystem poseSystem, WitPoseEditor editorWindow = null)
Parameters
skeletonSkeletonCacheposeSystemBonePoseSystemeditorWindowWitPoseEditor
Properties
IsActive
public bool IsActive { get; }
Property Value
ShowConnections
public bool ShowConnections { get; set; }
Property Value
ShowRotationHandles
public bool ShowRotationHandles { get; set; }
Property Value
UseProxyBones
public bool UseProxyBones { get; set; }
Property Value
Methods
Activate()
public void Activate()
ClearSelection()
Clear selection
public void ClearSelection()
Deactivate()
public void Deactivate()
SelectBone(HumanBodyBones)
Select bone programmatically
public void SelectBone(HumanBodyBones bone)
Parameters
boneHumanBodyBones
SetProxyBoneMapping(Dictionary<Transform, Transform>)
Set proxy bone mapping for constraint-driven rigs
public void SetProxyBoneMapping(Dictionary<Transform, Transform> mapping)
Parameters
mappingDictionary<Transform, Transform>