nw::gfx::Camera::DynamicBuilder Class

Syntax

class DynamicBuilder

Description

Class for building cameras dynamically.

The default value for IsFixedSizeMemory is true. Various maximum settings are ignored if changed to false.

Member Functions

DynamicBuilder Constructor.
~DynamicBuilder Destructor.
IsFixedSizeMemory Sets a flag indicating whether memory is to be allocated even other than at time of creation.
MaxChildren Sets the maximum number of children.
MaxCallbacks Sets the maximum number of callbacks that can be managed.
ViewUpdater Sets the class that updates the view matrix. Ownership will transfer, so this is destroyed together with Camera when it is destroyed.
ProjectionUpdater Sets the class that updates the projection matrix. Ownership will transfer, so this is destroyed together with Camera when it is destroyed.
Create Creates a camera.
GetMemorySize Gets the memory size required at time of creation.

CONFIDENTIAL