Component:MeshRenderBufferRenderer: Difference between revisions

From Resonite Wiki
add missing table (I am at work, have mercy on me boss man there is nothing to do)
add info
 
Line 3: Line 3:
|Name=Mesh Render Buffer Renderer
|Name=Mesh Render Buffer Renderer
}}
}}
{{stub}}
The '''MeshRenderBufferRenderer''' component is used to render point buffers for normal particles as meshes.


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Buffer|{{RootFieldType|AssetRef`1|[[Type:PointRenderBuffer|PointRenderBuffer]]}}|TypeAdv0=true|
|Buffer|{{RootFieldType|AssetRef`1|[[Type:PointRenderBuffer|PointRenderBuffer]]}}|TypeAdv0=true| The Buffer to render as meshes.
|Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv1=true|
|Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv1=true| The material to render on the meshes.
|Mesh|{{RootFieldType|AssetRef`1|[[Type:Mesh|Mesh]]}}|TypeAdv2=true|
|Mesh|{{RootFieldType|AssetRef`1|[[Type:Mesh|Mesh]]}}|TypeAdv2=true| The mesh to render.
|Alignment|'''[[#MeshAlignment|MeshRenderBufferRenderer.MeshAlignment]]'''|TypeAdv3=true|
|Alignment|'''[[#MeshAlignment|MeshRenderBufferRenderer.MeshAlignment]]'''|TypeAdv3=true| How to align the meshes rendered using orientation and camera position.
}}
}}


== MeshAlignment ==
== MeshAlignment ==
{{Table EnumValues
{{Table EnumValues
|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 ==
== Usage ==
Used with [[Photon Dust]].


== Examples ==
== Examples ==


== See Also ==
== See Also ==
* [[Photon Dust]]


[[Category:Components:Uncategorized{{#translation:}}|Mesh Render Buffer Renderer]]
[[Category:Components:Uncategorized{{#translation:}}|Mesh Render Buffer Renderer]]
[[Category:Components{{#translation:}}|Mesh Render Buffer Renderer]]
[[Category:Components{{#translation:}}|Mesh Render Buffer Renderer]]
[[Category:Components With Nested Enums{{#translation:}}|Mesh Render Buffer Renderer]]
[[Category:Components With Nested Enums{{#translation:}}|Mesh Render Buffer Renderer]]
[[Category:ComponentStubs]]

Latest revision as of 17:24, 26 June 2025

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