mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-10 19:45:41 -05:00
Add Serializable
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using UnityEditor.UI;
|
||||
using UnityEngine;
|
||||
@@ -9,7 +10,7 @@ namespace UniVRM10
|
||||
/// インターリーブされたメッシュの頂点情報を表す構造体
|
||||
/// そのままGPUにアップロードされる
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[Serializable, StructLayout(LayoutKind.Sequential)]
|
||||
internal readonly struct MeshVertex
|
||||
{
|
||||
private readonly Vector3 _position;
|
||||
|
||||
Reference in New Issue
Block a user