您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
25 行
819 B
25 行
819 B
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 = 1;
|
|
|
|
public float version
|
|
{
|
|
get { return m_Version; }
|
|
}
|
|
}
|
|
}
|