apply

function

apply()

Description

Applies the camera.

Returns

Struct.BBMOD_BaseCamera 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 © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.