Interface IMiniWorld | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IMiniWorld

    For the purpose of interacting with MiniWorlds

    Namespace: UnityEditor.Experimental.EditorVR
    Syntax
    public interface IMiniWorld

    Properties

    ignoreList

    Sets a list of renderers to be skipped when rendering the MiniWorld

    Declaration
    List<Renderer> ignoreList { set; }
    Property Value
    Type Description
    List<Renderer>

    miniWorldTransform

    Gets the root transform of the miniWorld itself

    Declaration
    Transform miniWorldTransform { get; }
    Property Value
    Type Description
    Transform

    referenceTransform

    Gets the reference transform used to represent the origin and size of the space represented within the miniWorld

    Declaration
    Transform referenceTransform { get; }
    Property Value
    Type Description
    Transform

    Methods

    Contains(Vector3)

    Tests whether a point is contained within the actual miniWorld bounds (not the reference bounds)

    Declaration
    bool Contains(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position

    World space point to be tested

    Returns
    Type Description
    Boolean

    True if the point is contained

    GetWorldToCameraMatrix(Camera)

    Matrix that converts from the mini world space to reference space (which may have scale and translation)

    Declaration
    Matrix4x4 GetWorldToCameraMatrix(Camera camera)
    Parameters
    Type Name Description
    Camera camera
    Returns
    Type Description
    Matrix4x4
    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