---
title: "Matrix class"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/matrix/"
product: "Aspose.CAD for Python via .NET API References"
---


## Matrix class

The matrix.
Matrix transformations embody mathematical changes to points within a coordinate systems or the coordinate system itself.
The matrix element contains a 4-by-4 matrix of floating-point values.



**Inheritance:** [`Matrix`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/matrix) → 
[`ColladaElement`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/colladaelement)



The Matrix type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/matrix/__init__/#) | Constructs a new instance of Matrix |


### Properties
| Property | Description |
| :- | :- |
| [sid](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/matrix/sid) | Gets or sets the sid.<br/>The sid attribute is a text string value containing the sub-identifier of this element.<br/>This value must be unique within the scope of the parent element.<br/>Optional attribute. |
| [text](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/matrix/text) | Gets or sets the value as float4x4 text. |



### See Also
* module [`aspose.cad.fileformats.collada.fileparser.elements`](..)
* class [`ColladaElement`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/colladaelement)
* class [`Matrix`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/matrix)
