|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
What SHAPE a MeshRenderer is in: how far it is blended towards each of the shapes its mesh carries. More...
#include <MeshRenderer.hpp>
Public Member Functions | |
| MeshMorph ()=default | |
Public Attributes | |
| std::vector< f32 > | weights |
| Weight per target, 0 leaving the mesh as authored. Not clamped: a negative weight and one past 1 are both shapes an author may want, and glTF states neither bound. | |
What SHAPE a MeshRenderer is in: how far it is blended towards each of the shapes its mesh carries.
The third of the trio, for the reason the second exists: MeshRenderer says what is drawn and MeshSkin what moves it. Entry i weights target i — positional, because a name lives with the geometry.
Definition at line 185 of file MeshRenderer.hpp.
|
default |
References MeshMorph(), and ES_COMPONENT.
Referenced by MeshMorph().
| std::vector<f32> esengine::ecs::MeshMorph::weights |
Weight per target, 0 leaving the mesh as authored. Not clamped: a negative weight and one past 1 are both shapes an author may want, and glTF states neither bound.
Definition at line 191 of file MeshRenderer.hpp.
Referenced by EMSCRIPTEN_BINDINGS().