Constructors
constructor
- new CubismVector2(x?: number, y?: number): CubismVector2
-
Parameters
-
Optional
x: number
-
Optional
y: number
Properties
x
x: number
y
y: number
Methods
divisionByScalar
- divisionByScalar(scalar: number): CubismVector2
-
dot
- dot(a: CubismVector2): number
-
Returns number
getDistanceWith
- getDistanceWith(a: CubismVector2): number
-
Returns number
getLength
- getLength(): number
-
Returns number
isEqual
- isEqual(rhs: CubismVector2): boolean
-
Returns boolean
isNotEqual
- isNotEqual(rhs: CubismVector2): boolean
-
Returns boolean
multiplyByScaler
- multiplyByScaler(scalar: number): CubismVector2
-
normalize
- normalize(): void
-
Returns void
2次元ベクトル型
2次元ベクトル型の機能を提供する。