|How To Setup The Cursor|
Supplemental Object Documentation
The Cursor object is an input control and the main focal point within the environment by which objects can interact with.
Setup, and check the cursor selection buffers.
Synchronize, and update the cursor for the next display buffer.
The coordinates generated from the rotation input.
The selected button returned as on or off.
The look-at point of the cursor.
The position point of the cursor.
The camera relativity which binds the object.
The rotation factor of the cursor axes.
The shader object.
The following example is based upon the engine being initialized at which point a cursor is displayed and checks for the selected buffered objects .
' Game Basic 3D Engine Build 4096 ' Copyright © Monarke Studios. All Rights Reserved. Private Cursor As New GameBasic3D.Cursor ' Engine.Initialize Do ' Engine.Begin ' Render object within the selection buffer Cursor.BeginSelection("...") Object.Render Cursor.EndSelection ' Render the cursor Cursor.Render _ Cursor.Axes.X, _ Cursor.Axes.Y, Size ' Synchronize, and update the cursor for the next display buffer Cursor.Update ' Engine.Synchronize If Cursor.CheckSelection("...") Then ' Preform Action End If Loop ' Engine.End Set Cursor = Nothing
Please note that the objects, and other various effects that can help extend the example are not entirely present but assume you're already familiar working with them. Please refer to the other online content, and technical reference included with the installation for further documentation.