-
Notifications
You must be signed in to change notification settings - Fork 276
ModelRenderer
Adrien Givry edited this page Feb 7, 2025
·
4 revisions
A ModelRenderer is necessary in combination with a MaterialRenderer to render a model in the world
- C++ related class:
OvCore::ECS::Components::CModelRenderer - Inherits from lua usertype:
Component
This usertype has no variables
| Name | Input | Output | Description |
|---|---|---|---|
| new | ModelRenderer |
| Name | Input | Output | Description |
|---|---|---|---|
| GetModel |
ModelRenderer: instance |
Model |
Returns the current model |
| SetModel |
ModelRenderer: instanceModel: model |
Defines the model to use | |
| GetFrustumBehaviour |
ModelRenderer: instance |
FrustumBehaviour |
Returns the current bounding mode |
| SetFrustumBehaviour |
ModelRenderer: instanceFrustumBehaviour: behaviour |
Sets a bounding mode |
This usertype has no operators
