Interface IGrabObjects
Provides methods and delegates used to directly select and grab scene objects
Inherited Members
Namespace: Unity.EditorXR.Interfaces
Assembly: solution.dll
Syntax
public interface IGrabObjects : IUsesCanGrabObject, IFunctionalitySubscriber<IProvidesCanGrabObject>, IFunctionalitySubscriber
Methods
Name | Description |
---|---|
DropHeldObjects(Node) | Drop objects held with a given node |
Resume(Node) | Resume acting on objects held with a given node |
Suspend(Node) | Stop acting on objects held with a given node |
TransferHeldObjects(Transform, Transform, Vector3) | Transfer a held object between rayOrigins (i.e. dragging into the MiniWorld) |
Events
Name | Description |
---|---|
objectsDropped | Must be called by the implementer when objects have been dropped Params: the rayOrigin, the dropped objects |
objectsGrabbed | Must be called by the implementer when an object has been grabbed Params: the rayOrign, the grabbed objects |
objectsTransferred | Must be called by the implementer when objects have been transferred Params: the source rayOrigin, the destination rayOrigin |