|
@@ -477,6 +477,11 @@ export class TextureAssetTask extends AbstractAssetTask implements ITextureAsset
|
|
public texture: Texture;
|
|
public texture: Texture;
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * Defines if texture must be inverted on Y axis (default is false)
|
|
|
|
+ */
|
|
|
|
+ public invertY: boolean = false; // note that Texture defaults to true when using its constructor
|
|
|
|
+
|
|
|
|
+ /**
|
|
* Callback called when the task is successful
|
|
* Callback called when the task is successful
|
|
*/
|
|
*/
|
|
public onSuccess: (task: TextureAssetTask) => void;
|
|
public onSuccess: (task: TextureAssetTask) => void;
|
|
@@ -509,7 +514,7 @@ export class TextureAssetTask extends AbstractAssetTask implements ITextureAsset
|
|
/**
|
|
/**
|
|
* Defines if texture must be inverted on Y axis (default is false)
|
|
* Defines if texture must be inverted on Y axis (default is false)
|
|
*/
|
|
*/
|
|
- public invertY?: boolean,
|
|
|
|
|
|
+ invertY: boolean = false,
|
|
/**
|
|
/**
|
|
* Defines the sampling mode to use (default is Texture.TRILINEAR_SAMPLINGMODE)
|
|
* Defines the sampling mode to use (default is Texture.TRILINEAR_SAMPLINGMODE)
|
|
*/
|
|
*/
|