Render Net
RenderNet
Render 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.
Properties
XCount
Nr of vertices in the X-axis.
YCount
Nr of vertices in the Y-axis.
RenderVertexExpression
An 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.
ZGameEditor
Documentation
- Contents
- Overview
- Tutorial 1
- Tutorial 2
- Tutorial 3
- Sample projects
- Component reference
- Writing expressions
Community