void _fullWristControl_BoneHideChanged(object sender, BoneHideChangeEventArgs e) { if (_bones[e.BoneIndex] == null) { return; } if (e.BoneHidden) { _bones[e.BoneIndex].reference(); _root.removeChild(_bones[e.BoneIndex]); } else { _root.addChild(_bones[e.BoneIndex]); _bones[e.BoneIndex].unref(); } }
void _fullWristControl_BoneHideChanged(object sender, BoneHideChangeEventArgs e) { if (_bones[e.BoneIndex] == null) { return; } if (e.BoneHidden) { _bones[e.BoneIndex].reference(); _root.removeChild(_bones[e.BoneIndex]); } else { //have to add child to beginning, otherwise rendering order is screwed up //point clouds need to be rendered first _root.addChildToBeginning(_bones[e.BoneIndex]); _bones[e.BoneIndex].unref(); } }
void _wristControl_BoneHideChanged(object sender, BoneHideChangeEventArgs e) { _bones[e.BoneIndex].setVisibility(!e.BoneHidden); }
void _control_BoneHideChanged(object sender, BoneHideChangeEventArgs e) { _fullXromm.Bones[e.BoneIndex].SetBoneVisibilityManually(!e.BoneHidden); }
void _wristControl_ShowHamChanged(object sender, BoneHideChangeEventArgs e) { _fullWrist.Bones[e.BoneIndex].SetHamVisibility(!e.BoneHidden); }