Add FlipX to texture tool.
This commit is contained in:
@@ -53,16 +53,20 @@ API_CLASS(Namespace="FlaxEngine.Tools", Static) class FLAXENGINE_API TextureTool
|
||||
API_FIELD(Attributes="EditorOrder(60)")
|
||||
bool GenerateMipMaps = true;
|
||||
|
||||
// True if flip Y coordinate of the texture.
|
||||
// True if flip Y coordinate of the texture (Flips over X axis).
|
||||
API_FIELD(Attributes="EditorOrder(70)")
|
||||
bool FlipY = false;
|
||||
|
||||
// True if flip X coordinate of the texture (Flips over Y axis).
|
||||
API_FIELD(Attributes="EditorOrder(71)")
|
||||
bool FlipX = false;
|
||||
|
||||
// True if to invert the green channel on a normal map. Good for OpenGL to DirectX conversion.
|
||||
API_FIELD(Attributes = "EditorOrder(71)")
|
||||
API_FIELD(Attributes = "EditorOrder(72)")
|
||||
bool InvertGreenChannel = false;
|
||||
|
||||
// Rebuild Z (blue) channel assuming X/Y are normals.
|
||||
API_FIELD(Attributes = "EditorOrder(72)")
|
||||
API_FIELD(Attributes = "EditorOrder(73)")
|
||||
bool ReconstructZChannel = false;
|
||||
|
||||
// Texture size scale. Allows increasing or decreasing the imported texture resolution. Default is 1.
|
||||
|
||||
Reference in New Issue
Block a user