Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Vector3

Hierarchy

  • Vector3

Index

Constructors

constructor

Properties

Readonly x

x: number

Readonly y

y: number

Readonly z

z: number

Accessors

length

  • get length(): number

Methods

add

angleTo

angleToDegrees

distanceTo

div

isInRange

  • isInRange(vector: IVector3, range: number): boolean

mul

negative

normalize

sub

toArray

  • toArray(): [number, number, number]

toDegrees

toRadians