mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
guiObjectView.setCameraRotation()
Added a new method to set the guiObjectView camera on it's orbit in relation to the object.
This commit is contained in:
parent
00513230b3
commit
9205561c96
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ class GuiObjectView : public GuiTSCtrl
|
||||||
|
|
||||||
F32 mMaxOrbitDist;
|
F32 mMaxOrbitDist;
|
||||||
F32 mMinOrbitDist;
|
F32 mMinOrbitDist;
|
||||||
|
EulerF mCameraRotation;
|
||||||
|
|
||||||
///
|
///
|
||||||
F32 mOrbitDist;
|
F32 mOrbitDist;
|
||||||
|
|
@ -245,6 +246,9 @@ class GuiObjectView : public GuiTSCtrl
|
||||||
/// @param distance The distance to set the orbit to (will be clamped).
|
/// @param distance The distance to set the orbit to (will be clamped).
|
||||||
void setOrbitDistance( F32 distance );
|
void setOrbitDistance( F32 distance );
|
||||||
|
|
||||||
|
/// Sets the angle of the camera on it's orbit in relation to the object.
|
||||||
|
void setCameraRotation( const EulerF& rotation );
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
/// @name Lighting
|
/// @name Lighting
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue