mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-20 09:34:42 -05:00
rename
This commit is contained in:
@@ -10,7 +10,7 @@ namespace VRM
|
||||
{
|
||||
public class VRMExporter : gltfExporter
|
||||
{
|
||||
public const Axes VrmSpecificationInverseAxis = Axes.Z;
|
||||
public const Axes Vrm0xSpecificationInverseAxis = Axes.Z;
|
||||
|
||||
public static glTF Export(GltfExportSettings configuration, GameObject go, ITextureSerializer textureSerializer)
|
||||
{
|
||||
@@ -27,9 +27,9 @@ namespace VRM
|
||||
|
||||
public VRMExporter(glTF gltf, GltfExportSettings exportSettings) : base(gltf, exportSettings)
|
||||
{
|
||||
if (exportSettings == null || exportSettings.InverseAxis != VrmSpecificationInverseAxis)
|
||||
if (exportSettings == null || exportSettings.InverseAxis != Vrm0xSpecificationInverseAxis)
|
||||
{
|
||||
throw new Exception( $"VRM specification requires InverseAxis settings as {VrmSpecificationInverseAxis}");
|
||||
throw new Exception( $"VRM specification requires InverseAxis settings as {Vrm0xSpecificationInverseAxis}");
|
||||
}
|
||||
|
||||
gltf.extensionsUsed.Add(glTF_VRM_extensions.ExtensionName);
|
||||
|
||||
Reference in New Issue
Block a user