Class AffordanceAnimationDefinition | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class AffordanceAnimationDefinition

    Definition containing data utilized to change the translation/rotation of an affordance

    Inheritance
    Object
    AffordanceAnimationDefinition
    Namespace: UnityEditor.Experimental.EditorVR.Core
    Syntax
    [Serializable]
    public class AffordanceAnimationDefinition

    Properties

    max

    The maximum value to which an affordance can be translated/rotated

    Declaration
    public float max { get; }
    Property Value
    Type Description
    Single

    min

    The minimum value to which an affordance can be translated/rotated

    Declaration
    public float min { get; }
    Property Value
    Type Description
    Single

    reverseForRightHand

    Bool denoting that the defined translation/rotation should be reversed for the right hand

    Declaration
    public bool reverseForRightHand { get; }
    Property Value
    Type Description
    Boolean

    rotateAxes

    The axes on which to perform rotation of an affordance

    Declaration
    public AxisFlags rotateAxes { get; }
    Property Value
    Type Description
    AxisFlags

    translateAxes

    The axes on which to perform translation of an affordance

    Declaration
    public AxisFlags translateAxes { get; }
    Property Value
    Type Description
    AxisFlags
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023