C# Class Mono.Samples.TexturedCube.Cube

Afficher le fichier Open project: xamarin/mobile-samples

Méthodes publiques

Свойство Type Description
xAcc float
xAngle float
xSign float

Méthodes publiques

Méthode Description
InitModel ( ) : void
LoadTexture ( LoadBitmapData loadBitmapData ) : void
Move ( float xDiff, float yDiff ) : void
Render ( ) : void
ToggleTexture ( ) : void
UpdateWorld ( ) : void

Private Methods

Méthode Description
CheckGLError ( ) : void
CompileShader ( ShaderType type, string src, int &shader ) : bool
DeleteTexture ( ) : void
DestroyShaders ( ) : void
DrawModel ( ) : void
Initialize ( ) : void
LinkProgram ( int prog ) : bool
LoadResource ( string name ) : string
LoadShaders ( string vertShaderSource, string fragShaderSource, int &program ) : bool
SetupProjection ( int width, int height ) : void
ValidateProgram ( int prog ) : bool

Method Details

InitModel() public méthode

public InitModel ( ) : void
Résultat void

LoadTexture() public méthode

public LoadTexture ( LoadBitmapData loadBitmapData ) : void
loadBitmapData LoadBitmapData
Résultat void

Move() public méthode

public Move ( float xDiff, float yDiff ) : void
xDiff float
yDiff float
Résultat void

Render() public méthode

public Render ( ) : void
Résultat void

ToggleTexture() public méthode

public ToggleTexture ( ) : void
Résultat void

UpdateWorld() public méthode

public UpdateWorld ( ) : void
Résultat void

Property Details

xAcc public_oe property

public float xAcc
Résultat float

xAngle public_oe property

public float xAngle
Résultat float

xSign public_oe property

public float xSign
Résultat float