docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ScenePlacementModule.PlacementOverrideData

    Overrides to the ScenePlacementModule based on the PlacementOverride of the dragged object.

    Inheritance
    object
    ScenePlacementModule.PlacementOverrideData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.MARS.Authoring
    Assembly: Unity.MARS.Editor.dll
    Syntax
    public class ScenePlacementModule.PlacementOverrideData

    Properties

    axisOverride

    Object's axis orient override

    Declaration
    public AxisEnum axisOverride { get; }
    Property Value
    Type Description
    AxisEnum

    axisOverrideVector

    Vector of the object's axis override

    Declaration
    public Vector3 axisOverrideVector { get; }
    Property Value
    Type Description
    Vector3

    orientToSurfaceOverride

    Object's orient to surface override

    Declaration
    public bool orientToSurfaceOverride { get; }
    Property Value
    Type Description
    bool

    snapToPivotOverride

    Object's pivot override behavior

    Declaration
    public bool snapToPivotOverride { get; }
    Property Value
    Type Description
    bool

    useAxisOverride

    Use the object's orient to surface override

    Declaration
    public bool useAxisOverride { get; }
    Property Value
    Type Description
    bool

    useOrientToSurfaceOverride

    Use the object's orient to surface override

    Declaration
    public bool useOrientToSurfaceOverride { get; }
    Property Value
    Type Description
    bool

    useSnapToPivotOverride

    Use the object's pivot override

    Declaration
    public bool useSnapToPivotOverride { get; }
    Property Value
    Type Description
    bool

    Methods

    ResetData()

    Reset the PlacementOverrideData's object to default value

    Declaration
    public void ResetData()

    SetOverrideData(PlacementOverride)

    Set the override data to the object's PlacementOverride

    Declaration
    public void SetOverrideData(PlacementOverride overrides)
    Parameters
    Type Name Description
    PlacementOverride overrides
    In This Article
    Back to top
    Copyright © 2025 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)