예제 #1
0
        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));
 }