Class MathTest | Polybrush | 1.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class MathTest

    Inheritance
    Object
    MathTest
    Namespace: UnityEngine.Polybrush.EditorTests
    Syntax
    public class MathTest

    Methods

    Average()

    Declaration
    public void Average()

    Average_ArgumentVector2Null_ThrowsException()

    Declaration
    public void Average_ArgumentVector2Null_ThrowsException()

    Average_ArgumentVector3Null_ThrowsException()

    Declaration
    public void Average_ArgumentVector3Null_ThrowsException()

    Average_ArgumentVector4Null_ThrowsException()

    Declaration
    public void Average_ArgumentVector4Null_ThrowsException()

    Average_ColorArgumentNull_ThrowsException()

    Declaration
    public void Average_ColorArgumentNull_ThrowsException()

    CalculateNormalWithPointsCollection(Vector3[])

    Declaration
    public Vector3 CalculateNormalWithPointsCollection(Vector3[] points)
    Parameters
    Type Name Description
    Vector3[] points
    Returns
    Type Description
    Vector3

    RayIntersectsTriangle2()

    Declaration
    public void RayIntersectsTriangle2()

    TestMathNormalWithThreePoints(Vector3, Vector3, Vector3)

    Declaration
    public Vector3 TestMathNormalWithThreePoints(Vector3 v0, Vector3 v1, Vector3 v2)
    Parameters
    Type Name Description
    Vector3 v0
    Vector3 v1
    Vector3 v2
    Returns
    Type Description
    Vector3

    VectorIsUniform()

    Declaration
    public void VectorIsUniform()

    WeightedAverage()

    Declaration
    public void WeightedAverage()
    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