Expose setting to adjust angular manipulator circle bound (#3932)
* add debug drawing for angular manipulator bounds Signed-off-by: hultonha <hultonha@amazon.co.uk> * remove editor viewport settings from RenderViewport Signed-off-by: hultonha <hultonha@amazon.co.uk> * add setting for angular manipulator circle bound Signed-off-by: hultonha <hultonha@amazon.co.uk> * update minimum value allowed for some camera settings Signed-off-by: hultonha <hultonha@amazon.co.uk> * updates following review feedback, some small tidy-up Signed-off-by: hultonha <hultonha@amazon.co.uk> * update comment Signed-off-by: hultonha <hultonha@amazon.co.uk>
This commit is contained in:
@@ -84,10 +84,9 @@ namespace PhysX
|
||||
m_rotationManipulators[i]->SetAxis(axes[i]);
|
||||
m_rotationManipulators[i]->SetLocalTransform(localTransform);
|
||||
const float manipulatorRadius = 2.0f;
|
||||
const float manipulatorWidth = 0.05f;
|
||||
m_rotationManipulators[i]->SetView(AzToolsFramework::CreateManipulatorViewCircle(
|
||||
*m_rotationManipulators[i], colors[i],
|
||||
manipulatorRadius, manipulatorWidth, AzToolsFramework::DrawHalfDottedCircle));
|
||||
*m_rotationManipulators[i], colors[i], manipulatorRadius,
|
||||
AzToolsFramework::ManipulatorCicleBoundWidth(), AzToolsFramework::DrawHalfDottedCircle));
|
||||
}
|
||||
|
||||
Refresh();
|
||||
|
||||
Reference in New Issue
Block a user