Header menu logo Nu

Box2 Module

Functions and values

Function or value Description

box2 min size

Full Usage: box2 min size

Parameters:
Returns: Box2
Modifiers: inline
min : Vector2
size : Vector2
Returns: Box2

box2Eq b b2

Full Usage: box2Eq b b2

Parameters:
Returns: bool
Modifiers: inline
b : Box2
b2 : Box2
Returns: bool

box2Neq b b2

Full Usage: box2Neq b b2

Parameters:
Returns: bool
Modifiers: inline
b : Box2
b2 : Box2
Returns: bool

box2Slice sliceIndex sliceMargin perimeter

Full Usage: box2Slice sliceIndex sliceMargin perimeter

Parameters:
    sliceIndex : int
    sliceMargin : Vector2
    perimeter : Box2

Returns: Box2
sliceIndex : int
sliceMargin : Vector2
perimeter : Box2
Returns: Box2

box2SliceInverted sliceIndex sliceMargins perimeter

Full Usage: box2SliceInverted sliceIndex sliceMargins perimeter

Parameters:
    sliceIndex : int
    sliceMargins : Vector2
    perimeter : Box2

Returns: Box2
sliceIndex : int
sliceMargins : Vector2
perimeter : Box2
Returns: Box2

box2Zero

Full Usage: box2Zero

Returns: Box2
Returns: Box2

Type extensions

Type extension Description

this.Bottom

Full Usage: this.Bottom

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.Bottom

Full Usage: this.Bottom

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.BottomLeft

Full Usage: this.BottomLeft

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.BottomLeft

Full Usage: this.BottomLeft

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.BottomRight

Full Usage: this.BottomRight

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.BottomRight

Full Usage: this.BottomRight

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.Box3

Full Usage: this.Box3

Parameters:
    () : unit

Returns: Box3

Extended Type: Box2

() : unit
Returns: Box3

this.Box3

Full Usage: this.Box3

Returns: Box3

Extended Type: Box2

Returns: Box3

this.Center

Full Usage: this.Center

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.Center

Full Usage: this.Center

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.Corners

Full Usage: this.Corners

Parameters:
    () : unit

Returns: Vector2[]

Extended Type: Box2

() : unit
Returns: Vector2[]

this.Corners

Full Usage: this.Corners

Returns: Vector2[]

Extended Type: Box2

Returns: Vector2[]

this.Extent

Full Usage: this.Extent

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.Extent

Full Usage: this.Extent

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.Height

Full Usage: this.Height

Parameters:
    () : unit

Returns: float32

Extended Type: Box2

() : unit
Returns: float32

this.Height

Full Usage: this.Height

Returns: float32

Extended Type: Box2

Returns: float32

this.IsEmpty

Full Usage: this.IsEmpty

Parameters:
    () : unit

Returns: bool

Extended Type: Box2

() : unit
Returns: bool

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool

Extended Type: Box2

Returns: bool

this.Left

Full Usage: this.Left

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.Left

Full Usage: this.Left

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.Max

Full Usage: this.Max

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.Max

Full Usage: this.Max

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.Right

Full Usage: this.Right

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.Right

Full Usage: this.Right

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.Top

Full Usage: this.Top

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.Top

Full Usage: this.Top

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.TopLeft

Full Usage: this.TopLeft

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.TopLeft

Full Usage: this.TopLeft

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.TopRight

Full Usage: this.TopRight

Parameters:
    () : unit

Returns: Vector2

Extended Type: Box2

() : unit
Returns: Vector2

this.TopRight

Full Usage: this.TopRight

Returns: Vector2

Extended Type: Box2

Returns: Vector2

this.Translate

Full Usage: this.Translate

Parameters:
Returns: Box2

Extended Type: Box2

translation : Vector2
Returns: Box2

this.Width

Full Usage: this.Width

Parameters:
    () : unit

Returns: float32

Extended Type: Box2

() : unit
Returns: float32

this.Width

Full Usage: this.Width

Returns: float32

Extended Type: Box2

Returns: float32

this.WithBottom

Full Usage: this.WithBottom

Parameters:
Returns: Box2

Extended Type: Box2

bottom : Vector2
Returns: Box2

this.WithBottomLeft

Full Usage: this.WithBottomLeft

Parameters:
Returns: Box2

Extended Type: Box2

bottomLeft : Vector2
Returns: Box2

this.WithCenter

Full Usage: this.WithCenter

Parameters:
Returns: Box2

Extended Type: Box2

center : Vector2
Returns: Box2

this.WithMin

Full Usage: this.WithMin

Parameters:
Returns: Box2

Extended Type: Box2

min : Vector2
Returns: Box2

this.WithSize

Full Usage: this.WithSize

Parameters:
Returns: Box2

Extended Type: Box2

size : Vector2
Returns: Box2

Type something to start searching.