Point mesh makes geometry data of a cloud of points that have uvs, scales, colors, and more. These points can be displayed via a [[Component:MeshRenderer|Mesh Renderer]] using a [[Component:UnlitMaterial|Unlit Material]] with at least it's <code>UseBillboardGeometry</code> field set to true.
Point mesh makes geometry data of a cloud of points that have UVs, scales, colors, and more. These points can be displayed via a [[Component:MeshRenderer|Mesh Renderer]] using a [[Component:UnlitMaterial|Unlit Material]] with at least it's <code>UseBillboardGeometry</code> field set to true.
<!--T:2-->
<!--T:2-->
Line 20:
Line 20:
|Colors|{{RootFieldType|SyncArray`1|[[Type:Color|Color]]}}|TypeAdv7=true| The vertex color of each vertex point.
|Colors|{{RootFieldType|SyncArray`1|[[Type:Color|Color]]}}|TypeAdv7=true| The vertex color of each vertex point.
|ColorsProfile|ColorProfile| The color profile of each vertex point.
|ColorsProfile|ColorProfile| The color profile of each vertex point.
|UVs|{{RootFieldType|SyncArray`1|[[Type:Float4|Float4]]}}|TypeAdv9=true| The uv center and quad scales of each vertex point.
|UVs|{{RootFieldType|SyncArray`1|[[Type:Float4|Float4]]}}|TypeAdv9=true| The UV center and quad scales of each vertex point.
|Sort|Bool| Enable sorting the mesh vertex indices by distance from <code>SortPoint</code>.
|Sort|Bool| Enable sorting the mesh vertex indices by distance from <code>SortPoint</code>.
|SortPoint|Float3| The point to sort by distance from.
|SortPoint|Float3| The point to sort by distance from.
Line 32:
Line 32:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Not usually useable by the user without [[Mods]].
Not usually usable by the user without [[Mods]], as most fields depend on arrays.
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Generated by any of the dot billboard brushes in Resonite Essentials/Brushes/Billboard Brushes
These are generated by the dot [[Component:BillboardBrushTool|Billboard Brushes]] in Resonite Essentials/Brushes/Billboard Brushes.
Point mesh makes geometry data of a cloud of points that have UVs, scales, colors, and more. These points can be displayed via a Mesh Renderer using a Unlit Material with at least it's UseBillboardGeometry field set to true.
If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
the bounding box this component should say it has when OverrideBoundingBox is enabled. Useful for bounding box calculations with Flux, or changing the selection box for this component when rendered.
Bake meshes is a sync method that creates a static mesh component with this component, replaces all references to this component with the static mesh component, then deletes this component.
Usage
Not usually usable by the user without Mods, as most fields depend on arrays.
Examples
These are generated by the dot Billboard Brushes in Resonite Essentials/Brushes/Billboard Brushes.