mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-28 13:54:45 -05:00
MigrationVrm 関連を internal に
This commit is contained in:
@@ -7,7 +7,7 @@ namespace UniVRM10
|
||||
/// <summary>
|
||||
/// for UnitTest
|
||||
/// </summary>
|
||||
public static class MigrationCheck
|
||||
internal static class MigrationCheck
|
||||
{
|
||||
#region for UnitTest
|
||||
public class MigrationException : Exception
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
public class MigrationException : Exception
|
||||
internal class MigrationException : Exception
|
||||
{
|
||||
public MigrationException(string key, string value) : base($"{key}: {value}")
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace UniVRM10
|
||||
/// VRM 拡張に含まれる Material 情報を用いて、マイグレーションを行う.
|
||||
/// 前提として、glTF の仕様の範囲で glTFMaterial は既に読み込み済みであると仮定する.
|
||||
/// </summary>
|
||||
public static class MigrationMaterials
|
||||
internal static class MigrationMaterials
|
||||
{
|
||||
private const string DontUseExtensionShaderName = "VRM_USE_GLTFSHADER";
|
||||
private const string MaterialPropertiesKey = "materialProperties";
|
||||
|
||||
@@ -2,7 +2,7 @@ using UniJSON;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
public static class MigrateVector3
|
||||
internal static class MigrateVector3
|
||||
{
|
||||
/// <summary>
|
||||
/// VRM0は本来 (x, y, -z) と座標変換するべきところをしていない。
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UniGLTF;
|
||||
using UniJSON;
|
||||
using Unity.Collections;
|
||||
|
||||
[assembly: InternalsVisibleTo("VRM10.Tests")]
|
||||
[assembly: InternalsVisibleTo("VRM10.Tests.PlayMode")]
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
/// <summary>
|
||||
/// Convert vrm0 binary to vrm1 binary. Json processing
|
||||
/// </summary>
|
||||
public static class MigrationVrm
|
||||
static internal class MigrationVrm
|
||||
{
|
||||
public static byte[] Migrate(byte[] src)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using UnityEngine;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
public static class MigrationVrmExpression
|
||||
internal static class MigrationVrmExpression
|
||||
{
|
||||
/// <summary>
|
||||
/// preset 名の文字列から ExpressionPreset を確定させる。
|
||||
|
||||
Reference in New Issue
Block a user