MatrixType

sealed abstract class MatrixType(val delegate: MatrixType) extends SFXEnumDelegate[MatrixType]
Companion
object
trait SFXEnumDelegate[MatrixType]
trait SFXDelegate[MatrixType]
class Object
trait Matchable
class Any
object MT_2D_2x3
object MT_2D_3x3
object MT_3D_3x4
object MT_3D_4x4

Value members

Concrete methods

def columns: Int

Returns the number of columns in the matrix of this type.

Returns the number of columns in the matrix of this type.

def elements: Int

Returns the number of elements in the matrix of this type.

Returns the number of elements in the matrix of this type.

def is2D: Boolean

Specifies if this is a 2D transformation matrix

Specifies if this is a 2D transformation matrix

def rows: Int

Returns the number of rows in the matrix of this type.

Returns the number of rows in the matrix of this type.

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String

Return the same string value as enum delegate.

Return the same string value as enum delegate.

This is important since we want to be able to look it up using enums valueOf method. Default toString provided by the SFXDelegate prepends "[SFX]"

Definition Classes
Inherited from
SFXEnumDelegate

Concrete fields

override val delegate: MatrixType