コード例 #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)
 {
 }
コード例 #2
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)
 {
 }
コード例 #3
0
 public TextureFixin(string name
                     , Texture2D texture
                     , PositionalForm form
                     , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace)
     : base(name, form)
 {
     Texture           = texture;
     RequiredRenderer += RenderTexture;
 }
コード例 #4
0
 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)
 {
 }
コード例 #6
0
 public TextureFixin( string name
                    , PositionalForm form
                    , CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace )
     : this(name, null, form, coordinateSpace)
 {
 }