C# Class Artemis.Engine.Fixins.TextureFixin

Inheritance: BasePositionalFixin
Show file Open project: ArtemisEngine/Artemis-Engine

Public Properties

Property Type Description
CoordinateSpace CoordinateSpace
Texture Texture2D

Public Methods

Method Description
TextureFixin ( string name ) : Artemis.Engine.Assets
TextureFixin ( string name, PositionalForm form, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
TextureFixin ( string name, Texture2D texture, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
TextureFixin ( string name, Texture2D texture, PositionalForm form, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
TextureFixin ( string name, string textureName, PositionalForm form, bool treatAsAssetUri = true, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
TextureFixin ( string name, string textureName, bool treatAsAssetUri = true, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets

Private Methods

Method Description
RenderTexture ( ) : void

Method Details

TextureFixin() public method

public TextureFixin ( string name ) : Artemis.Engine.Assets
name string
return Artemis.Engine.Assets

TextureFixin() public method

public TextureFixin ( string name, PositionalForm form, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
name string
form PositionalForm
coordinateSpace CoordinateSpace
return Artemis.Engine.Assets

TextureFixin() public method

public TextureFixin ( string name, Texture2D texture, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
name string
texture Texture2D
coordinateSpace CoordinateSpace
return Artemis.Engine.Assets

TextureFixin() public method

public TextureFixin ( string name, Texture2D texture, PositionalForm form, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
name string
texture Texture2D
form PositionalForm
coordinateSpace CoordinateSpace
return Artemis.Engine.Assets

TextureFixin() public method

public TextureFixin ( string name, string textureName, PositionalForm form, bool treatAsAssetUri = true, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
name string
textureName string
form PositionalForm
treatAsAssetUri bool
coordinateSpace CoordinateSpace
return Artemis.Engine.Assets

TextureFixin() public method

public TextureFixin ( string name, string textureName, bool treatAsAssetUri = true, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : Artemis.Engine.Assets
name string
textureName string
treatAsAssetUri bool
coordinateSpace CoordinateSpace
return Artemis.Engine.Assets

Property Details

CoordinateSpace public property

The coordinate space from which to get the position of the texture.
public CoordinateSpace CoordinateSpace
return CoordinateSpace

Texture public property

The Texture to render.
public Texture2D Texture
return Texture2D