objc2_scene_kit/generated/
SCNCamera.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6#[cfg(feature = "objc2-core-foundation")]
7use objc2_core_foundation::*;
8use objc2_foundation::*;
9
10use crate::*;
11
12#[repr(transparent)]
15#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
16pub struct SCNCameraProjectionDirection(pub NSInteger);
17impl SCNCameraProjectionDirection {
18 #[doc(alias = "SCNCameraProjectionDirectionVertical")]
19 pub const Vertical: Self = Self(0);
20 #[doc(alias = "SCNCameraProjectionDirectionHorizontal")]
21 pub const Horizontal: Self = Self(1);
22}
23
24unsafe impl Encode for SCNCameraProjectionDirection {
25 const ENCODING: Encoding = NSInteger::ENCODING;
26}
27
28unsafe impl RefEncode for SCNCameraProjectionDirection {
29 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
30}
31
32extern_class!(
33 #[unsafe(super(NSObject))]
39 #[derive(Debug, PartialEq, Eq, Hash)]
40 pub struct SCNCamera;
41);
42
43extern_conformance!(
44 unsafe impl NSCoding for SCNCamera {}
45);
46
47extern_conformance!(
48 unsafe impl NSCopying for SCNCamera {}
49);
50
51unsafe impl CopyingHelper for SCNCamera {
52 type Result = Self;
53}
54
55extern_conformance!(
56 unsafe impl NSObjectProtocol for SCNCamera {}
57);
58
59extern_conformance!(
60 unsafe impl NSSecureCoding for SCNCamera {}
61);
62
63#[cfg(feature = "SCNAnimation")]
64extern_conformance!(
65 unsafe impl SCNAnimatable for SCNCamera {}
66);
67
68#[cfg(feature = "SCNTechnique")]
69extern_conformance!(
70 unsafe impl SCNTechniqueSupport for SCNCamera {}
71);
72
73impl SCNCamera {
74 extern_methods!(
75 #[unsafe(method(camera))]
77 #[unsafe(method_family = none)]
78 pub unsafe fn camera() -> Retained<Self>;
79
80 #[unsafe(method(name))]
82 #[unsafe(method_family = none)]
83 pub unsafe fn name(&self) -> Option<Retained<NSString>>;
84
85 #[unsafe(method(setName:))]
87 #[unsafe(method_family = none)]
88 pub unsafe fn setName(&self, name: Option<&NSString>);
89
90 #[cfg(feature = "objc2-core-foundation")]
91 #[unsafe(method(fieldOfView))]
95 #[unsafe(method_family = none)]
96 pub unsafe fn fieldOfView(&self) -> CGFloat;
97
98 #[cfg(feature = "objc2-core-foundation")]
99 #[unsafe(method(setFieldOfView:))]
101 #[unsafe(method_family = none)]
102 pub unsafe fn setFieldOfView(&self, field_of_view: CGFloat);
103
104 #[unsafe(method(projectionDirection))]
106 #[unsafe(method_family = none)]
107 pub unsafe fn projectionDirection(&self) -> SCNCameraProjectionDirection;
108
109 #[unsafe(method(setProjectionDirection:))]
111 #[unsafe(method_family = none)]
112 pub unsafe fn setProjectionDirection(
113 &self,
114 projection_direction: SCNCameraProjectionDirection,
115 );
116
117 #[cfg(feature = "objc2-core-foundation")]
118 #[unsafe(method(focalLength))]
122 #[unsafe(method_family = none)]
123 pub unsafe fn focalLength(&self) -> CGFloat;
124
125 #[cfg(feature = "objc2-core-foundation")]
126 #[unsafe(method(setFocalLength:))]
128 #[unsafe(method_family = none)]
129 pub unsafe fn setFocalLength(&self, focal_length: CGFloat);
130
131 #[cfg(feature = "objc2-core-foundation")]
132 #[unsafe(method(sensorHeight))]
136 #[unsafe(method_family = none)]
137 pub unsafe fn sensorHeight(&self) -> CGFloat;
138
139 #[cfg(feature = "objc2-core-foundation")]
140 #[unsafe(method(setSensorHeight:))]
142 #[unsafe(method_family = none)]
143 pub unsafe fn setSensorHeight(&self, sensor_height: CGFloat);
144
145 #[unsafe(method(zNear))]
149 #[unsafe(method_family = none)]
150 pub unsafe fn zNear(&self) -> c_double;
151
152 #[unsafe(method(setZNear:))]
154 #[unsafe(method_family = none)]
155 pub unsafe fn setZNear(&self, z_near: c_double);
156
157 #[unsafe(method(zFar))]
161 #[unsafe(method_family = none)]
162 pub unsafe fn zFar(&self) -> c_double;
163
164 #[unsafe(method(setZFar:))]
166 #[unsafe(method_family = none)]
167 pub unsafe fn setZFar(&self, z_far: c_double);
168
169 #[unsafe(method(automaticallyAdjustsZRange))]
173 #[unsafe(method_family = none)]
174 pub unsafe fn automaticallyAdjustsZRange(&self) -> bool;
175
176 #[unsafe(method(setAutomaticallyAdjustsZRange:))]
178 #[unsafe(method_family = none)]
179 pub unsafe fn setAutomaticallyAdjustsZRange(&self, automatically_adjusts_z_range: bool);
180
181 #[unsafe(method(usesOrthographicProjection))]
183 #[unsafe(method_family = none)]
184 pub unsafe fn usesOrthographicProjection(&self) -> bool;
185
186 #[unsafe(method(setUsesOrthographicProjection:))]
188 #[unsafe(method_family = none)]
189 pub unsafe fn setUsesOrthographicProjection(&self, uses_orthographic_projection: bool);
190
191 #[unsafe(method(orthographicScale))]
195 #[unsafe(method_family = none)]
196 pub unsafe fn orthographicScale(&self) -> c_double;
197
198 #[unsafe(method(setOrthographicScale:))]
200 #[unsafe(method_family = none)]
201 pub unsafe fn setOrthographicScale(&self, orthographic_scale: c_double);
202
203 #[cfg(all(feature = "SceneKitTypes", feature = "objc2-quartz-core"))]
204 #[cfg(not(target_os = "watchos"))]
205 #[unsafe(method(projectionTransform))]
207 #[unsafe(method_family = none)]
208 pub unsafe fn projectionTransform(&self) -> SCNMatrix4;
209
210 #[cfg(all(feature = "SceneKitTypes", feature = "objc2-quartz-core"))]
211 #[cfg(not(target_os = "watchos"))]
212 #[unsafe(method(setProjectionTransform:))]
214 #[unsafe(method_family = none)]
215 pub unsafe fn setProjectionTransform(&self, projection_transform: SCNMatrix4);
216
217 #[cfg(all(
218 feature = "SceneKitTypes",
219 feature = "objc2-core-foundation",
220 feature = "objc2-quartz-core"
221 ))]
222 #[cfg(not(target_os = "watchos"))]
223 #[unsafe(method(projectionTransformWithViewportSize:))]
224 #[unsafe(method_family = none)]
225 pub unsafe fn projectionTransformWithViewportSize(
226 &self,
227 viewport_size: CGSize,
228 ) -> SCNMatrix4;
229
230 #[unsafe(method(wantsDepthOfField))]
232 #[unsafe(method_family = none)]
233 pub unsafe fn wantsDepthOfField(&self) -> bool;
234
235 #[unsafe(method(setWantsDepthOfField:))]
237 #[unsafe(method_family = none)]
238 pub unsafe fn setWantsDepthOfField(&self, wants_depth_of_field: bool);
239
240 #[cfg(feature = "objc2-core-foundation")]
241 #[unsafe(method(focusDistance))]
245 #[unsafe(method_family = none)]
246 pub unsafe fn focusDistance(&self) -> CGFloat;
247
248 #[cfg(feature = "objc2-core-foundation")]
249 #[unsafe(method(setFocusDistance:))]
251 #[unsafe(method_family = none)]
252 pub unsafe fn setFocusDistance(&self, focus_distance: CGFloat);
253
254 #[unsafe(method(focalBlurSampleCount))]
258 #[unsafe(method_family = none)]
259 pub unsafe fn focalBlurSampleCount(&self) -> NSInteger;
260
261 #[unsafe(method(setFocalBlurSampleCount:))]
263 #[unsafe(method_family = none)]
264 pub unsafe fn setFocalBlurSampleCount(&self, focal_blur_sample_count: NSInteger);
265
266 #[cfg(feature = "objc2-core-foundation")]
267 #[unsafe(method(fStop))]
271 #[unsafe(method_family = none)]
272 pub unsafe fn fStop(&self) -> CGFloat;
273
274 #[cfg(feature = "objc2-core-foundation")]
275 #[unsafe(method(setFStop:))]
277 #[unsafe(method_family = none)]
278 pub unsafe fn setFStop(&self, f_stop: CGFloat);
279
280 #[unsafe(method(apertureBladeCount))]
284 #[unsafe(method_family = none)]
285 pub unsafe fn apertureBladeCount(&self) -> NSInteger;
286
287 #[unsafe(method(setApertureBladeCount:))]
289 #[unsafe(method_family = none)]
290 pub unsafe fn setApertureBladeCount(&self, aperture_blade_count: NSInteger);
291
292 #[cfg(feature = "objc2-core-foundation")]
293 #[unsafe(method(motionBlurIntensity))]
297 #[unsafe(method_family = none)]
298 pub unsafe fn motionBlurIntensity(&self) -> CGFloat;
299
300 #[cfg(feature = "objc2-core-foundation")]
301 #[unsafe(method(setMotionBlurIntensity:))]
303 #[unsafe(method_family = none)]
304 pub unsafe fn setMotionBlurIntensity(&self, motion_blur_intensity: CGFloat);
305
306 #[cfg(feature = "objc2-core-foundation")]
307 #[unsafe(method(screenSpaceAmbientOcclusionIntensity))]
311 #[unsafe(method_family = none)]
312 pub unsafe fn screenSpaceAmbientOcclusionIntensity(&self) -> CGFloat;
313
314 #[cfg(feature = "objc2-core-foundation")]
315 #[unsafe(method(setScreenSpaceAmbientOcclusionIntensity:))]
317 #[unsafe(method_family = none)]
318 pub unsafe fn setScreenSpaceAmbientOcclusionIntensity(
319 &self,
320 screen_space_ambient_occlusion_intensity: CGFloat,
321 );
322
323 #[cfg(feature = "objc2-core-foundation")]
324 #[unsafe(method(screenSpaceAmbientOcclusionRadius))]
328 #[unsafe(method_family = none)]
329 pub unsafe fn screenSpaceAmbientOcclusionRadius(&self) -> CGFloat;
330
331 #[cfg(feature = "objc2-core-foundation")]
332 #[unsafe(method(setScreenSpaceAmbientOcclusionRadius:))]
334 #[unsafe(method_family = none)]
335 pub unsafe fn setScreenSpaceAmbientOcclusionRadius(
336 &self,
337 screen_space_ambient_occlusion_radius: CGFloat,
338 );
339
340 #[cfg(feature = "objc2-core-foundation")]
341 #[unsafe(method(screenSpaceAmbientOcclusionBias))]
345 #[unsafe(method_family = none)]
346 pub unsafe fn screenSpaceAmbientOcclusionBias(&self) -> CGFloat;
347
348 #[cfg(feature = "objc2-core-foundation")]
349 #[unsafe(method(setScreenSpaceAmbientOcclusionBias:))]
351 #[unsafe(method_family = none)]
352 pub unsafe fn setScreenSpaceAmbientOcclusionBias(
353 &self,
354 screen_space_ambient_occlusion_bias: CGFloat,
355 );
356
357 #[cfg(feature = "objc2-core-foundation")]
358 #[unsafe(method(screenSpaceAmbientOcclusionDepthThreshold))]
362 #[unsafe(method_family = none)]
363 pub unsafe fn screenSpaceAmbientOcclusionDepthThreshold(&self) -> CGFloat;
364
365 #[cfg(feature = "objc2-core-foundation")]
366 #[unsafe(method(setScreenSpaceAmbientOcclusionDepthThreshold:))]
368 #[unsafe(method_family = none)]
369 pub unsafe fn setScreenSpaceAmbientOcclusionDepthThreshold(
370 &self,
371 screen_space_ambient_occlusion_depth_threshold: CGFloat,
372 );
373
374 #[cfg(feature = "objc2-core-foundation")]
375 #[unsafe(method(screenSpaceAmbientOcclusionNormalThreshold))]
379 #[unsafe(method_family = none)]
380 pub unsafe fn screenSpaceAmbientOcclusionNormalThreshold(&self) -> CGFloat;
381
382 #[cfg(feature = "objc2-core-foundation")]
383 #[unsafe(method(setScreenSpaceAmbientOcclusionNormalThreshold:))]
385 #[unsafe(method_family = none)]
386 pub unsafe fn setScreenSpaceAmbientOcclusionNormalThreshold(
387 &self,
388 screen_space_ambient_occlusion_normal_threshold: CGFloat,
389 );
390
391 #[unsafe(method(wantsHDR))]
393 #[unsafe(method_family = none)]
394 pub unsafe fn wantsHDR(&self) -> bool;
395
396 #[unsafe(method(setWantsHDR:))]
398 #[unsafe(method_family = none)]
399 pub unsafe fn setWantsHDR(&self, wants_hdr: bool);
400
401 #[cfg(feature = "objc2-core-foundation")]
402 #[unsafe(method(exposureOffset))]
404 #[unsafe(method_family = none)]
405 pub unsafe fn exposureOffset(&self) -> CGFloat;
406
407 #[cfg(feature = "objc2-core-foundation")]
408 #[unsafe(method(setExposureOffset:))]
410 #[unsafe(method_family = none)]
411 pub unsafe fn setExposureOffset(&self, exposure_offset: CGFloat);
412
413 #[cfg(feature = "objc2-core-foundation")]
414 #[unsafe(method(averageGray))]
416 #[unsafe(method_family = none)]
417 pub unsafe fn averageGray(&self) -> CGFloat;
418
419 #[cfg(feature = "objc2-core-foundation")]
420 #[unsafe(method(setAverageGray:))]
422 #[unsafe(method_family = none)]
423 pub unsafe fn setAverageGray(&self, average_gray: CGFloat);
424
425 #[cfg(feature = "objc2-core-foundation")]
426 #[unsafe(method(whitePoint))]
428 #[unsafe(method_family = none)]
429 pub unsafe fn whitePoint(&self) -> CGFloat;
430
431 #[cfg(feature = "objc2-core-foundation")]
432 #[unsafe(method(setWhitePoint:))]
434 #[unsafe(method_family = none)]
435 pub unsafe fn setWhitePoint(&self, white_point: CGFloat);
436
437 #[unsafe(method(wantsExposureAdaptation))]
439 #[unsafe(method_family = none)]
440 pub unsafe fn wantsExposureAdaptation(&self) -> bool;
441
442 #[unsafe(method(setWantsExposureAdaptation:))]
444 #[unsafe(method_family = none)]
445 pub unsafe fn setWantsExposureAdaptation(&self, wants_exposure_adaptation: bool);
446
447 #[cfg(feature = "objc2-core-foundation")]
448 #[unsafe(method(exposureAdaptationBrighteningSpeedFactor))]
450 #[unsafe(method_family = none)]
451 pub unsafe fn exposureAdaptationBrighteningSpeedFactor(&self) -> CGFloat;
452
453 #[cfg(feature = "objc2-core-foundation")]
454 #[unsafe(method(setExposureAdaptationBrighteningSpeedFactor:))]
456 #[unsafe(method_family = none)]
457 pub unsafe fn setExposureAdaptationBrighteningSpeedFactor(
458 &self,
459 exposure_adaptation_brightening_speed_factor: CGFloat,
460 );
461
462 #[cfg(feature = "objc2-core-foundation")]
463 #[unsafe(method(exposureAdaptationDarkeningSpeedFactor))]
465 #[unsafe(method_family = none)]
466 pub unsafe fn exposureAdaptationDarkeningSpeedFactor(&self) -> CGFloat;
467
468 #[cfg(feature = "objc2-core-foundation")]
469 #[unsafe(method(setExposureAdaptationDarkeningSpeedFactor:))]
471 #[unsafe(method_family = none)]
472 pub unsafe fn setExposureAdaptationDarkeningSpeedFactor(
473 &self,
474 exposure_adaptation_darkening_speed_factor: CGFloat,
475 );
476
477 #[cfg(feature = "objc2-core-foundation")]
478 #[unsafe(method(minimumExposure))]
480 #[unsafe(method_family = none)]
481 pub unsafe fn minimumExposure(&self) -> CGFloat;
482
483 #[cfg(feature = "objc2-core-foundation")]
484 #[unsafe(method(setMinimumExposure:))]
486 #[unsafe(method_family = none)]
487 pub unsafe fn setMinimumExposure(&self, minimum_exposure: CGFloat);
488
489 #[cfg(feature = "objc2-core-foundation")]
490 #[unsafe(method(maximumExposure))]
492 #[unsafe(method_family = none)]
493 pub unsafe fn maximumExposure(&self) -> CGFloat;
494
495 #[cfg(feature = "objc2-core-foundation")]
496 #[unsafe(method(setMaximumExposure:))]
498 #[unsafe(method_family = none)]
499 pub unsafe fn setMaximumExposure(&self, maximum_exposure: CGFloat);
500
501 #[cfg(feature = "objc2-core-foundation")]
502 #[unsafe(method(bloomThreshold))]
504 #[unsafe(method_family = none)]
505 pub unsafe fn bloomThreshold(&self) -> CGFloat;
506
507 #[cfg(feature = "objc2-core-foundation")]
508 #[unsafe(method(setBloomThreshold:))]
510 #[unsafe(method_family = none)]
511 pub unsafe fn setBloomThreshold(&self, bloom_threshold: CGFloat);
512
513 #[unsafe(method(bloomIterationCount))]
515 #[unsafe(method_family = none)]
516 pub unsafe fn bloomIterationCount(&self) -> NSInteger;
517
518 #[unsafe(method(setBloomIterationCount:))]
520 #[unsafe(method_family = none)]
521 pub unsafe fn setBloomIterationCount(&self, bloom_iteration_count: NSInteger);
522
523 #[cfg(feature = "objc2-core-foundation")]
524 #[unsafe(method(bloomIterationSpread))]
526 #[unsafe(method_family = none)]
527 pub unsafe fn bloomIterationSpread(&self) -> CGFloat;
528
529 #[cfg(feature = "objc2-core-foundation")]
530 #[unsafe(method(setBloomIterationSpread:))]
532 #[unsafe(method_family = none)]
533 pub unsafe fn setBloomIterationSpread(&self, bloom_iteration_spread: CGFloat);
534
535 #[cfg(feature = "objc2-core-foundation")]
536 #[unsafe(method(bloomIntensity))]
538 #[unsafe(method_family = none)]
539 pub unsafe fn bloomIntensity(&self) -> CGFloat;
540
541 #[cfg(feature = "objc2-core-foundation")]
542 #[unsafe(method(setBloomIntensity:))]
544 #[unsafe(method_family = none)]
545 pub unsafe fn setBloomIntensity(&self, bloom_intensity: CGFloat);
546
547 #[cfg(feature = "objc2-core-foundation")]
548 #[unsafe(method(bloomBlurRadius))]
550 #[unsafe(method_family = none)]
551 pub unsafe fn bloomBlurRadius(&self) -> CGFloat;
552
553 #[cfg(feature = "objc2-core-foundation")]
554 #[unsafe(method(setBloomBlurRadius:))]
556 #[unsafe(method_family = none)]
557 pub unsafe fn setBloomBlurRadius(&self, bloom_blur_radius: CGFloat);
558
559 #[cfg(feature = "objc2-core-foundation")]
560 #[unsafe(method(vignettingPower))]
562 #[unsafe(method_family = none)]
563 pub unsafe fn vignettingPower(&self) -> CGFloat;
564
565 #[cfg(feature = "objc2-core-foundation")]
566 #[unsafe(method(setVignettingPower:))]
568 #[unsafe(method_family = none)]
569 pub unsafe fn setVignettingPower(&self, vignetting_power: CGFloat);
570
571 #[cfg(feature = "objc2-core-foundation")]
572 #[unsafe(method(vignettingIntensity))]
574 #[unsafe(method_family = none)]
575 pub unsafe fn vignettingIntensity(&self) -> CGFloat;
576
577 #[cfg(feature = "objc2-core-foundation")]
578 #[unsafe(method(setVignettingIntensity:))]
580 #[unsafe(method_family = none)]
581 pub unsafe fn setVignettingIntensity(&self, vignetting_intensity: CGFloat);
582
583 #[cfg(feature = "objc2-core-foundation")]
584 #[unsafe(method(colorFringeStrength))]
586 #[unsafe(method_family = none)]
587 pub unsafe fn colorFringeStrength(&self) -> CGFloat;
588
589 #[cfg(feature = "objc2-core-foundation")]
590 #[unsafe(method(setColorFringeStrength:))]
592 #[unsafe(method_family = none)]
593 pub unsafe fn setColorFringeStrength(&self, color_fringe_strength: CGFloat);
594
595 #[cfg(feature = "objc2-core-foundation")]
596 #[unsafe(method(colorFringeIntensity))]
598 #[unsafe(method_family = none)]
599 pub unsafe fn colorFringeIntensity(&self) -> CGFloat;
600
601 #[cfg(feature = "objc2-core-foundation")]
602 #[unsafe(method(setColorFringeIntensity:))]
604 #[unsafe(method_family = none)]
605 pub unsafe fn setColorFringeIntensity(&self, color_fringe_intensity: CGFloat);
606
607 #[cfg(feature = "objc2-core-foundation")]
608 #[unsafe(method(saturation))]
610 #[unsafe(method_family = none)]
611 pub unsafe fn saturation(&self) -> CGFloat;
612
613 #[cfg(feature = "objc2-core-foundation")]
614 #[unsafe(method(setSaturation:))]
616 #[unsafe(method_family = none)]
617 pub unsafe fn setSaturation(&self, saturation: CGFloat);
618
619 #[cfg(feature = "objc2-core-foundation")]
620 #[unsafe(method(contrast))]
622 #[unsafe(method_family = none)]
623 pub unsafe fn contrast(&self) -> CGFloat;
624
625 #[cfg(feature = "objc2-core-foundation")]
626 #[unsafe(method(setContrast:))]
628 #[unsafe(method_family = none)]
629 pub unsafe fn setContrast(&self, contrast: CGFloat);
630
631 #[cfg(feature = "objc2-core-foundation")]
632 #[unsafe(method(grainIntensity))]
634 #[unsafe(method_family = none)]
635 pub unsafe fn grainIntensity(&self) -> CGFloat;
636
637 #[cfg(feature = "objc2-core-foundation")]
638 #[unsafe(method(setGrainIntensity:))]
640 #[unsafe(method_family = none)]
641 pub unsafe fn setGrainIntensity(&self, grain_intensity: CGFloat);
642
643 #[cfg(feature = "objc2-core-foundation")]
644 #[unsafe(method(grainScale))]
646 #[unsafe(method_family = none)]
647 pub unsafe fn grainScale(&self) -> CGFloat;
648
649 #[cfg(feature = "objc2-core-foundation")]
650 #[unsafe(method(setGrainScale:))]
652 #[unsafe(method_family = none)]
653 pub unsafe fn setGrainScale(&self, grain_scale: CGFloat);
654
655 #[unsafe(method(grainIsColored))]
657 #[unsafe(method_family = none)]
658 pub unsafe fn grainIsColored(&self) -> bool;
659
660 #[unsafe(method(setGrainIsColored:))]
662 #[unsafe(method_family = none)]
663 pub unsafe fn setGrainIsColored(&self, grain_is_colored: bool);
664
665 #[cfg(feature = "objc2-core-foundation")]
666 #[unsafe(method(whiteBalanceTemperature))]
668 #[unsafe(method_family = none)]
669 pub unsafe fn whiteBalanceTemperature(&self) -> CGFloat;
670
671 #[cfg(feature = "objc2-core-foundation")]
672 #[unsafe(method(setWhiteBalanceTemperature:))]
674 #[unsafe(method_family = none)]
675 pub unsafe fn setWhiteBalanceTemperature(&self, white_balance_temperature: CGFloat);
676
677 #[cfg(feature = "objc2-core-foundation")]
678 #[unsafe(method(whiteBalanceTint))]
680 #[unsafe(method_family = none)]
681 pub unsafe fn whiteBalanceTint(&self) -> CGFloat;
682
683 #[cfg(feature = "objc2-core-foundation")]
684 #[unsafe(method(setWhiteBalanceTint:))]
686 #[unsafe(method_family = none)]
687 pub unsafe fn setWhiteBalanceTint(&self, white_balance_tint: CGFloat);
688
689 #[cfg(feature = "SCNMaterialProperty")]
690 #[unsafe(method(colorGrading))]
692 #[unsafe(method_family = none)]
693 pub unsafe fn colorGrading(&self) -> Retained<SCNMaterialProperty>;
694
695 #[unsafe(method(categoryBitMask))]
697 #[unsafe(method_family = none)]
698 pub unsafe fn categoryBitMask(&self) -> NSUInteger;
699
700 #[unsafe(method(setCategoryBitMask:))]
702 #[unsafe(method_family = none)]
703 pub unsafe fn setCategoryBitMask(&self, category_bit_mask: NSUInteger);
704 );
705}
706
707impl SCNCamera {
709 extern_methods!(
710 #[unsafe(method(init))]
711 #[unsafe(method_family = init)]
712 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
713
714 #[unsafe(method(new))]
715 #[unsafe(method_family = new)]
716 pub unsafe fn new() -> Retained<Self>;
717 );
718}