コード例 #1
0
        void SetClippingPlane(Plane planeWS)
        {
            planeWS = planeWS.TranslateCustom(planeWS.normal * planeOffset);
            m_Master.SetClippingPlane(planeWS);
#if UNITY_EDITOR
            SetDebugPlane(planeWS);
#endif
        }