apply

function

apply()

Description

Applies the camera.

Returns

Struct.BBMOD_Camera Returns self.

Example

Following code renders a model from the camera's view.

camera.apply();
bbmod_material_reset();
model.submit();
bbmod_material_reset();

Note

This also overrides the camera position and exposure passed to shaders using bbmod_camera_set_position and bbmod_camera_set_exposure respectively!

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.