跳转到内容

getlightscope

上下文displace fog light shadow surface

void  getlightscope(material mat, string &scope, string &categories)

给定一个材质句柄,确定照亮表面的光源。光源选择由返回的scope/categories参数指定。