C# Class CocoaSharp.Samples.SimpleOpenGLView

Inheritance: Cocoa.OpenGLView
显示文件 Open project: mono/cocoa-sharp

Public Properties

Property Type Description
random System.Random

Public Methods

Method Description
SimpleOpenGLView ( IntPtr raw ) : System

Private Methods

Method Description
Draw ( Rect aRect ) : void
SetColor ( ) : Color
SimpleOpenGLView ( Rect aRect ) : System
ViewTick ( Cocoa sender ) : void
glBegin ( int mode ) : void
glClear ( int mask ) : void
glClearColor ( float r, float g, float b, float a ) : void
glColor3f ( float r, float g, float b ) : void
glEnd ( ) : void
glFlush ( ) : void
glLoadIdentity ( ) : void
glMatrixMode ( int type ) : void
glRotatef ( float angle, float x, float y, float z ) : void
glScalef ( float x, float y, float z ) : void
glVertex2f ( float x, float y ) : void
glVertex3f ( float x, float y, float z ) : void
glViewport ( int x, int y, int width, int height ) : void
gluLookAt ( double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ ) : void
gluPerspective ( double a, double b, double c, double d ) : void

Method Details

SimpleOpenGLView() public method

public SimpleOpenGLView ( IntPtr raw ) : System
raw System.IntPtr
return System

Property Details

random public_oe property

public Random,System random
return System.Random