Component:MeshRenderBufferRenderer

From Resonite Wiki
Component image 
File:MeshRenderBufferRendererComponent.png
Mesh Render Buffer Renderer component as seen in the Scene Inspector

The MeshRenderBufferRenderer component is used to render point buffers for normal particles as meshes.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Buffer PointRenderBuffer The Buffer to render as meshes.
Material Material The material to render on the meshes.
Mesh Mesh The mesh to render.
Alignment MeshRenderBufferRenderer.MeshAlignment How to align the meshes rendered using orientation and camera position.

MeshAlignment

Values
Name Value Description
View 0 Orient the meshes towards the camera.
Facing 1 Orient the meshes based on particle direction.
Local 2 Orient the particles based on local transformation.
Global 3 Orient the particles based on global transformation.

Usage

Used with Photon Dust.

Examples

See Also