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

    Class PlaneGenerationModule

    Inheritance
    Object
    PlaneGenerationModule
    Namespace: Unity.MARS
    Syntax
    public class PlaneGenerationModule : IModule, IUsesPlaneFinding, IFunctionalitySubscriber<IProvidesPlaneFinding>, IFunctionalitySubscriber

    Properties

    provider

    Declaration
    public IProvidesPlaneFinding provider { get; set; }
    Property Value
    Type Description
    IProvidesPlaneFinding
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    Methods

    LoadModule()

    Declaration
    public void LoadModule()
    Implements
    IModule.LoadModule()

    SavePlanesFromSimulation(GameObject)

    Declaration
    public void SavePlanesFromSimulation(GameObject environmentRoot)
    Parameters
    Type Name Description
    GameObject environmentRoot

    TryDestroyPreviousPlanes(GameObject, String, UndoBlock)

    Declaration
    public static void TryDestroyPreviousPlanes(GameObject environmentRoot, string confirmDestroyDialogTitle, UndoBlock undoBlock)
    Parameters
    Type Name Description
    GameObject environmentRoot
    String confirmDestroyDialogTitle
    UndoBlock undoBlock

    UnloadModule()

    Declaration
    public void UnloadModule()
    Implements
    IModule.UnloadModule()

    Extension Methods

    IUsesPlaneFindingMethods.GetPlanes(IUsesPlaneFinding, List<MRPlane>)
    IUsesPlaneFindingMethods.SubscribePlaneAdded(IUsesPlaneFinding, Action<MRPlane>)
    IUsesPlaneFindingMethods.UnsubscribePlaneAdded(IUsesPlaneFinding, Action<MRPlane>)
    IUsesPlaneFindingMethods.SubscribePlaneUpdated(IUsesPlaneFinding, Action<MRPlane>)
    IUsesPlaneFindingMethods.UnsubscribePlaneUpdated(IUsesPlaneFinding, Action<MRPlane>)
    IUsesPlaneFindingMethods.SubscribePlaneRemoved(IUsesPlaneFinding, Action<MRPlane>)
    IUsesPlaneFindingMethods.UnsubscribePlaneRemoved(IUsesPlaneFinding, Action<MRPlane>)
    IUsesPlaneFindingMethods.StopDetectingPlanes(IUsesPlaneFinding)
    IUsesPlaneFindingMethods.StartDetectingPlanes(IUsesPlaneFinding)
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)