Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Matrix.CreateBillboard

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexMatrix

Summary

public static Matrix CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3? cameraForwardVector)

Creates a spherical billboard that rotates around a specified object position.

Returns

Matrix

Parameters

Summary

public static void CreateBillboard(ref Vector3 objectPosition, ref Vector3 cameraPosition, ref Vector3 cameraUpVector, Vector3? cameraForwardVector, out Matrix result)

Creates a spherical billboard that rotates around a specified object position.

Parameters

Clone this wiki locally