Class FbxVector4Test | Autodesk FBX SDK | 3.0.1-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class FbxVector4Test

    Inheritance
    Object
    FbxVector4Test
    Namespace: Autodesk.Fbx.UnitTests
    Syntax
    public class FbxVector4Test

    Methods

    AssertSimilarEuler(FbxVector4, FbxVector4, Double, Boolean)

    Check that two vectors are similar, interpreting them as XYZ euler angles, ignoring W.

    Pass 'nothrow' as true if you want a bool yes/no. By default we throw an NUnit exception if the vectors don't match.

    Declaration
    public static bool AssertSimilarEuler(FbxVector4 expected, FbxVector4 actual, double tolerance = 1E-10, bool nothrow = false)
    Parameters
    Type Name Description
    FbxVector4 expected
    FbxVector4 actual
    Double tolerance
    Boolean nothrow
    Returns
    Type Description
    Boolean

    AssertSimilarXYZ(FbxVector4, FbxVector4, Double, Boolean)

    Check that two vectors are similar, interpreting them as XYZ vectors (ignoring W).

    Pass 'nothrow' as true if you want a bool yes/no. By default we throw an NUnit exception if the vectors don't match.

    Declaration
    public static bool AssertSimilarXYZ(FbxVector4 expected, FbxVector4 actual, double tolerance = 1E-10, bool nothrow = false)
    Parameters
    Type Name Description
    FbxVector4 expected
    FbxVector4 actual
    Double tolerance
    Boolean nothrow
    Returns
    Type Description
    Boolean

    AssertSimilarXYZW(FbxVector4, FbxVector4, Double, Boolean)

    Check that two vectors are similar, interpreting them as 4-tuples of doubles.

    Pass 'nothrow' as true if you want a bool yes/no. By default we throw an NUnit exception if the vectors don't match.

    Declaration
    public static bool AssertSimilarXYZW(FbxVector4 expected, FbxVector4 actual, double tolerance = 1E-10, bool nothrow = false)
    Parameters
    Type Name Description
    FbxVector4 expected
    FbxVector4 actual
    Double tolerance
    Boolean nothrow
    Returns
    Type Description
    Boolean

    BasicTests()

    Declaration
    public void BasicTests()

    MatchingTests()

    Declaration
    public void MatchingTests()

    TestEquality()

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