您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
24 行
521 B
24 行
521 B
namespace VrmLib
|
|
{
|
|
public class MorphTarget
|
|
{
|
|
public readonly string Name;
|
|
public VertexBuffer VertexBuffer;
|
|
|
|
public override string ToString()
|
|
{
|
|
var sb = new System.Text.StringBuilder();
|
|
sb.Append(Name);
|
|
foreach (var kv in VertexBuffer)
|
|
{
|
|
sb.Append($"[{kv.Key}]");
|
|
}
|
|
return sb.ToString();
|
|
}
|
|
|
|
public MorphTarget(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
}
|
|
}
|