Class TransformUpdateScope#

Class Documentation#

class TransformUpdateScope#

RAII wrapper for beginTransformUpdates and endTransformUpdates.

Public Functions

TransformUpdateScope(Scene &scene)#

Creates a TransformUpdateScope.

Parameters:

scene – The scene to call beginTransformUpdates on

TransformUpdateScope(const TransformUpdateScope&) = delete#

Deleted copy constructor.

TransformUpdateScope &operator=(const TransformUpdateScope&) = delete#

Deleted copy assignment.

TransformUpdateScope(TransformUpdateScope &&other) noexcept#

Move constructor.

Parameters:

other – The TransformUpdateScope to move from.

TransformUpdateScope &operator=(TransformUpdateScope &&other) noexcept#

Move assignment.

Parameters:

other – The TransformUpdateScope to assign from.

Returns:

Reference to newly assigned TransformUpdateScope.

~TransformUpdateScope()#

TransformUpdateScope destructor.

void close()#

Close the scope early.

bool isOpen() const#

Check if the scope is still open.

Returns:

Whether the scope is open.