C# 클래스 CSharpGL.UICursor

opengl UI for Cursor
상속: UIRenderer
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CreateDefault ( ) : UICursor

crates default cursor. Note: put this as the last one of SceneRootUI's children.

UICursor ( PointF focalPoint, Size size, string cursorBitmap = "" ) : System

opengl UI for Cursor. Note: put this as the last one of SceneRootUI's children.

UpdatePosition ( Point mousePosition ) : void

update cursor's position before every rendering.

보호된 메소드들

메소드 설명
DoRender ( RenderEventArgs arg ) : void

메소드 상세

CreateDefault() 공개 정적인 메소드

crates default cursor. Note: put this as the last one of SceneRootUI's children.
public static CreateDefault ( ) : UICursor
리턴 UICursor

DoRender() 보호된 메소드

protected DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
리턴 void

UICursor() 공개 메소드

opengl UI for Cursor. Note: put this as the last one of SceneRootUI's children.
public UICursor ( PointF focalPoint, Size size, string cursorBitmap = "" ) : System
focalPoint System.Drawing.PointF in percentage(0.00 ~ 1.00)..X ranges from 0(left) to 1(right). .Y ranges from 0(bottom) to 1(top).
size System.Drawing.Size
cursorBitmap string
리턴 System

UpdatePosition() 공개 메소드

update cursor's position before every rendering.
public UpdatePosition ( Point mousePosition ) : void
mousePosition Point
리턴 void