C# Class Protogame.Null3DRenderUtilities

Inheritance: I3DRenderUtilities
Afficher le fichier Open project: RedpointGames/Protogame

Méthodes publiques

Méthode Description
MeasureText ( IRenderContext context, string text, FontAsset font ) : Vector2
RenderCircle ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix matrix, Vector2 center, int radius, Color color, bool filled = false ) : void
RenderCube ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, Color color ) : void
RenderCube ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, TextureAsset texture, Vector2 topLeftUV, Vector2 bottomRightUV ) : void
RenderLine ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Vector3 start, Vector3 end, Color color ) : void
RenderLine ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Vector3 start, Vector3 end, TextureAsset texture, Vector2 startUV, Vector2 endUV ) : void
RenderPlane ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, Color color ) : void
RenderPlane ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, TextureAsset texture, Vector2 topLeftUV, Vector2 bottomRightUV ) : void
RenderRectangle ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Vector3 start, Vector3 end, Color color, bool filled = false ) : void
RenderText ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix matrix, string text, FontAsset font, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Top, Color textColor = null, bool renderShadow = true, Color shadowColor = null ) : void
RenderTexture ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix matrix, TextureAsset texture, Color color = null, bool flipHorizontally = false, bool flipVertically = false, Rectangle sourceArea = null ) : void

Method Details

MeasureText() public méthode

public MeasureText ( IRenderContext context, string text, FontAsset font ) : Vector2
context IRenderContext
text string
font FontAsset
Résultat Vector2

RenderCircle() public méthode

public RenderCircle ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix matrix, Vector2 center, int radius, Color color, bool filled = false ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
matrix Matrix
center Vector2
radius int
color Color
filled bool
Résultat void

RenderCube() public méthode

public RenderCube ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, Color color ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
transform Matrix
color Color
Résultat void

RenderCube() public méthode

public RenderCube ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, TextureAsset texture, Vector2 topLeftUV, Vector2 bottomRightUV ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
transform Matrix
texture TextureAsset
topLeftUV Vector2
bottomRightUV Vector2
Résultat void

RenderLine() public méthode

public RenderLine ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Vector3 start, Vector3 end, Color color ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
start Vector3
end Vector3
color Color
Résultat void

RenderLine() public méthode

public RenderLine ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Vector3 start, Vector3 end, TextureAsset texture, Vector2 startUV, Vector2 endUV ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
start Vector3
end Vector3
texture TextureAsset
startUV Vector2
endUV Vector2
Résultat void

RenderPlane() public méthode

public RenderPlane ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, Color color ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
transform Matrix
color Color
Résultat void

RenderPlane() public méthode

public RenderPlane ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, TextureAsset texture, Vector2 topLeftUV, Vector2 bottomRightUV ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
transform Matrix
texture TextureAsset
topLeftUV Vector2
bottomRightUV Vector2
Résultat void

RenderRectangle() public méthode

public RenderRectangle ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Vector3 start, Vector3 end, Color color, bool filled = false ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
start Vector3
end Vector3
color Color
filled bool
Résultat void

RenderText() public méthode

public RenderText ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix matrix, string text, FontAsset font, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Top, Color textColor = null, bool renderShadow = true, Color shadowColor = null ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
matrix Matrix
text string
font FontAsset
horizontalAlignment HorizontalAlignment
verticalAlignment VerticalAlignment
textColor Color
renderShadow bool
shadowColor Color
Résultat void

RenderTexture() public méthode

public RenderTexture ( IRenderContext context, IEffect effect, IEffectParameterSet effectParameterSet, Matrix matrix, TextureAsset texture, Color color = null, bool flipHorizontally = false, bool flipVertically = false, Rectangle sourceArea = null ) : void
context IRenderContext
effect IEffect
effectParameterSet IEffectParameterSet
matrix Matrix
texture TextureAsset
color Color
flipHorizontally bool
flipVertically bool
sourceArea Microsoft.Xna.Framework.Rectangle
Résultat void