Table of Contents

Class OBB

Namespace
VoxelPlayground.AI
Assembly
GamePlay.dll
public class OBB
Inheritance
object
OBB

Constructors

OBB(Vector3, Vector3, Matrix4x4, Matrix4x4)

public OBB(Vector3 min, Vector3 max, Matrix4x4 localToWorldMatrix, Matrix4x4 worldToLocalMatrix)

Parameters

min Vector3
max Vector3
localToWorldMatrix Matrix4x4
worldToLocalMatrix Matrix4x4

Methods

Contains(Vector3)

public bool Contains(Vector3 point)

Parameters

point Vector3

Returns

bool

DebugDraw(Color, float)

public void DebugDraw(Color color, float duration = 0)

Parameters

color Color
duration float