mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 03:48:19 -05:00
Add comments
This commit is contained in:
@@ -51,7 +51,7 @@ namespace UniGLTF
|
||||
MigrationFlags = migrationFlags;
|
||||
}
|
||||
|
||||
public static GltfData CreateFromGltfData(glTF gltf)
|
||||
public static GltfData CreateFromGltfDataForTest(glTF gltf)
|
||||
{
|
||||
return new GltfData(
|
||||
string.Empty,
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
namespace UniGLTF
|
||||
{
|
||||
/// <summary>
|
||||
/// .GLB file parser.
|
||||
/// </summary>
|
||||
public sealed class GlbFileParser
|
||||
{
|
||||
private readonly string _path;
|
||||
|
||||
@@ -6,6 +6,10 @@ using UniJSON;
|
||||
|
||||
namespace UniGLTF
|
||||
{
|
||||
/// <summary>
|
||||
/// Low-level API.
|
||||
/// Parse from specified path & specified binary.
|
||||
/// </summary>
|
||||
public sealed class GlbLowLevelParser
|
||||
{
|
||||
private readonly string _path;
|
||||
|
||||
@@ -7,7 +7,7 @@ using System.Text;
|
||||
namespace UniGLTF
|
||||
{
|
||||
/// <summary>
|
||||
/// Zip archived .GLTF file parser.
|
||||
/// Zip archived .GLTF file & resources parser.
|
||||
/// </summary>
|
||||
public sealed class ZipArchivedGltfFileParser
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace VRM
|
||||
public void TextureEnumerationTest()
|
||||
{
|
||||
{
|
||||
var data = GltfData.CreateFromGltfData(
|
||||
var data = GltfData.CreateFromGltfDataForTest(
|
||||
new glTF
|
||||
{
|
||||
images = new List<glTFImage>
|
||||
@@ -88,7 +88,7 @@ namespace VRM
|
||||
[Test]
|
||||
public void TextureEnumerationInUnknownShader()
|
||||
{
|
||||
var data = GltfData.CreateFromGltfData(
|
||||
var data = GltfData.CreateFromGltfDataForTest(
|
||||
new glTF
|
||||
{
|
||||
images = new List<glTFImage>
|
||||
|
||||
Reference in New Issue
Block a user