Interface IManipulator
Gives decorated class access to the GameObject over which a particular ray is hovering
Namespace: Unity.EditorXR
Assembly: solution.dll
Syntax
public interface IManipulator
Properties
Name | Description |
---|---|
dragging | Bool denoting the drag-state of a manipulator that implements this interface |
rotate | Delegate that processes the rotation, using the quaternion passed in |
scale | Delegate that processes the scale, using the vector3 passed in |
translate | Delegate that processes the translation, using the vector3 passed in Caller also provides the ray origin that is doing the action, and which axes are constrained, if any |
Events
Name | Description |
---|---|
dragEnded | Delegate that is called once after every drag ends |
dragStarted | Delegate that is called once after every drag starts |