docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UsesSnappingMethods

    Extension methods for implementors of IUsesSnapping

    Inheritance
    object
    UsesSnappingMethods
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.EditorXR.Interfaces
    Assembly: solution.dll
    Syntax
    public static class UsesSnappingMethods

    Methods

    Name Description
    ClearSnappingState(IUsesSnapping, Transform)

    Clear state information for a given ray

    DirectSnap(IUsesSnapping, Transform, Transform, ref Vector3, ref Quaternion, Vector3, Quaternion)

    Perform direct snapping: Transform a position/rotation directly while also respecting snapping

    ManipulatorSnap(IUsesSnapping, Transform, Transform[], ref Vector3, ref Quaternion, Vector3, AxisFlags, PivotMode)

    Perform manipulator snapping: Translate a position vector using deltas while also respecting snapping

    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)