浏览代码

Pushed missing camera component.

/main
Felipe Lira 6 年前
当前提交
6fec7479
共有 2 个文件被更改,包括 33 次插入0 次删除
  1. 22
      com.unity.render-pipelines.lightweight/LWRP/LightweightAdditionalCameraData.cs
  2. 11
      com.unity.render-pipelines.lightweight/LWRP/LightweightAdditionalCameraData.cs.meta

22
com.unity.render-pipelines.lightweight/LWRP/LightweightAdditionalCameraData.cs


namespace UnityEngine.Experimental.Rendering.LightweightPipeline
{
[DisallowMultipleComponent]
[RequireComponent(typeof(Camera))]
public class LightweightAdditionalCameraData : MonoBehaviour
{
[Tooltip("If enabled shadows will render for this camera.")]
public bool renderShadows = true;
[Tooltip("If enabled depth texture will render for this camera bound as _CameraDepthTexture.")]
public bool requiresDepthTexture = false;
[Tooltip("If enabled opaque color texture will render for this camera and bound as _CameraOpaqueTexture.")]
public bool requiresColorTexture = false;
[HideInInspector][SerializeField] float m_Version;
public float version
{
get { return m_Version; }
}
}
}

11
com.unity.render-pipelines.lightweight/LWRP/LightweightAdditionalCameraData.cs.meta


fileFormatVersion: 2
guid: ba6af5eaa8d821f4e93093fd37ee3484
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存