Automated: create new component page |
Added a video. |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|Name=Rect Mesh`1 | |Name=Rect Mesh`1 | ||
}} | }} | ||
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]]. | |||
{{Table ComponentFields | {{Table ComponentFields | ||
|Mesh|{{RootFieldType|(nested)|M}}|TypeAdv0=true| | |Mesh|{{RootFieldType|(nested)|M}}|TypeAdv0=true|The mesh parameters used to render this rect mesh. | ||
|Materials|{{RootFieldType|SyncAssetList`1|[[Type:Material|Material]]}}|TypeAdv1=true| | |Materials|{{RootFieldType|SyncAssetList`1|[[Type:Material|Material]]}}|TypeAdv1=true|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 == | == Examples == | ||
[[User:ProbablePrime|ProbablePrime's]] video tutorial on how to use the [[Component:StandaloneRectMesh|StandaloneRectMesh]] component, as the concept is similar: | |||
<youtube>F9_5fp88GUQ</youtube> | |||
== See Also == | == See Also == | ||
* Similar to [[Component:StandaloneRectMesh|StandaloneRectMesh]]. | |||
[[Category:Components:UIX:Graphics{{#translation:}}|Rect Mesh`1]] | [[Category:Components:UIX:Graphics{{#translation:}}|Rect Mesh`1]] | ||
[[Category:Components{{#translation:}}|Rect Mesh`1]] | [[Category:Components{{#translation:}}|Rect Mesh`1]] | ||
[[Category:Generic Components{{#translation:}}|Rect Mesh`1]] | [[Category:Generic Components{{#translation:}}|Rect Mesh`1]] | ||
Latest revision as of 05:09, 30 August 2024
Component image
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.
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
ProbablePrime's video tutorial on how to use the StandaloneRectMesh component, as the concept is similar:
See Also
- Similar to StandaloneRectMesh.