using System;
using UnityEngine;
namespace Thousandto.Launcher.ExternalLibs
{
///
/// 材质属性--纹理名字
///
[Serializable]
public struct MatPropertyTextureName
{
public string Name;
public string Path;
}
///
/// 材质属性--四元值
///
[Serializable]
public struct MatPropertyVector
{
public string Name;
public Vector4 Value;
}
///
/// 材质属性--颜色
///
[Serializable]
public struct MatPropertyColor
{
public string Name;
public Color Value;
}
///
/// 材质属性--Float
///
[Serializable]
public struct MatPropertyFloat
{
public string Name;
public float Value;
}
///
/// 材质纹理结构
///
[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;
}
}