C# Class Radegast.Rendering.RHelp

Exibir arquivo Open project: justasabc/UnityOpenSimClient Class Usage Examples

Public Properties

Property Type Description
CubeIndices ushort[]
CubeVertices float[]
InvalidPosition System.Vector3
RAD_IMG_MAGIC string

Public Methods

Method Description
Draw2DBox ( float x, float y, float width, float height, float depth ) : void
GLLoadImage ( Bitmap bitmap, bool hasAlpha ) : int
GLLoadImage ( Bitmap bitmap, bool hasAlpha, bool useMipmap ) : int
LoadCachedImage ( UUID textureID, byte &tgaData, bool &hasAlpha, bool &fullAlpha, bool &isMask ) : bool
NextPow2 ( int start ) : int
OMVVector2 ( OpenTK v ) : System.Vector2
OMVVector3 ( OpenTK v ) : System.Vector3
OMVVector4 ( OpenTK v ) : System.Vector4
ResetMaterial ( ) : void
SaveCachedImage ( byte tgaData, UUID textureID, bool hasAlpha, bool fullAlpha, bool isMask ) : bool
Smoothed1stOrder ( System.Vector3 curPos, System.Vector3 targetPos, float lastFrameTime ) : System.Vector3
Smoothed2ndOrder ( System.Vector3 curPos, System.Vector3 targetPos, System.Vector3 &accel, float lastFrameTime ) : System.Vector3
TKVector3 ( System.Vector2 v ) : OpenTK.Vector2
TKVector3 ( System.Vector3 v ) : OpenTK.Vector3
TKVector3 ( System.Vector4 v ) : OpenTK.Vector4
WinColor ( Color4 color ) : Color
WinColor ( OpenTK color ) : Color

Method Details

Draw2DBox() public static method

public static Draw2DBox ( float x, float y, float width, float height, float depth ) : void
x float
y float
width float
height float
depth float
return void

GLLoadImage() public static method

public static GLLoadImage ( Bitmap bitmap, bool hasAlpha ) : int
bitmap System.Drawing.Bitmap
hasAlpha bool
return int

GLLoadImage() public static method

public static GLLoadImage ( Bitmap bitmap, bool hasAlpha, bool useMipmap ) : int
bitmap System.Drawing.Bitmap
hasAlpha bool
useMipmap bool
return int

LoadCachedImage() public static method

public static LoadCachedImage ( UUID textureID, byte &tgaData, bool &hasAlpha, bool &fullAlpha, bool &isMask ) : bool
textureID UUID
tgaData byte
hasAlpha bool
fullAlpha bool
isMask bool
return bool

NextPow2() public static method

public static NextPow2 ( int start ) : int
start int
return int

OMVVector2() public static method

public static OMVVector2 ( OpenTK v ) : System.Vector2
v OpenTK
return System.Vector2

OMVVector3() public static method

public static OMVVector3 ( OpenTK v ) : System.Vector3
v OpenTK
return System.Vector3

OMVVector4() public static method

public static OMVVector4 ( OpenTK v ) : System.Vector4
v OpenTK
return System.Vector4

ResetMaterial() public static method

public static ResetMaterial ( ) : void
return void

SaveCachedImage() public static method

public static SaveCachedImage ( byte tgaData, UUID textureID, bool hasAlpha, bool fullAlpha, bool isMask ) : bool
tgaData byte
textureID UUID
hasAlpha bool
fullAlpha bool
isMask bool
return bool

Smoothed1stOrder() public static method

public static Smoothed1stOrder ( System.Vector3 curPos, System.Vector3 targetPos, float lastFrameTime ) : System.Vector3
curPos System.Vector3
targetPos System.Vector3
lastFrameTime float
return System.Vector3

Smoothed2ndOrder() public static method

public static Smoothed2ndOrder ( System.Vector3 curPos, System.Vector3 targetPos, System.Vector3 &accel, float lastFrameTime ) : System.Vector3
curPos System.Vector3
targetPos System.Vector3
accel System.Vector3
lastFrameTime float
return System.Vector3

TKVector3() public static method

public static TKVector3 ( System.Vector2 v ) : OpenTK.Vector2
v System.Vector2
return OpenTK.Vector2

TKVector3() public static method

public static TKVector3 ( System.Vector3 v ) : OpenTK.Vector3
v System.Vector3
return OpenTK.Vector3

TKVector3() public static method

public static TKVector3 ( System.Vector4 v ) : OpenTK.Vector4
v System.Vector4
return OpenTK.Vector4

WinColor() public static method

public static WinColor ( Color4 color ) : Color
color Color4
return Color

WinColor() public static method

public static WinColor ( OpenTK color ) : Color
color OpenTK
return Color

Property Details

CubeIndices public_oe static_oe property

public static ushort[] CubeIndices
return ushort[]

CubeVertices public_oe static_oe property

public static float[] CubeVertices
return float[]

InvalidPosition public_oe static_oe property

public static Vector3,System InvalidPosition
return System.Vector3

RAD_IMG_MAGIC public_oe static_oe property

public static string RAD_IMG_MAGIC
return string