Home Reference Source
public class | source

Vector2

Static Method Summary

Static Public Methods
public static

multiply(vec2: Vector2, val: number): *

Constructor Summary

Public Constructor
public

constructor(x: number | TypedArray, y: number)

Member Summary

Public Members
public get
public get

raw: *

public

v: TypedArray

public get

x: *

public set
public get

y: *

public set

Method Summary

Public Methods
public

clone(): *

public

multiply(val: number): *

Static Public Methods

public static multiply(vec2: Vector2, val: number): * source

Params:

NameTypeAttributeDescription
vec2 Vector2
val number

Return:

*

Public Constructors

public constructor(x: number | TypedArray, y: number) source

Params:

NameTypeAttributeDescription
x number | TypedArray
y number

Public Members

public get className: * source

public get raw: * source

public v: TypedArray source

public get x: * source

public set x: number source

public get y: * source

public set y: number source

Public Methods

public clone(): * source

Return:

*

public multiply(val: number): * source

Params:

NameTypeAttributeDescription
val number

Return:

*