Table of Contents

Class VectorUtil

Namespace
Luny.Engine.Bridge
Assembly
Luny.dll
public static class VectorUtil
Inheritance
object
VectorUtil

Methods

LockAxisX(LunyVector3)

Returns a copy of v with the X component set to zero.

public static LunyVector3 LockAxisX(LunyVector3 v)

Parameters

v LunyVector3

Returns

LunyVector3

LockAxisY(LunyVector3)

Returns a copy of v with the Y component set to zero.

public static LunyVector3 LockAxisY(LunyVector3 v)

Parameters

v LunyVector3

Returns

LunyVector3

LockAxisZ(LunyVector3)

Returns a copy of v with the Z component set to zero.

public static LunyVector3 LockAxisZ(LunyVector3 v)

Parameters

v LunyVector3

Returns

LunyVector3