public SetCubemapShadowInfo ( |
||
newCubemapShadowInfo | ||
리턴 | void |
public void SetCubemapShadowInfo(CubemapInfo newCubemapShadowInfo)
{
this.cubemapShadowInfo = newCubemapShadowInfo;
this.shadowInfo.shadowIntensity = (newCubemapShadowInfo != this) ? 1f : 0.3f;
this.shadowInfo.shadowColor = Color.white;
}
}
// If there is a currently active selection drag and drop move that originate from a shadow cubemap this call will remove the reference // Public to be call by LookDevView // Must be call before any insertion or modification of HDRI list public void ResetShadowCubemap() { if (m_SelectedShadowCubemapOwnerInfo != null) { m_SelectedShadowCubemapOwnerInfo.SetCubemapShadowInfo(m_SelectedShadowCubemapOwnerInfo); } }