public SceneGizmoLookAndFeel() { for (int axisIndex = 0; axisIndex < _axesCapsLookAndFeel.Length; ++axisIndex) { _axesCapsLookAndFeel[axisIndex] = new GizmoCap3DLookAndFeel(); } SetMidCapColor(RTSystemValues.CenterAxisColor); SetMidCapType(GizmoCap3DType.Box); SetAxisCapColor(RTSystemValues.XAxisColor, 0, AxisSign.Positive); SetAxisCapColor(RTSystemValues.YAxisColor, 1, AxisSign.Positive); SetAxisCapColor(RTSystemValues.ZAxisColor, 2, AxisSign.Positive); SetAxisCapColor(RTSystemValues.CenterAxisColor, 0, AxisSign.Negative); SetAxisCapColor(RTSystemValues.CenterAxisColor, 1, AxisSign.Negative); SetAxisCapColor(RTSystemValues.CenterAxisColor, 2, AxisSign.Negative); SetAxisCapType(GizmoCap3DType.Cone); OnScreenSizeChanged(); }
public SceneGizmoLookAndFeel() { for (int axisIndex = 0; axisIndex < _axesCapsLookAndFeel.Length; ++axisIndex) { _axesCapsLookAndFeel[axisIndex] = new GizmoCap3DLookAndFeel(); } SetMidCapColor(RTSystemValues.CenterAxisColor); SetMidCapType(GizmoCap3DType.Box); SetAxisCapColor(RTSystemValues.XAxisColor, 0, AxisSign.Positive); SetAxisCapColor(RTSystemValues.YAxisColor, 1, AxisSign.Positive); SetAxisCapColor(RTSystemValues.ZAxisColor, 2, AxisSign.Positive); SetAxisCapColor(RTSystemValues.CenterAxisColor, 0, AxisSign.Negative); SetAxisCapColor(RTSystemValues.CenterAxisColor, 1, AxisSign.Negative); SetAxisCapColor(RTSystemValues.CenterAxisColor, 2, AxisSign.Negative); SetAxisCapType(GizmoCap3DType.Cone); _midCapLookAndFeel.BoxWidth = MidCapBoxSize; _midCapLookAndFeel.BoxHeight = MidCapBoxSize; _midCapLookAndFeel.BoxDepth = MidCapBoxSize; _midCapLookAndFeel.SphereRadius = MidCapSphereRadius; }