private void OnGizmoTransformChanged(GizmoTransform gizmoTransform, GizmoTransform.ChangeData changeData) { if (changeData.ChangeReason == GizmoTransform.ChangeReason.ParentChange || changeData.TRSDimension == GizmoDimension.Dim3D) { UpdateCamLookSlider(Gizmo.GetWorkCamera()); } }
private void OnTransformChanged(GizmoTransform transform, GizmoTransform.ChangeData changeData) { if (changeData.TRSDimension == GizmoDimension.Dim2D || changeData.ChangeReason == GizmoTransform.ChangeReason.ParentChange) { _controllers[(int)LookAndFeel.CapType].UpdateTransforms(); } }
private void OnTransformChanged(GizmoTransform transform, GizmoTransform.ChangeData changeData) { if (changeData.ChangeReason == GizmoTransform.ChangeReason.ParentChange || changeData.TRSDimension == GizmoDimension.Dim3D) { _controllers[(int)LookAndFeel.CapType].UpdateTransforms(GetZoomFactor(Gizmo.GetWorkCamera())); } }
private void OnTransformChanged(GizmoTransform transform, GizmoTransform.ChangeData changeData) { if (changeData.TRSDimension == GizmoDimension.Dim2D || changeData.ChangeReason == GizmoTransform.ChangeReason.ParentChange) { _controllers[(int)LookAndFeel.LineType].UpdateTransforms(); _cap2D.CapSlider2D(GetRealDirection(), GetRealEndPosition()); } }
private void OnTransformChanged(GizmoTransform transform, GizmoTransform.ChangeData changeData) { if (changeData.ChangeReason == GizmoTransform.ChangeReason.ParentChange || changeData.TRSDimension == GizmoDimension.Dim3D) { Camera camera = Gizmo.GetWorkCamera(); float zoomFactor = GetZoomFactor(camera); _controllers[(int)LookAndFeel.LineType].UpdateTransforms(zoomFactor); _cap3D.CapSlider3D(GetRealDirection(), GetRealEndPosition(zoomFactor)); } }
private void OnChanged(GizmoTransform.ChangeData changeData) { if (changeData.TRSDimension == GizmoDimension.Dim3D) { _firingChanged3DEvent = true; if (Changed != null) { Changed(this, changeData); } _firingChanged3DEvent = false; } else { _firingChanged2DEvent = true; if (Changed != null) { Changed(this, changeData); } _firingChanged2DEvent = false; } }
private void OnGizmoTransformChanged(GizmoTransform gizmoTransform, GizmoTransform.ChangeData changeData) { UpdateExtrudeSliderTransforms(); }
private void OnGizmoTransformChanged(GizmoTransform transform, GizmoTransform.ChangeData changeData) { Update2DGizmoPosition(); }
private void OnGizmoTransformChanged(GizmoTransform gizmoTransform, GizmoTransform.ChangeData changeData) { UpdateTickPositions(); }