We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class SizeUtilities

    Editor utility class to discern world space sizing of objects in scene

    Inheritance
    Object
    SizeUtilities
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public static class SizeUtilities

    Methods

    ColliderSize()

    Finds all Collider type components on the selected GameObject in scene and returns their world space bounds size.

    Declaration
    public static void ColliderSize()

    RendererSize()

    Finds the first Renderer type component on the selected GameObject in scene and returns its world space bounds size.

    Declaration
    public static void RendererSize()
    In This Article
    Back to top Generated by DocFX