コード例 #1
0
        public OutlinePass(OutlineFeature feature, string[] shaderTags)
        {
            _feature = feature;

            if (shaderTags != null && shaderTags.Length > 0)
            {
                foreach (var passName in shaderTags)
                {
                    _shaderTagIdList.Add(new ShaderTagId(passName));
                }
            }
            else
            {
                _shaderTagIdList.Add(new ShaderTagId("UniversalForward"));
                _shaderTagIdList.Add(new ShaderTagId("LightweightForward"));
                _shaderTagIdList.Add(new ShaderTagId("SRPDefaultUnlit"));
            }
        }
コード例 #2
0
 public OutlinePass(OutlineFeature feature)
 {
     _feature = feature;
 }