Component:RectMesh: Difference between revisions

From Resonite Wiki
Filled in this component page.
Updated note.
Line 6: Line 6:
The '''RectMesh''' component takes in a value (either a dynamic value from an [[Type:IAudioSource|IAudioSource]], or a min and max [[Type:float|float]] value) and parameters for the generated rect mesh, then renders it onto the [[UIX]].
The '''RectMesh''' component takes in a value (either a dynamic value from an [[Type:IAudioSource|IAudioSource]], or a min and max [[Type:float|float]] value) and parameters for the generated rect mesh, then renders it onto the [[UIX]].


{{Note|This component is currently under investigation for being unstable and causing world crashes. This page will be updated when further information is found out.|warning}}
{{Note|This component can cause world crashes. [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/2645 Issue #2645].|danger}}


{{Table ComponentFields
{{Table ComponentFields

Revision as of 12:43, 21 July 2024

Component image 
Rect Mesh`1 component as seen in the Scene Inspector


The RectMesh component takes in a value (either a dynamic value from an IAudioSource, or a min and max float value) and parameters for the generated rect mesh, then renders it onto the UIX.

This component can cause world crashes. Issue #2645.
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.
Mesh direct M The mesh parameters used to render this rect mesh.
Materials list of Material The material to render for this rect mesh.

Usage

This can be used to make fancy audio visuals from a user's Audio Stream Controller.

Examples

See Also