示例#1
0
 public TextureFixin(string name
                     , string textureName
                     , PositionalForm form
                     , bool treatAsAssetUri            = true
                     , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace)
     : this(name, AssetLoader.Load <Texture2D>(textureName, treatAsAssetUri), form, coordinateSpace)
 {
 }
 public TextureFixin( string name
                    , string textureName
                    , PositionalForm form
                    , bool treatAsAssetUri = true
                    , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace )
     : this(name, AssetLoader.Load<Texture2D>(textureName, treatAsAssetUri), form, coordinateSpace)
 {
 }
示例#3
0
 public TextureFixin(string name
                     , Texture2D texture
                     , PositionalForm form
                     , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace)
     : base(name, form)
 {
     Texture           = texture;
     RequiredRenderer += RenderTexture;
 }
 public TextureFixin( string name
                    , Texture2D texture
                    , PositionalForm form
                    , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace )
     : base(name, form)
 {
     Texture = texture;
     RequiredRenderer += RenderTexture;
 }
示例#5
0
 public TextureFixin(string name
                     , PositionalForm form
                     , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace)
     : this(name, null, form, coordinateSpace)
 {
 }
 public TextureFixin( string name
                    , PositionalForm form
                    , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace )
     : this(name, null, form, coordinateSpace)
 {
 }