BBMOD_BaseCamera.screen_point_to_vec3

A function defined in BBMOD_BaseCamera.gml

screen_point_to_vec3(_vector[, _renderer])

Description

Unprojects a position on the screen into a direction in world-space.

Arguments

Name Type Description
_vector Struct.BBMOD_Vector2 The position on the screen.
_renderer Struct.BBMOD_Renderer A renderer or undefined.

Returns

Struct.BBMOD_Vec3 The world-space direction.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.