nw::gfx::AnimWeightNearlyEqualOne Function

Syntax

bool AnimWeightNearlyEqualOne(
     const float weight
);

Arguments

Name Description
in weight Weight.

Return Values

Returns true if weight is nearly equal to one (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 one.


CONFIDENTIAL