47 lines
899 B
C#
47 lines
899 B
C#
|
using System;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace Thousandto.Launcher.ExternalLibs
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--纹理
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MaterialPropertyTexture
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public Texture Value;
|
|||
|
public string TexPath;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--四元值
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MaterialPropertyVector
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public Vector4 Value;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--颜色
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MaterialPropertyColor
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public Color Value;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 材质属性--Float
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public struct MaterialPropertyFloat
|
|||
|
{
|
|||
|
public string Name;
|
|||
|
public float Value;
|
|||
|
}
|
|||
|
}
|