Esempio n. 1
0
        public static ExtrusionState DoHandle(ref Vector3 position, Axis axis, float?snappingSteps = null)
        {
            var id = GUIUtility.GetControlID(s_HeightSizingHash, FocusType.Keyboard);

            return(ExtrusionHandle.Do(id, ref position, axis, snappingSteps));
        }
Esempio n. 2
0
        public static ExtrusionState DoHandle(Rect dragArea, ref Vector3 position, Axis axis, UnitySceneExtensions.SceneHandles.CapFunction capFunction = null, float?snappingSteps = null)
        {
            var id = GUIUtility.GetControlID(s_HeightSizingHash, FocusType.Keyboard);

            return(ExtrusionHandle.Do(id, dragArea, ref position, axis, capFunction, snappingSteps));
        }