docs.unity3d.com
    显示 / 隐藏目录

    Class ScenePlacementModule.PlacementOverrideData

    Inheritance
    Object
    ScenePlacementModule.PlacementOverrideData
    Namespace: Unity.MARS
    Syntax
    public class PlacementOverrideData

    Properties

    axisOverride

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

    axisOverrideVector

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

    orientToSurfaceOverride

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

    snapToPivotOverride

    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

    Methods

    ResetData()

    Declaration
    public void ResetData()

    SetOverrideData(PlacementOverride)

    Declaration
    public void SetOverrideData(PlacementOverride overrides)
    Parameters
    Type Name Description
    PlacementOverride overrides
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)