Skip to main content

flywave-mapview.mapview.ndctoview

Home > @flywave/flywave-mapview > MapView > ndcToView

MapView.ndcToView() method

Transfer the NDC point to view space.

Signature:

ndcToView(vector: Vector3Like, result: THREE.Vector3): THREE.Vector3;

Parameters

Parameter

Type

Description

vector

Vector3Like

Vector to transform.

result

THREE.Vector3

Result to place calculation.

Returns:



THREE.Vector3