64 lines
1.2 KiB
C#
64 lines
1.2 KiB
C#
|
using System;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace Thousandto.Launcher.ExternalLibs
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--纹理名字
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MatPropertyTextureName
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public string Path;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--四元值
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MatPropertyVector
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public Vector4 Value;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--颜色
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MatPropertyColor
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public Color Value;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--Float
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MatPropertyFloat
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public float Value;
|
|||
|
}
|
|||
|
/// <summary>
|
|||
|
/// 材质纹理结构
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MatTexPropertyIndex
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public int Index;
|
|||
|
public Texture tex;
|
|||
|
public MultiTexIndex[] MultiIndex;
|
|||
|
}
|
|||
|
[Serializable]
|
|||
|
public struct MultiTexIndex
|
|||
|
{
|
|||
|
public int Index;
|
|||
|
public int MultiIndex;
|
|||
|
}
|
|||
|
}
|
|||
|
|