コード例 #1
0
ファイル: RPRLight.cs プロジェクト: sselecirPyM/Coocoo3D
        public static RPRLight SpotLight(RPRContext context)
        {
            var light = new RPRLight(context);

            Check(Rpr.ContextCreateSpotLight(context._handle, out light._handle));
            return(light);
        }
コード例 #2
0
 public void DetachLight(RPRLight light)
 {
     Check(Rpr.SceneDetachLight(_handle, light._handle));
 }