void SetClippingPlane(Plane planeWS) { planeWS = planeWS.TranslateCustom(planeWS.normal * planeOffset); m_Master.SetClippingPlane(planeWS); #if UNITY_EDITOR SetDebugPlane(planeWS); #endif }
void SetClippingPlane(Plane planeWS) { planeWS = planeWS.TranslateCustom(planeWS.normal * planeOffset); m_Master.SetClippingPlane(planeWS); #if UNITY_EDITOR SetDebugPlane(planeWS); #endif }