Class Transformation
Defined in: SweetHome3D.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Transformation(name, matrix)
Creates a material instance from parameters.
|
Method Attributes | Method Name and Description |
---|---|
equals(object)
Returns
true if this transformation is equal to object . |
|
Returns the matrix of this transformation.
|
|
getName()
Returns the name of this transformation.
|
|
hashCode()
Returns a hash code for this transformation.
|
Class Detail
Transformation(name, matrix)
Creates a material instance from parameters.
Author: Emmanuel Puybaret.
Author: Emmanuel Puybaret.
- Parameters:
- {string} name
- {float[][]} matrix
Method Detail
{boolean}
equals(object)
Returns
true
if this transformation is equal to object
.
- Parameters:
- {Object} object
- Returns:
- {boolean}
{float[][]}
getMatrix()
Returns the matrix of this transformation.
- Returns:
- {float[][]} a 4x3 float array.
{string}
getName()
Returns the name of this transformation.
- Returns:
- {string} the name of the transformation.
{number}
hashCode()
Returns a hash code for this transformation.
- Returns:
- {number}