docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)