xr-frame / Exports / OBB

# Class: OBB

# Table of contents

# Constructors

# Accessors

# Methods

# Constructors

# constructor

new OBB()

# Accessors

# AxisX

get AxisX(): Vector3

# Returns

Vector3


# AxisY

get AxisY(): Vector3

# Returns

Vector3


# AxisZ

get AxisZ(): Vector3

# Returns

Vector3


# center

get center(): Vector3

# Returns

Vector3

set center(pos): void

# Parameters

Name Type
pos Vector3

# Returns

void


# depth

get depth(): number

# Returns

number

set depth(d): void

# Parameters

Name Type
d number

# Returns

void


# height

get height(): number

# Returns

number

set height(h): void

# Parameters

Name Type
h number

# Returns

void


# width

get width(): number

# Returns

number

set width(w): void

# Parameters

Name Type
w number

# Returns

void

# Methods

# setForward

setForward(forward): void

# Parameters

Name Type
forward Vector3

# Returns

void


# setValues

setValues(cenX, cenY, cenZ, forward, w, h, d): void

# Parameters

Name Type
cenX number
cenY number
cenZ number
forward Vector3
w number
h number
d number

# Returns

void