Android.Opengl.Visibility.VisibilityTest Method
Test whether a given triangle mesh is visible on the screen.

Syntax

[Android.Runtime.Register("visibilityTest", "([FI[FI[CII)I", "")]
public static int VisibilityTest (float[] ws, int wsOffset, float[] positions, int positionsOffset, char[] indices, int indicesOffset, int indexCount)

Parameters

ws
the world space to screen space transform matrix, as an OpenGL column matrix.
wsOffset
an index into the ws array where the data starts.
positions
the vertex positions (x, y, z).
positionsOffset
the index in the positions array where the data starts.
indices
the indices of the triangle list. The indices are expressed as chars because they are unsigned 16-bit values.
indicesOffset
the index in the indices array where the index data starts.
indexCount
the number of indices in use. Typically a multiple of three. If not a multiple of three, the remaining one or two indices will be ignored.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif ws is null, wsOffset indices.length - indexCount

Remarks

Test whether a given triangle mesh is visible on the screen. The mesh is specified as an indexed triangle list.

[Android Documentation]

Requirements

Namespace: Android.Opengl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3