nw::gfx::TransformNode::SetResourceScaledTransform Member Function

Syntax

void SetResourceScaledTransform(
     const math::MTX34 & transformMatrix
);

Arguments

Name Description
in transformMatrix Compositing transform matrix.

Return Values

None.

Description

Sets a transform based on a resource's transform information.

Multiplies the transform matrix representing the resource's transform information by the transform matrix specified in the arguments, and sets the result to a node.

Unlike the SetResourceBasedTransform function, the SetResourceScaledTransform argument does allow you to include scale in the matrix. However, note that this may include a hit to performance as the function separates this scale.


CONFIDENTIAL