public ImportExportScreen(EmbodyContext context, IEmbody embody, IWorldScaleModule worldScale, ISnugModule snug) : base(context) { _embody = embody; _worldScale = worldScale; _snug = snug; }
public EmbodyContext(MVRScript plugin, IEmbody embody) { this.plugin = plugin; this.embody = embody; containingAtom = plugin.containingAtom; leftHandToggle = new JSONStorableBool("Left Hand Enabled", true, val => { trackers.leftHandMotionControl.enabled = val; trackers.RefreshHands(); embody.Refresh(); }) { isStorable = false }; rightHandToggle = new JSONStorableBool("Right Hand Enabled", true, val => { trackers.rightHandMotionControl.enabled = val; trackers.RefreshHands(); embody.Refresh(); }) { isStorable = false }; }
public EmbodyContext(MVRScript plugin, IEmbody embody) { this.plugin = plugin; this.embody = embody; containingAtom = plugin.containingAtom; if (containingAtom.type == "Person") { bones = containingAtom.transform.Find("rescale2").GetComponentsInChildren <DAZBone>(); } }
public EmbodyContext(MVRScript plugin, IEmbody embody) { this.plugin = plugin; this.embody = embody; }
public ActivateWithoutSnugStep(IEmbody embody, ISnugModule snug) { _embody = embody; _snug = snug; }
public ActivateStep(IEmbody embody) { _embody = embody; }