mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 04:19:42 -05:00
rename
This commit is contained in:
@@ -90,13 +90,13 @@ namespace UniGLTF
|
||||
return dst;
|
||||
}
|
||||
|
||||
public static Texture2D GetExportTexture(Texture2D texture, float smoothness)
|
||||
public static Texture2D Export(Texture2D texture, float smoothness)
|
||||
{
|
||||
var converted = TextureConverter.Convert(texture, glTFTextureTypes.Metallic, x => Export(x, smoothness), null);
|
||||
var converted = TextureConverter.Convert(texture, glTFTextureTypes.Metallic, x => ExportPixel(x, smoothness), null);
|
||||
return converted;
|
||||
}
|
||||
|
||||
public static Color32 Export(Color32 src, float smoothness)
|
||||
public static Color32 ExportPixel(Color32 src, float smoothness)
|
||||
{
|
||||
var dst = new Color32
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user