-
Notifications
You must be signed in to change notification settings - Fork 230
ModelRenderer
Adrien GIVRY edited this page Sep 26, 2020
·
3 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 |
Returns the current bounding mode | |
SetFrustumBehaviour |
ModelRenderer : instanceFrustumBehaviour : behaviour |
Sets a bounding mode |
This usertype has no operators