Property | Type | Description | |
---|---|---|---|
Beige | Color | ||
Black | Color | ||
Blue | Color | ||
Brown | Color | ||
Cream | Color | ||
Cyan | Color | ||
Gold | Color | ||
Green | Color | ||
Grey | Color | ||
Lime | Color | ||
Ocean | Color | ||
Orange | Color | ||
Red | Color | ||
Sky | Color | ||
Sunset | Color | ||
Teal | Color |
Method | Description | |
---|---|---|
BreakableTextureFragments ( |
||
CalculateOrigin ( |
||
CircleTexture ( float radius, Color color, Color outlineColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
CircleTexture ( float radius, string pattern, Color mainColor, Color patternColor, Color outlineColor, float materialScale ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
GetFont ( string fontName ) : |
||
GetTexture ( string textureName ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
Initialize ( Microsoft.Xna.Framework.Game game ) : void | ||
PlaySoundEffect ( string soundName, bool looped ) : |
Plays a sound effect by name and returns an instance of that sound.
|
|
PlaySoundEffect ( string soundName ) : void |
Plays a fire-and-forget sound effect by name.
|
|
PolygonTexture ( Vector2 vertices, Color color, Color outlineColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
PolygonTexture ( Vector2 vertices, string pattern, Color mainColor, Color patternColor, Color outlineColor, float materialScale ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
PolygonTexture ( Vertices vertices, Color color, Color outlineColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
PolygonTexture ( Vertices vertices, string pattern, Color mainColor, Color patternColor, Color outlineColor, float materialScale ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
TextureFromShape ( |
||
TextureFromShape ( |
Method | Description | |
---|---|---|
ContentWrapper ( Microsoft.Xna.Framework.Game game ) : System | ||
RenderTexture ( int width, int height, Microsoft.Xna.Framework.Graphics.Texture2D pattern, Color patternColor, List |
||
RenderTexture ( int width, int height, Microsoft.Xna.Framework.Graphics.Texture2D pattern, Color patternColor, Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture verticesFill, Microsoft.Xna.Framework.Graphics.VertexPositionColor verticesOutline ) : Microsoft.Xna.Framework.Graphics.Texture2D |
public static BreakableTextureFragments ( |
||
body | ||
textureName | string | |
return | List |
public static CalculateOrigin ( |
||
body | ||
return | Vector2 |
public static CircleTexture ( float radius, Color color, Color outlineColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
radius | float | |
color | Color | |
outlineColor | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static CircleTexture ( float radius, string pattern, Color mainColor, Color patternColor, Color outlineColor, float materialScale ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
radius | float | |
pattern | string | |
mainColor | Color | |
patternColor | Color | |
outlineColor | Color | |
materialScale | float | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static GetFont ( string fontName ) : |
||
fontName | string | |
return |
public static GetTexture ( string textureName ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
textureName | string | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static Initialize ( Microsoft.Xna.Framework.Game game ) : void | ||
game | Microsoft.Xna.Framework.Game | |
return | void |
public static PlaySoundEffect ( string soundName, bool looped ) : |
||
soundName | string | The name of the sound to play. |
looped | bool | True if sound effect should loop. |
return |
public static PlaySoundEffect ( string soundName ) : void | ||
soundName | string | The name of the sound to play. |
return | void |
public static PolygonTexture ( Vector2 vertices, Color color, Color outlineColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
vertices | Vector2 | |
color | Color | |
outlineColor | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static PolygonTexture ( Vector2 vertices, string pattern, Color mainColor, Color patternColor, Color outlineColor, float materialScale ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
vertices | Vector2 | |
pattern | string | |
mainColor | Color | |
patternColor | Color | |
outlineColor | Color | |
materialScale | float | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static PolygonTexture ( Vertices vertices, Color color, Color outlineColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
vertices | Vertices | |
color | Color | |
outlineColor | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static PolygonTexture ( Vertices vertices, string pattern, Color mainColor, Color patternColor, Color outlineColor, float materialScale ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
vertices | Vertices | |
pattern | string | |
mainColor | Color | |
patternColor | Color | |
outlineColor | Color | |
materialScale | float | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static TextureFromShape ( |
||
shape | ||
color | Color | |
outlineColor | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static TextureFromShape ( |
||
shape | ||
pattern | string | |
mainColor | Color | |
patternColor | Color | |
outlineColor | Color | |
materialScale | float | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |