Contents

SushiEngine::Simulation::IWorldEditor

animator_previous_palette

virtual const Animation::JointMatrix * animator_previous_palette(EntityId id, std::uint32_t &joint_count) const =0

Parameters

NameTypeDescription
idEntityId

The entity to read.

joint_countstd::uint32_t &

Set to the palette's joint count, or 0 if id carries no Animator or has not yet had two ticks evaluated.

Returns

const Animation::JointMatrix *

A pointer to joint_count matrices, or nullptr in either case above.

Description

Returns the Animator's palette from the previous tick, for motion vectors.

See also

engine/world/simulation/include/EDITOR.md