Recent Changes - Search:

ZGameEditor

Documentation

Community

Edit sidebar

RenderNet

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.

Edit - History - Print - Recent Changes - Search
Page last modified on February 06, 2007, at 09:08 pm