docs.unity3d.com
    Show / Hide Table of Contents

    Class PlaneGenerationModule

    Inheritance
    Object
    PlaneGenerationModule
    Namespace: UnityEditor.MARS.Data.Synthetic
    Syntax
    [MovedFrom("Unity.MARS")]
    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

    ExtractPlanes(PlaneExtractionSettings)

    Declaration
    public static void ExtractPlanes(PlaneExtractionSettings settings)
    Parameters
    Type Name Description
    PlaneExtractionSettings settings

    SavePlanesFromSimulation(GameObject)

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

    TryDestroyPreviousPlanes(GameObject, String, UndoBlock)

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

    Explicit Interface Implementations

    IModule.LoadModule()

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

    IModule.UnloadModule()

    Declaration
    void IModule.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)
    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