update_matrices

function

update_matrices()

Description

Recomputes camera's view and projection matrices.

Returns

Struct.BBMOD_Camera Returns self.

Example

/// @desc Step event
camera.set_mouselook(true);
camera.update(delta_time);
if (camera.Position.Z < 0.0)
{
    camera.Position.Z = 0.0;
}
camera.update_matrices();

Note

This is called automatically in the BBMOD_Camera.update method, so you do not need to call this unless you modify BBMOD_Camera.Position or BBMOD_Camera.Target after the update method.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.