docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MarsObjectCreation

    Utility methods for creating MARS preset objects

    Inheritance
    object
    MarsObjectCreation
    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 static class MarsObjectCreation

    Methods

    CreateElevatedSurfacePreset(Transform)

    Create a GameObject that is set up as a MARS Elevated Surface Proxy

    Declaration
    public static GameObject CreateElevatedSurfacePreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateFaceLandmarkVisualsPreset(Transform)

    Create a GameObject that is set up as a MARS Face Landmark Visuals Proxy

    Declaration
    public static GameObject CreateFaceLandmarkVisualsPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateFaceMaskPreset(Transform)

    Create a GameObject that is set up as a MARS Face Mask Proxy

    Declaration
    public static GameObject CreateFaceMaskPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateFloorObjectPreset(Transform)

    Create a GameObject that is set up as a MARS Floor Object Proxy

    Declaration
    public static GameObject CreateFloorObjectPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateHorizontalPlanePreset(Transform)

    Create a GameObject that is set up as a MARS Horizontal Plane Proxy

    Declaration
    public static GameObject CreateHorizontalPlanePreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateImageMarkerPreset(Transform)

    Create a GameObject that is set up as a MARS Image Marker Proxy

    Declaration
    public static GameObject CreateImageMarkerPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateLightEstimationVisualsPreset(Transform)

    Create a GameObject that is set up as a MARS Light Estimation Visuals Proxy

    Declaration
    public static GameObject CreateLightEstimationVisualsPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateMeshVisualsPreset(Transform)

    Create a GameObject that is set up as a MARS Mesh Visuals Proxy

    Declaration
    public static GameObject CreateMeshVisualsPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreatePlaneVisualsPreset(Transform)

    Create a GameObject that is set up as a MARS Plane Visuals Proxy

    Declaration
    public static GameObject CreatePlaneVisualsPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreatePointCloudVisualsPreset(Transform)

    Create a GameObject that is set up as a MARS Point Cloud Visuals Proxy

    Declaration
    public static GameObject CreatePointCloudVisualsPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateProxyGroupPreset(Transform)

    Create a GameObject that is set up as a MARS Proxy Group

    Declaration
    public static GameObject CreateProxyGroupPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateProxyObjectPreset(Transform)

    Create a GameObject that is set up as a MARS Proxy Object

    Declaration
    public static GameObject CreateProxyObjectPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateReplicatorPreset(Transform)

    Create a GameObject that is set up as a MARS Replicator

    Declaration
    public static GameObject CreateReplicatorPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateSyntheticImageMarkerPreset(Transform)

    Create a GameObject that is set up as a MARS Synthetic Image Marker Proxy

    Declaration
    public static GameObject CreateSyntheticImageMarkerPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateSyntheticObjectPreset(Transform)

    Create a GameObject that is set up as a MARS Synthetic Object

    Declaration
    public static GameObject CreateSyntheticObjectPreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    CreateVerticalPlanePreset(Transform)

    Create a GameObject that is set up as a MARS Vertical Plane Proxy

    Declaration
    public static GameObject CreateVerticalPlanePreset(Transform parent = null)
    Parameters
    Type Name Description
    Transform parent

    If specified, the new GameObject will be a child of this transform

    Returns
    Type Description
    GameObject

    The new GameObject

    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)