Ejemplo n.º 1
0
        public override void UpdateHandles()
        {
            GizmoHandle targetHandle = _data.TargetHandle;

            targetHandle.Set3DShapeVisible(_data.BorderQuadIndex, _data.Border.IsVisible);
            targetHandle.Set3DShapeVisible(_data.TopBoxIndex, false);
            targetHandle.Set3DShapeVisible(_data.RightBoxIndex, false);
            targetHandle.Set3DShapeVisible(_data.BottomBoxIndex, false);
            targetHandle.Set3DShapeVisible(_data.LeftBoxIndex, false);
            targetHandle.Set3DShapeVisible(_data.TopLeftBoxIndex, false);
            targetHandle.Set3DShapeVisible(_data.TopRightBoxIndex, false);
            targetHandle.Set3DShapeVisible(_data.BottomRightBoxIndex, false);
            targetHandle.Set3DShapeVisible(_data.BottomLeftBoxIndex, false);
        }
Ejemplo n.º 2
0
 public void setType(GizmoHandle.GizmoType gizmoType)
 {
     axisX.setType(gizmoType);
     axisY.setType(gizmoType);
     axisZ.setType(gizmoType);
 }