//********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
using bs;
namespace bs.Editor
{
/** @addtogroup Handles
* @{
*/
///
/// Base class for all the built-in handle types.
///
public abstract class DefaultHandle : Handle
{
protected Vector3 position;
protected Quaternion rotation;
///
/// World position of the handle.
///
public Vector3 Position
{
get { return position; }
set { position = value; }
}
///
/// World rotation of the handle.
///
public Quaternion Rotation
{
get { return rotation; }
set { rotation = value; }
}
///
/// Checks is the handle currently being interacted with.
///
/// True if the handle is being interacted with (dragged or clicked).
internal abstract bool IsDragged();
}
/** @} */
}