nw::gfx::AnimWeightNearlyEqualZero Function

Syntax

bool AnimWeightNearlyEqualZero(
     const float weight
);

Arguments

Name Description
in weight Weight.

Return Values

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

Description

Compares animation weights to determine if they are close to zero.


CONFIDENTIAL