Class PlacementOverride | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class PlacementOverride

    Inheritance
    Object
    PlacementOverride
    Namespace: Unity.MARS
    Syntax
    public class PlacementOverride : MonoBehaviour

    Properties

    axisOverride

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

    axisOverrideVector

    If there is an axis override, then this will contain that value, otherwise it will be null

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

    orientToSurfaceOverride

    If not set to None, objects placed on this target will always use the specified setting for orienting to the surface

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

    snapToPivotOverride

    If not set to None, objects placed on this target will always use the specified setting for snapping to the pivot

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

    useAxisOverride

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

    useOrientToSurfaceOverride

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

    useSnapToPivotOverride

    Declaration
    public bool useSnapToPivotOverride { get; }
    Property Value
    Type Description
    Boolean
    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