Mesh Renderertype
component engine.MeshRenderer
Draws an unlit mesh at the node transform.
Blendfield
field Blend int
Opaque writes depth. Premultiplied and additive are drawn after opaque meshes.
Colorfield
field Color Color
Color multiplied with the texture.
DoubleSidedfield
field DoubleSided bool
Draws the back faces too.
Filterfield
field Filter int
Texture sampling: nearest or linear.
Layerfield
field Layer int
Sorting layer for transparent meshes.
Meshfield
field Mesh AssetRef<mesh>
Mesh to draw: an imported .obj or a builtin Cube, Plane, Sphere or Cylinder.
Texturefield
field Texture AssetRef<texture>
Texture mapped onto the mesh. Empty uses white.