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
43unsafe impl NSCoding for SCNCamera {}
44
45unsafe impl NSCopying for SCNCamera {}
46
47unsafe impl CopyingHelper for SCNCamera {
48 type Result = Self;
49}
50
51unsafe impl NSObjectProtocol for SCNCamera {}
52
53unsafe impl NSSecureCoding for SCNCamera {}
54
55#[cfg(feature = "SCNAnimation")]
56unsafe impl SCNAnimatable for SCNCamera {}
57
58#[cfg(feature = "SCNTechnique")]
59unsafe impl SCNTechniqueSupport for SCNCamera {}
60
61impl SCNCamera {
62 extern_methods!(
63 #[unsafe(method(camera))]
65 #[unsafe(method_family = none)]
66 pub unsafe fn camera() -> Retained<Self>;
67
68 #[unsafe(method(name))]
70 #[unsafe(method_family = none)]
71 pub unsafe fn name(&self) -> Option<Retained<NSString>>;
72
73 #[unsafe(method(setName:))]
75 #[unsafe(method_family = none)]
76 pub unsafe fn setName(&self, name: Option<&NSString>);
77
78 #[cfg(feature = "objc2-core-foundation")]
79 #[unsafe(method(fieldOfView))]
83 #[unsafe(method_family = none)]
84 pub unsafe fn fieldOfView(&self) -> CGFloat;
85
86 #[cfg(feature = "objc2-core-foundation")]
87 #[unsafe(method(setFieldOfView:))]
89 #[unsafe(method_family = none)]
90 pub unsafe fn setFieldOfView(&self, field_of_view: CGFloat);
91
92 #[unsafe(method(projectionDirection))]
94 #[unsafe(method_family = none)]
95 pub unsafe fn projectionDirection(&self) -> SCNCameraProjectionDirection;
96
97 #[unsafe(method(setProjectionDirection:))]
99 #[unsafe(method_family = none)]
100 pub unsafe fn setProjectionDirection(
101 &self,
102 projection_direction: SCNCameraProjectionDirection,
103 );
104
105 #[cfg(feature = "objc2-core-foundation")]
106 #[unsafe(method(focalLength))]
110 #[unsafe(method_family = none)]
111 pub unsafe fn focalLength(&self) -> CGFloat;
112
113 #[cfg(feature = "objc2-core-foundation")]
114 #[unsafe(method(setFocalLength:))]
116 #[unsafe(method_family = none)]
117 pub unsafe fn setFocalLength(&self, focal_length: CGFloat);
118
119 #[cfg(feature = "objc2-core-foundation")]
120 #[unsafe(method(sensorHeight))]
124 #[unsafe(method_family = none)]
125 pub unsafe fn sensorHeight(&self) -> CGFloat;
126
127 #[cfg(feature = "objc2-core-foundation")]
128 #[unsafe(method(setSensorHeight:))]
130 #[unsafe(method_family = none)]
131 pub unsafe fn setSensorHeight(&self, sensor_height: CGFloat);
132
133 #[unsafe(method(zNear))]
137 #[unsafe(method_family = none)]
138 pub unsafe fn zNear(&self) -> c_double;
139
140 #[unsafe(method(setZNear:))]
142 #[unsafe(method_family = none)]
143 pub unsafe fn setZNear(&self, z_near: c_double);
144
145 #[unsafe(method(zFar))]
149 #[unsafe(method_family = none)]
150 pub unsafe fn zFar(&self) -> c_double;
151
152 #[unsafe(method(setZFar:))]
154 #[unsafe(method_family = none)]
155 pub unsafe fn setZFar(&self, z_far: c_double);
156
157 #[unsafe(method(automaticallyAdjustsZRange))]
161 #[unsafe(method_family = none)]
162 pub unsafe fn automaticallyAdjustsZRange(&self) -> bool;
163
164 #[unsafe(method(setAutomaticallyAdjustsZRange:))]
166 #[unsafe(method_family = none)]
167 pub unsafe fn setAutomaticallyAdjustsZRange(&self, automatically_adjusts_z_range: bool);
168
169 #[unsafe(method(usesOrthographicProjection))]
171 #[unsafe(method_family = none)]
172 pub unsafe fn usesOrthographicProjection(&self) -> bool;
173
174 #[unsafe(method(setUsesOrthographicProjection:))]
176 #[unsafe(method_family = none)]
177 pub unsafe fn setUsesOrthographicProjection(&self, uses_orthographic_projection: bool);
178
179 #[unsafe(method(orthographicScale))]
183 #[unsafe(method_family = none)]
184 pub unsafe fn orthographicScale(&self) -> c_double;
185
186 #[unsafe(method(setOrthographicScale:))]
188 #[unsafe(method_family = none)]
189 pub unsafe fn setOrthographicScale(&self, orthographic_scale: c_double);
190
191 #[cfg(all(feature = "SceneKitTypes", feature = "objc2-quartz-core"))]
192 #[cfg(not(target_os = "watchos"))]
193 #[unsafe(method(projectionTransform))]
195 #[unsafe(method_family = none)]
196 pub unsafe fn projectionTransform(&self) -> SCNMatrix4;
197
198 #[cfg(all(feature = "SceneKitTypes", feature = "objc2-quartz-core"))]
199 #[cfg(not(target_os = "watchos"))]
200 #[unsafe(method(setProjectionTransform:))]
202 #[unsafe(method_family = none)]
203 pub unsafe fn setProjectionTransform(&self, projection_transform: SCNMatrix4);
204
205 #[cfg(all(
206 feature = "SceneKitTypes",
207 feature = "objc2-core-foundation",
208 feature = "objc2-quartz-core"
209 ))]
210 #[cfg(not(target_os = "watchos"))]
211 #[unsafe(method(projectionTransformWithViewportSize:))]
212 #[unsafe(method_family = none)]
213 pub unsafe fn projectionTransformWithViewportSize(
214 &self,
215 viewport_size: CGSize,
216 ) -> SCNMatrix4;
217
218 #[unsafe(method(wantsDepthOfField))]
220 #[unsafe(method_family = none)]
221 pub unsafe fn wantsDepthOfField(&self) -> bool;
222
223 #[unsafe(method(setWantsDepthOfField:))]
225 #[unsafe(method_family = none)]
226 pub unsafe fn setWantsDepthOfField(&self, wants_depth_of_field: bool);
227
228 #[cfg(feature = "objc2-core-foundation")]
229 #[unsafe(method(focusDistance))]
233 #[unsafe(method_family = none)]
234 pub unsafe fn focusDistance(&self) -> CGFloat;
235
236 #[cfg(feature = "objc2-core-foundation")]
237 #[unsafe(method(setFocusDistance:))]
239 #[unsafe(method_family = none)]
240 pub unsafe fn setFocusDistance(&self, focus_distance: CGFloat);
241
242 #[unsafe(method(focalBlurSampleCount))]
246 #[unsafe(method_family = none)]
247 pub unsafe fn focalBlurSampleCount(&self) -> NSInteger;
248
249 #[unsafe(method(setFocalBlurSampleCount:))]
251 #[unsafe(method_family = none)]
252 pub unsafe fn setFocalBlurSampleCount(&self, focal_blur_sample_count: NSInteger);
253
254 #[cfg(feature = "objc2-core-foundation")]
255 #[unsafe(method(fStop))]
259 #[unsafe(method_family = none)]
260 pub unsafe fn fStop(&self) -> CGFloat;
261
262 #[cfg(feature = "objc2-core-foundation")]
263 #[unsafe(method(setFStop:))]
265 #[unsafe(method_family = none)]
266 pub unsafe fn setFStop(&self, f_stop: CGFloat);
267
268 #[unsafe(method(apertureBladeCount))]
272 #[unsafe(method_family = none)]
273 pub unsafe fn apertureBladeCount(&self) -> NSInteger;
274
275 #[unsafe(method(setApertureBladeCount:))]
277 #[unsafe(method_family = none)]
278 pub unsafe fn setApertureBladeCount(&self, aperture_blade_count: NSInteger);
279
280 #[cfg(feature = "objc2-core-foundation")]
281 #[unsafe(method(motionBlurIntensity))]
285 #[unsafe(method_family = none)]
286 pub unsafe fn motionBlurIntensity(&self) -> CGFloat;
287
288 #[cfg(feature = "objc2-core-foundation")]
289 #[unsafe(method(setMotionBlurIntensity:))]
291 #[unsafe(method_family = none)]
292 pub unsafe fn setMotionBlurIntensity(&self, motion_blur_intensity: CGFloat);
293
294 #[cfg(feature = "objc2-core-foundation")]
295 #[unsafe(method(screenSpaceAmbientOcclusionIntensity))]
299 #[unsafe(method_family = none)]
300 pub unsafe fn screenSpaceAmbientOcclusionIntensity(&self) -> CGFloat;
301
302 #[cfg(feature = "objc2-core-foundation")]
303 #[unsafe(method(setScreenSpaceAmbientOcclusionIntensity:))]
305 #[unsafe(method_family = none)]
306 pub unsafe fn setScreenSpaceAmbientOcclusionIntensity(
307 &self,
308 screen_space_ambient_occlusion_intensity: CGFloat,
309 );
310
311 #[cfg(feature = "objc2-core-foundation")]
312 #[unsafe(method(screenSpaceAmbientOcclusionRadius))]
316 #[unsafe(method_family = none)]
317 pub unsafe fn screenSpaceAmbientOcclusionRadius(&self) -> CGFloat;
318
319 #[cfg(feature = "objc2-core-foundation")]
320 #[unsafe(method(setScreenSpaceAmbientOcclusionRadius:))]
322 #[unsafe(method_family = none)]
323 pub unsafe fn setScreenSpaceAmbientOcclusionRadius(
324 &self,
325 screen_space_ambient_occlusion_radius: CGFloat,
326 );
327
328 #[cfg(feature = "objc2-core-foundation")]
329 #[unsafe(method(screenSpaceAmbientOcclusionBias))]
333 #[unsafe(method_family = none)]
334 pub unsafe fn screenSpaceAmbientOcclusionBias(&self) -> CGFloat;
335
336 #[cfg(feature = "objc2-core-foundation")]
337 #[unsafe(method(setScreenSpaceAmbientOcclusionBias:))]
339 #[unsafe(method_family = none)]
340 pub unsafe fn setScreenSpaceAmbientOcclusionBias(
341 &self,
342 screen_space_ambient_occlusion_bias: CGFloat,
343 );
344
345 #[cfg(feature = "objc2-core-foundation")]
346 #[unsafe(method(screenSpaceAmbientOcclusionDepthThreshold))]
350 #[unsafe(method_family = none)]
351 pub unsafe fn screenSpaceAmbientOcclusionDepthThreshold(&self) -> CGFloat;
352
353 #[cfg(feature = "objc2-core-foundation")]
354 #[unsafe(method(setScreenSpaceAmbientOcclusionDepthThreshold:))]
356 #[unsafe(method_family = none)]
357 pub unsafe fn setScreenSpaceAmbientOcclusionDepthThreshold(
358 &self,
359 screen_space_ambient_occlusion_depth_threshold: CGFloat,
360 );
361
362 #[cfg(feature = "objc2-core-foundation")]
363 #[unsafe(method(screenSpaceAmbientOcclusionNormalThreshold))]
367 #[unsafe(method_family = none)]
368 pub unsafe fn screenSpaceAmbientOcclusionNormalThreshold(&self) -> CGFloat;
369
370 #[cfg(feature = "objc2-core-foundation")]
371 #[unsafe(method(setScreenSpaceAmbientOcclusionNormalThreshold:))]
373 #[unsafe(method_family = none)]
374 pub unsafe fn setScreenSpaceAmbientOcclusionNormalThreshold(
375 &self,
376 screen_space_ambient_occlusion_normal_threshold: CGFloat,
377 );
378
379 #[unsafe(method(wantsHDR))]
381 #[unsafe(method_family = none)]
382 pub unsafe fn wantsHDR(&self) -> bool;
383
384 #[unsafe(method(setWantsHDR:))]
386 #[unsafe(method_family = none)]
387 pub unsafe fn setWantsHDR(&self, wants_hdr: bool);
388
389 #[cfg(feature = "objc2-core-foundation")]
390 #[unsafe(method(exposureOffset))]
392 #[unsafe(method_family = none)]
393 pub unsafe fn exposureOffset(&self) -> CGFloat;
394
395 #[cfg(feature = "objc2-core-foundation")]
396 #[unsafe(method(setExposureOffset:))]
398 #[unsafe(method_family = none)]
399 pub unsafe fn setExposureOffset(&self, exposure_offset: CGFloat);
400
401 #[cfg(feature = "objc2-core-foundation")]
402 #[unsafe(method(averageGray))]
404 #[unsafe(method_family = none)]
405 pub unsafe fn averageGray(&self) -> CGFloat;
406
407 #[cfg(feature = "objc2-core-foundation")]
408 #[unsafe(method(setAverageGray:))]
410 #[unsafe(method_family = none)]
411 pub unsafe fn setAverageGray(&self, average_gray: CGFloat);
412
413 #[cfg(feature = "objc2-core-foundation")]
414 #[unsafe(method(whitePoint))]
416 #[unsafe(method_family = none)]
417 pub unsafe fn whitePoint(&self) -> CGFloat;
418
419 #[cfg(feature = "objc2-core-foundation")]
420 #[unsafe(method(setWhitePoint:))]
422 #[unsafe(method_family = none)]
423 pub unsafe fn setWhitePoint(&self, white_point: CGFloat);
424
425 #[unsafe(method(wantsExposureAdaptation))]
427 #[unsafe(method_family = none)]
428 pub unsafe fn wantsExposureAdaptation(&self) -> bool;
429
430 #[unsafe(method(setWantsExposureAdaptation:))]
432 #[unsafe(method_family = none)]
433 pub unsafe fn setWantsExposureAdaptation(&self, wants_exposure_adaptation: bool);
434
435 #[cfg(feature = "objc2-core-foundation")]
436 #[unsafe(method(exposureAdaptationBrighteningSpeedFactor))]
438 #[unsafe(method_family = none)]
439 pub unsafe fn exposureAdaptationBrighteningSpeedFactor(&self) -> CGFloat;
440
441 #[cfg(feature = "objc2-core-foundation")]
442 #[unsafe(method(setExposureAdaptationBrighteningSpeedFactor:))]
444 #[unsafe(method_family = none)]
445 pub unsafe fn setExposureAdaptationBrighteningSpeedFactor(
446 &self,
447 exposure_adaptation_brightening_speed_factor: CGFloat,
448 );
449
450 #[cfg(feature = "objc2-core-foundation")]
451 #[unsafe(method(exposureAdaptationDarkeningSpeedFactor))]
453 #[unsafe(method_family = none)]
454 pub unsafe fn exposureAdaptationDarkeningSpeedFactor(&self) -> CGFloat;
455
456 #[cfg(feature = "objc2-core-foundation")]
457 #[unsafe(method(setExposureAdaptationDarkeningSpeedFactor:))]
459 #[unsafe(method_family = none)]
460 pub unsafe fn setExposureAdaptationDarkeningSpeedFactor(
461 &self,
462 exposure_adaptation_darkening_speed_factor: CGFloat,
463 );
464
465 #[cfg(feature = "objc2-core-foundation")]
466 #[unsafe(method(minimumExposure))]
468 #[unsafe(method_family = none)]
469 pub unsafe fn minimumExposure(&self) -> CGFloat;
470
471 #[cfg(feature = "objc2-core-foundation")]
472 #[unsafe(method(setMinimumExposure:))]
474 #[unsafe(method_family = none)]
475 pub unsafe fn setMinimumExposure(&self, minimum_exposure: CGFloat);
476
477 #[cfg(feature = "objc2-core-foundation")]
478 #[unsafe(method(maximumExposure))]
480 #[unsafe(method_family = none)]
481 pub unsafe fn maximumExposure(&self) -> CGFloat;
482
483 #[cfg(feature = "objc2-core-foundation")]
484 #[unsafe(method(setMaximumExposure:))]
486 #[unsafe(method_family = none)]
487 pub unsafe fn setMaximumExposure(&self, maximum_exposure: CGFloat);
488
489 #[cfg(feature = "objc2-core-foundation")]
490 #[unsafe(method(bloomThreshold))]
492 #[unsafe(method_family = none)]
493 pub unsafe fn bloomThreshold(&self) -> CGFloat;
494
495 #[cfg(feature = "objc2-core-foundation")]
496 #[unsafe(method(setBloomThreshold:))]
498 #[unsafe(method_family = none)]
499 pub unsafe fn setBloomThreshold(&self, bloom_threshold: CGFloat);
500
501 #[unsafe(method(bloomIterationCount))]
503 #[unsafe(method_family = none)]
504 pub unsafe fn bloomIterationCount(&self) -> NSInteger;
505
506 #[unsafe(method(setBloomIterationCount:))]
508 #[unsafe(method_family = none)]
509 pub unsafe fn setBloomIterationCount(&self, bloom_iteration_count: NSInteger);
510
511 #[cfg(feature = "objc2-core-foundation")]
512 #[unsafe(method(bloomIterationSpread))]
514 #[unsafe(method_family = none)]
515 pub unsafe fn bloomIterationSpread(&self) -> CGFloat;
516
517 #[cfg(feature = "objc2-core-foundation")]
518 #[unsafe(method(setBloomIterationSpread:))]
520 #[unsafe(method_family = none)]
521 pub unsafe fn setBloomIterationSpread(&self, bloom_iteration_spread: CGFloat);
522
523 #[cfg(feature = "objc2-core-foundation")]
524 #[unsafe(method(bloomIntensity))]
526 #[unsafe(method_family = none)]
527 pub unsafe fn bloomIntensity(&self) -> CGFloat;
528
529 #[cfg(feature = "objc2-core-foundation")]
530 #[unsafe(method(setBloomIntensity:))]
532 #[unsafe(method_family = none)]
533 pub unsafe fn setBloomIntensity(&self, bloom_intensity: CGFloat);
534
535 #[cfg(feature = "objc2-core-foundation")]
536 #[unsafe(method(bloomBlurRadius))]
538 #[unsafe(method_family = none)]
539 pub unsafe fn bloomBlurRadius(&self) -> CGFloat;
540
541 #[cfg(feature = "objc2-core-foundation")]
542 #[unsafe(method(setBloomBlurRadius:))]
544 #[unsafe(method_family = none)]
545 pub unsafe fn setBloomBlurRadius(&self, bloom_blur_radius: CGFloat);
546
547 #[cfg(feature = "objc2-core-foundation")]
548 #[unsafe(method(vignettingPower))]
550 #[unsafe(method_family = none)]
551 pub unsafe fn vignettingPower(&self) -> CGFloat;
552
553 #[cfg(feature = "objc2-core-foundation")]
554 #[unsafe(method(setVignettingPower:))]
556 #[unsafe(method_family = none)]
557 pub unsafe fn setVignettingPower(&self, vignetting_power: CGFloat);
558
559 #[cfg(feature = "objc2-core-foundation")]
560 #[unsafe(method(vignettingIntensity))]
562 #[unsafe(method_family = none)]
563 pub unsafe fn vignettingIntensity(&self) -> CGFloat;
564
565 #[cfg(feature = "objc2-core-foundation")]
566 #[unsafe(method(setVignettingIntensity:))]
568 #[unsafe(method_family = none)]
569 pub unsafe fn setVignettingIntensity(&self, vignetting_intensity: CGFloat);
570
571 #[cfg(feature = "objc2-core-foundation")]
572 #[unsafe(method(colorFringeStrength))]
574 #[unsafe(method_family = none)]
575 pub unsafe fn colorFringeStrength(&self) -> CGFloat;
576
577 #[cfg(feature = "objc2-core-foundation")]
578 #[unsafe(method(setColorFringeStrength:))]
580 #[unsafe(method_family = none)]
581 pub unsafe fn setColorFringeStrength(&self, color_fringe_strength: CGFloat);
582
583 #[cfg(feature = "objc2-core-foundation")]
584 #[unsafe(method(colorFringeIntensity))]
586 #[unsafe(method_family = none)]
587 pub unsafe fn colorFringeIntensity(&self) -> CGFloat;
588
589 #[cfg(feature = "objc2-core-foundation")]
590 #[unsafe(method(setColorFringeIntensity:))]
592 #[unsafe(method_family = none)]
593 pub unsafe fn setColorFringeIntensity(&self, color_fringe_intensity: CGFloat);
594
595 #[cfg(feature = "objc2-core-foundation")]
596 #[unsafe(method(saturation))]
598 #[unsafe(method_family = none)]
599 pub unsafe fn saturation(&self) -> CGFloat;
600
601 #[cfg(feature = "objc2-core-foundation")]
602 #[unsafe(method(setSaturation:))]
604 #[unsafe(method_family = none)]
605 pub unsafe fn setSaturation(&self, saturation: CGFloat);
606
607 #[cfg(feature = "objc2-core-foundation")]
608 #[unsafe(method(contrast))]
610 #[unsafe(method_family = none)]
611 pub unsafe fn contrast(&self) -> CGFloat;
612
613 #[cfg(feature = "objc2-core-foundation")]
614 #[unsafe(method(setContrast:))]
616 #[unsafe(method_family = none)]
617 pub unsafe fn setContrast(&self, contrast: CGFloat);
618
619 #[cfg(feature = "objc2-core-foundation")]
620 #[unsafe(method(grainIntensity))]
622 #[unsafe(method_family = none)]
623 pub unsafe fn grainIntensity(&self) -> CGFloat;
624
625 #[cfg(feature = "objc2-core-foundation")]
626 #[unsafe(method(setGrainIntensity:))]
628 #[unsafe(method_family = none)]
629 pub unsafe fn setGrainIntensity(&self, grain_intensity: CGFloat);
630
631 #[cfg(feature = "objc2-core-foundation")]
632 #[unsafe(method(grainScale))]
634 #[unsafe(method_family = none)]
635 pub unsafe fn grainScale(&self) -> CGFloat;
636
637 #[cfg(feature = "objc2-core-foundation")]
638 #[unsafe(method(setGrainScale:))]
640 #[unsafe(method_family = none)]
641 pub unsafe fn setGrainScale(&self, grain_scale: CGFloat);
642
643 #[unsafe(method(grainIsColored))]
645 #[unsafe(method_family = none)]
646 pub unsafe fn grainIsColored(&self) -> bool;
647
648 #[unsafe(method(setGrainIsColored:))]
650 #[unsafe(method_family = none)]
651 pub unsafe fn setGrainIsColored(&self, grain_is_colored: bool);
652
653 #[cfg(feature = "objc2-core-foundation")]
654 #[unsafe(method(whiteBalanceTemperature))]
656 #[unsafe(method_family = none)]
657 pub unsafe fn whiteBalanceTemperature(&self) -> CGFloat;
658
659 #[cfg(feature = "objc2-core-foundation")]
660 #[unsafe(method(setWhiteBalanceTemperature:))]
662 #[unsafe(method_family = none)]
663 pub unsafe fn setWhiteBalanceTemperature(&self, white_balance_temperature: CGFloat);
664
665 #[cfg(feature = "objc2-core-foundation")]
666 #[unsafe(method(whiteBalanceTint))]
668 #[unsafe(method_family = none)]
669 pub unsafe fn whiteBalanceTint(&self) -> CGFloat;
670
671 #[cfg(feature = "objc2-core-foundation")]
672 #[unsafe(method(setWhiteBalanceTint:))]
674 #[unsafe(method_family = none)]
675 pub unsafe fn setWhiteBalanceTint(&self, white_balance_tint: CGFloat);
676
677 #[cfg(feature = "SCNMaterialProperty")]
678 #[unsafe(method(colorGrading))]
680 #[unsafe(method_family = none)]
681 pub unsafe fn colorGrading(&self) -> Retained<SCNMaterialProperty>;
682
683 #[unsafe(method(categoryBitMask))]
685 #[unsafe(method_family = none)]
686 pub unsafe fn categoryBitMask(&self) -> NSUInteger;
687
688 #[unsafe(method(setCategoryBitMask:))]
690 #[unsafe(method_family = none)]
691 pub unsafe fn setCategoryBitMask(&self, category_bit_mask: NSUInteger);
692 );
693}
694
695impl SCNCamera {
697 extern_methods!(
698 #[unsafe(method(init))]
699 #[unsafe(method_family = init)]
700 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
701
702 #[unsafe(method(new))]
703 #[unsafe(method_family = new)]
704 pub unsafe fn new() -> Retained<Self>;
705 );
706}