nw::gfx::AnimWeightNearlyEqual Function

Syntax

bool AnimWeightNearlyEqual(
     const float weight,
     const float value
);

Arguments

Name Description
in weight Weight.
in value Value to compare.

Return Values

Returns true if weight and value are nearly equal to each other (in other words, if their difference is less than or equal to the margin of error).

Description

Compares animation weights.


CONFIDENTIAL