Class RenderFactoryProvider
Inheritance
System.Object
RenderFactoryProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Oasys.Common
Assembly: Oasys.Common.dll
Syntax
public class RenderFactoryProvider
Fields
D3D
Declaration
public static Direct3D D3D
Field Value
Type | Description |
---|---|
SharpDX.Direct3D9.Direct3D |
D3D9Line
Declaration
public static Line D3D9Line
Field Value
Type | Description |
---|---|
SharpDX.Direct3D9.Line |
RenderDevice
Declaration
public static Device RenderDevice
Field Value
Type | Description |
---|---|
SharpDX.Direct3D9.Device |
Methods
DrawCircle(Vector2, Single, Color, Single)
Declaration
public static void DrawCircle(Vector2 mapPos, float radius, Color color, float thickness)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector2 | mapPos | |
System.Single | radius | |
SharpDX.Color | color | |
System.Single | thickness |
DrawCircle(Vector3, Single, Color, Single, Boolean)
Declaration
public static void DrawCircle(Vector3 position, float radius, Color color, float thickness, bool filled = false)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector3 | position | |
System.Single | radius | |
SharpDX.Color | color | |
System.Single | thickness | |
System.Boolean | filled |
DrawImage(Image)
Declaration
public static void DrawImage(Image image)
Parameters
Type | Name | Description |
---|---|---|
Image | image |
DrawSpriteTexture(Sprite, Texture, Color, Vector2, Single[])
Declaration
public static void DrawSpriteTexture(Sprite sprite, Texture texture, Color color, Vector2 pos, float[] scale)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Direct3D9.Sprite | sprite | |
SharpDX.Direct3D9.Texture | texture | |
SharpDX.Color | color | |
SharpDX.Vector2 | pos | |
System.Single[] | scale |
DrawTransformSprite(Sprite, Texture, Color, Vector2, Single[])
Declaration
public static void DrawTransformSprite(Sprite sprite, Texture texture, Color color, Vector2 pos, float[] scale)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Direct3D9.Sprite | sprite | |
SharpDX.Direct3D9.Texture | texture | |
SharpDX.Color | color | |
SharpDX.Vector2 | pos | |
System.Single[] | scale |