(4 intermediate revisions by the same user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=GridMeshComponent.png
|Image=GridMeshComponent.png
|Name=Grid Mesh
|Name=Grid Mesh
}}
}}
The '''GridMesh''' component generates a procedural mesh for use with [[Component:MeshRenderer|Mesh Renderers]] that is like a [[Component:QuadMesh|Quad Mesh]] but has multiple squares instead of being one big square.
|DisplacementTexture|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv8=true| The texture to use for displacement. must be set to Uncompressed.
The GridMesh component generates a procedural mesh for use with Mesh Renderers that is like a Quad Mesh but has multiple squares instead of being one big square.
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.