Class: MatrixType

mapray.animation~ MatrixType

登録名: "matrix"

実装型: mapray.Matrix


new MatrixType()

行列型

Source:

Extends

Members


<readonly> name :string

型名

Type:
  • string
Inherited From:
Overrides:
Source:

Methods


convertValue(from, value)

値を変換

value を this 型へ変換したオブジェクトを返す。

変換結果が value と同じ値の場合、value 自身を返すことも可能である。

事前条件1: value は from 型のオブジェクトである
事前条件2: this.isConvertible( from ) == true

Parameters:
Name Type Description
from mapray.animation.Type

変換元の型

value object

変換元の値 (from 型)

Inherited From:
Overrides:
Source:
See:
Returns:

変換された値 (this 型)

Type
object

getCloneValue(value)

値の複製を取得

value の新しい複製を返す。

ただし value がイミュータブルの場合、value 自身を返すことも可能である。

事前条件: value は this 型のオブジェクトである

Parameters:
Name Type Description
value object

複製元の値 (this 型)

Inherited From:
Overrides:
Source:
Returns:

複製された値 (this 型)

Type
object

getDefaultValue()

既定値を取得

this 型の既定値を返す。

Inherited From:
Overrides:
Source:
Returns:

既定値 (this 型)

Type
object

isConvertible(from)

変換可能か?

from 型の値を this 型の値への変換が可能かどうかを返す。

this と from が同一なら、必ず true を返す。

このメソッドが true を返した場合は convertValue() により from 型の値を this 型の値に変換することが可能である。

Parameters:
Name Type Description
from mapray.animation.Type

変換元の型

Inherited From:
Overrides:
Source:
See:
Returns:

変換可能かなら true, そうでないなら false

Type
boolean