BBMOD_BaseCamera.apply

A function defined in BBMOD_BaseCamera.gml

apply()

Description

Applies the camera.

Returns

Struct.BBMOD_BaseCamera Returns self.

Example

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

camera.apply();
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 © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.