Class NormalizedRigidTransformMixerNode_UnitTests | DOTS Timeline | 0.8.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class NormalizedRigidTransformMixerNode_UnitTests

    Inheritance
    Object
    NormalizedRigidTransformMixerNode_UnitTests
    Namespace: Unity.Timeline.Animation.Tests
    Syntax
    public class NormalizedRigidTransformMixerNode_UnitTests

    Methods

    MissingInputs_TreatedAs0Weight()

    Declaration
    public void MissingInputs_TreatedAs0Weight()

    MissingWeights_TreatedAsZero(Int32, Single)

    Declaration
    public void MissingWeights_TreatedAsZero(int seed, float weight)
    Parameters
    Type Name Description
    Int32 seed
    Single weight

    MultipleInputs_WithEqualWeight_EvaluatesBlendToCorrectResult(Int32, Single)

    Declaration
    public void MultipleInputs_WithEqualWeight_EvaluatesBlendToCorrectResult(int seed, float weight)
    Parameters
    Type Name Description
    Int32 seed
    Single weight

    MultipleInputs_WithUnEqualWeight_EvaluatesBlendToCorrectResult(Int32, Single)

    Declaration
    public void MultipleInputs_WithUnEqualWeight_EvaluatesBlendToCorrectResult(int seed, float weight)
    Parameters
    Type Name Description
    Int32 seed
    Single weight

    NoInputs_OutputDefaults(Int32)

    Declaration
    public void NoInputs_OutputDefaults(int numInputs)
    Parameters
    Type Name Description
    Int32 numInputs

    NoWeights_TreatsAllWeightsAsEqual()

    Declaration
    public void NoWeights_TreatsAllWeightsAsEqual()

    OutputWeight_IsSaturatedSum(Single, Single, Single, Single)

    Declaration
    public void OutputWeight_IsSaturatedSum(float weightA, float weightB, float weightC, float expected)
    Parameters
    Type Name Description
    Single weightA
    Single weightB
    Single weightC
    Single expected

    Setup()

    Declaration
    public void Setup()

    SingleInput_EvaluatesToCorrectResult(Int32, Single)

    Declaration
    public void SingleInput_EvaluatesToCorrectResult(int inputIndex, float weight)
    Parameters
    Type Name Description
    Int32 inputIndex
    Single weight

    TearDown()

    Declaration
    public void TearDown()

    TwoInputs_EvaluatesBlendToCorrectResult(Single, Single)

    Declaration
    public void TwoInputs_EvaluatesBlendToCorrectResult(float weight0, float weight1)
    Parameters
    Type Name Description
    Single weight0
    Single weight1

    TwoNormalizedInputs_ProducesCorrectTransform(Int32, Int32, Single)

    Declaration
    public void TwoNormalizedInputs_ProducesCorrectTransform(int genASeed, int genBSeed, float blend)
    Parameters
    Type Name Description
    Int32 genASeed
    Int32 genBSeed
    Single blend

    WeightsOnly_ProducesDefaultStreams()

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