screen_point_to_vec3

function

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 © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.