public void SetSliderCapType(GizmoCap3DType capType) { foreach (var lookAndFeel in _sglSlidersLookAndFeel) { lookAndFeel.CapLookAndFeel.CapType = capType; } }
public void SetAxisCapType(GizmoCap3DType capType) { foreach (var lookAndFeel in _axesCapsLookAndFeel) { lookAndFeel.CapType = capType; } }
public void SetMidCapType(GizmoCap3DType capType) { if (IsMidCapTypeAllowed(capType)) { _midCapLookAndFeel.CapType = capType; } }
public bool IsMidCapTypeAllowed(GizmoCap3DType capType) { return(capType == GizmoCap3DType.Box || capType == GizmoCap3DType.Sphere); }
public bool IsAxisCapTypeAllowed(GizmoCap3DType capType) { return(capType == GizmoCap3DType.Cone || capType == GizmoCap3DType.Pyramid); }