nw::gfx::BillboardUpdater::Update Member Function

Syntax

void Update(
     math::MTX34 * worldMatrix,
     const math::MTX34 & viewMatrix,
     const math::MTX34 & inverseViewMatrix,
     const math::VEC3 & cameraPosition,
     const CalculatedTransform & worldTransform,
     const CalculatedTransform & localTransform,
     ResBone::BillboardMode billboardMode
) const;

Arguments

Name Description
out worldMatrix World matrix to update.
in viewMatrix View matrix.
in inverseViewMatrix Inverse matrix of the view matrix.
in cameraPosition Camera coordinates.
in worldTransform World transform of the bone.
in localTransform Local transform of the bone.
in billboardMode Type of billboard to adjust.

Return Values

None.

Description

Performs billboarding calculations and updates the world matrix.


CONFIDENTIAL