您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

25 行
648 B

using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace UniVRM10
{
/// <summary>
/// Stream0用のインターリーブされたメッシュの頂点情報を表す構造体
/// そのままGPUにアップロードされる
/// </summary>
[Serializable, StructLayout(LayoutKind.Sequential)]
internal readonly struct MeshVertex0
{
private readonly Vector3 _position;
private readonly Vector3 _normal;
public MeshVertex0(
Vector3 position,
Vector3 normal)
{
_position = position;
_normal = normal;
}
}
}