Method SetActive
SetActive(bool)
Sets the state of ScriptableRenderFeature (true: the feature is active, false: the feature is inactive). If the feature is active, it is added to the renderer it is attached to, otherwise the feature is skipped while rendering.
선언
public void SetActive(bool active)
파라미터
타입 | 이름 | 설명 |
---|---|---|
bool | active | The true value activates the ScriptableRenderFeature and the false value deactivates it. |