Lib.mesh.draw.DrawMeshAtPoints - tixl3d/tixl GitHub Wiki
Draws PBR shaded instances of a mesh defined by the connected point buffer. It uses the current settings for material, point lights, fog, and environment. It can use the point's W attribute to control the size of the instances.
Check out the [HowToDrawThings] on how to set these up.
Also check out [DrawMesh] and [RepeatMeshAtPoints].
| Name (Relevancy & Type) | Description |
|---|---|
| GPoints (BufferWithViewsRequired) | Input for incoming Points which are used to spawn meshes. |
| Mesh (MeshBuffersRequired) | Input for incoming Mesh Geometry |
| Size (Single) | Uniformly scales the meshes using the Points as center of scaling. |
| ScaleFactor (Int32) | - |
| UsePointScale (Boolean) | Defines whether the meshes are influenced/non-uniformly stretched by their points. |
| Color (Vector4) | Defines the shading color of the mesh. If a [SetMaterial] is used, these colors are multiplied with its settings. |
| EnableZWrite (Boolean) | This defines whether the mesh covers itself or is covered by or covers other meshes. |
| EnableZTest (Boolean) | This defines whether the mesh covers itself or is covered by or covers other meshes. |
| BlendMode (Int32) | Selects the Blendmode. |
| CullMode (CullMode) | Defines the transparency of the surfaces. None: All surfaces are "bothsided" or always visible from all sides Front: The normals are flipped (frontside is transparent / backside visible) Back: Default (frontside is visible / backside is invisible) |
| FillMode (Int32) | Toggles between colored Wireframe Rendering or default shading method. |
| AlphaCutOff (Single) | This value controls transparency if a texture containing an alpha channel is used. |
| ColorField (ShaderGraphNode) | - |
| Name | Type |
|---|---|
| Output | T3.Core.DataTypes.Command |
⚠ Everything else is automatically generated and will be overwritten regularly.