-
Notifications
You must be signed in to change notification settings - Fork 227
MaterialRenderer
Adrien GIVRY edited this page Sep 26, 2020
·
3 revisions
A component that handle a material list, necessary for model rendering
- C++ related class:
OvCore::ECS::Components::CMaterialRenderer
- Inherits from lua usertype:
Component
This usertype has no variables
Name | Input | Output | Description |
---|---|---|---|
new | MaterialRenderer |
Default constructor |
Name | Input | Output | Description |
---|---|---|---|
SetMaterial |
MaterialRenderer : instancenumber : indexMaterial : material |
Defines the material to use for the given index | |
SetUserMatrixElement |
MaterialRenderer : instancenumber : rownumber : columnnumber : value |
Defines an element of the user matrix | |
GetUserMatrixElement |
MaterialRenderer : instancenumber : rownumber : column |
number |
Returns an element of the user matrix |
This usertype has no operators