ZGameEditor Documentation
Community |
RenderNetRenderNetRender a 2d-net with XCount*YCount nr of vertices using the current material. The vertices and texture coordinates can be modified using a expression before rendering. This can be used for animating water-like surfaces. This component can only be used in the OnRender property on Model or Application components. PropertiesXCountNr of vertices in the X-axis. YCountNr of vertices in the Y-axis. RenderVertexExpressionAn expression that will be called once for each vertex before rendering starts. The following properties can be modified in the expression: Vertex and TexCoord. Since this expression will be called many times (XCount*YCount each frame) in realtime, be careful of using large expressions or performance will suffer. |