UniVRM/Assets/VRM10/vrmlib/Runtime/SkinJoint.cs
ousttrue d53942a7bd merge vrm10
* MeshUtility を UniGLTF 下に移動
* Assets/VRM10 を追加
* JsonSchemaからのコード生成 UniGLTF/Editor/Generator を追加
2021-01-07 13:37:24 +09:00

30 lines
720 B
C#

using System;
namespace VrmLib
{
public struct SkinJoints : IEquatable<SkinJoints>
{
public ushort Joint0;
public ushort Joint1;
public ushort Joint2;
public ushort Joint3;
public SkinJoints(ushort j0, ushort j1, ushort j2, ushort j3)
{
Joint0 = j0;
Joint1 = j1;
Joint2 = j2;
Joint3 = j3;
}
public bool Equals(SkinJoints other)
{
if (Joint0 != other.Joint0) return false;
if (Joint1 != other.Joint1) return false;
if (Joint2 != other.Joint2) return false;
if (Joint3 != other.Joint3) return false;
return true;
}
}
}