mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class CameraExtensionTests

    Inheritance
    Object
    CameraExtensionTests
    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.Tests.EditMode.Extensions
    Assembly: cs.temp.dll.dll
    Syntax
    public class CameraExtensionTests

    Methods

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    TestIsInFOV()

    Test that the Camera extension method IsInFov returns valid points that would be renderable on the camera

    Declaration
    public void TestIsInFOV()

    TestIsInFOVCached()

    Test that the Camera extension method IsInFOVConeCached returns valid results for colliders whose bounds are renderable to the camera

    Declaration
    public void TestIsInFOVCached()

    TestIsInFOVCachedSecondCamera()

    Test that extension method IsInFOVConeCached gives expected results when called from multiple cameras facing different directions.

    Declaration
    public void TestIsInFOVCachedSecondCamera()

    TestIsInFOVCone()

    Test that the Camera extension method IsInFOVCone returns valid points that would be renderable on the camera

    Declaration
    public void TestIsInFOVCone()
    In This Article
    • Methods
      • SetUp()
      • TearDown()
      • TestIsInFOV()
      • TestIsInFOVCached()
      • TestIsInFOVCachedSecondCamera()
      • TestIsInFOVCone()
    Back to top Generated by DocFX