Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new Vector3(x?: number, y?: number, z?: number): Vector3

Properties

x: number = 0
y: number = 0
z: number = 0

Methods

  • magnitude(): number
  • set(__namedParameters?: { x?: number; y?: number; z?: number }): void
  • Sets the values of x,y,z

    Parameters

    • __namedParameters: { x?: number; y?: number; z?: number } = {}
      • Optional x?: number
      • Optional y?: number
      • Optional z?: number

    Returns void

    void

  • setFromJson(json: any): void
  • toArray(): number[]
  • toFloat32Array(): Float32Array

Generated using TypeDoc