Method SetCookie
SetCookie(Texture, Vector2)
Set light cookie. Note that the texture must have a power of two size.
선언
public void SetCookie(Texture cookie, Vector2 directionalLightCookieSize)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Texture | cookie | Cookie texture, must be 2D for Directional, Spot and Area light and Cubemap for Point lights |
Vector2 | directionalLightCookieSize | area light |
SetCookie(Texture)
Set light cookie.
선언
public void SetCookie(Texture cookie)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Texture | cookie | Cookie texture, must be 2D for Directional, Spot and Area light and Cubemap for Point lights |