22 lines
648 B
C#
22 lines
648 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Sirenix.OdinInspector;
|
|
|
|
/// <summary>
|
|
/// 存储场景中物件渲染所需的基本数据,每个场景笔刷都会绑定一份该对象,可以用于在场景中标识某个笔刷刷上的游戏物体
|
|
/// </summary>
|
|
public class SceneObjectRenderInfo : ScriptableObject
|
|
{
|
|
[ReadOnly]
|
|
[LabelText("不透明材质")]
|
|
public List<Material> opaqueMaterial = new();
|
|
|
|
[ReadOnly]
|
|
[LabelText("半透明材质")]
|
|
public List<Material> transparentMaterial = new();
|
|
|
|
[ReadOnly]
|
|
[LabelText("网格")]
|
|
public List<Mesh> meshes = new();
|
|
} |