Package apple.scenekit
Class SCNView
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIView
-
- apple.scenekit.SCNView
-
- All Implemented Interfaces:
NSCoding,NSObject,CALayerDelegate,SCNSceneRenderer,SCNTechniqueSupport,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearance,UIAppearanceContainer,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIPopoverPresentationControllerSourceItem,UIResponderStandardEditActions,UITraitChangeObservable,UITraitEnvironment,UIUserActivityRestoring
- Direct Known Subclasses:
ARSCNView
public class SCNView extends UIView implements SCNSceneRenderer, SCNTechniqueSupport
SCNView A SCNView is a subclass of NSView that can display a SCNScene
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIView
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.scenekit.protocol.SCNSceneRenderer
SCNSceneRenderer.Block_prepareObjectShouldAbortBlock, SCNSceneRenderer.Block_prepareObjectsWithCompletionHandler, SCNSceneRenderer.Block_presentSceneWithTransitionIncomingPointOfViewCompletionHandler
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UITraitChangeObservable
UITraitChangeObservable.Block_registerForTraitChangesWithHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSCNView(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull SCNView_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.@NotNull SCNView_appearanceForTraitCollection(@NotNull UITraitCollection trait)API-Since: 8.0@NotNull SCNView_appearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull SCNView_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)API-Since: 9.0@NotNull SCNView_appearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull SCNView_appearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)API-Since: 9.0static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)static SCNViewalloc()static SCNViewallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)booleanallowsCameraControl()[@property] allowsCameraControl A Boolean value that determines whether the user can manipulate the point of view used to render the scene.static voidanimateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)static voidanimateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)static voidanimateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)static voidanimateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)longantialiasingMode()[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.static @NotNull SCNViewappearance()static @NotNull SCNViewappearanceForTraitCollection(@NotNull UITraitCollection trait)static @NotNull SCNViewappearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull SCNViewappearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)static @NotNull SCNViewappearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull SCNViewappearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)static booleanareAnimationsEnabled()@NotNull AVAudioEngineaudioEngine()[@property] audioEngine Contains the instance of audio engine used by the scene.@NotNull AVAudioEnvironmentNodeaudioEnvironmentNode()[@property] audioEnvironmentNode Contains the instance of audio environment node used by the scene to spacialize sounds.@Nullable SCNNodeaudioListener()[@property] audioListener Use this property to set the audio node to use as the listener position and orientation when rendering positional audio for this scene.booleanautoenablesDefaultLighting()[@property] autoenablesDefaultLighting Specifies whether the receiver should automatically light up scenes that have no light source.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidbeginAnimationsContext(@Nullable java.lang.String animationID, @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.@NotNull SCNCameraControlConfigurationcameraControlConfiguration()[@property] cameraControlConfiguration An object describing the current configuration of the event handler which pilot the default camera controller.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)longcolorPixelFormat()[@property] colorPixelFormat The pixel format of the color attachment 0 of the renderer.@Nullable MTLCommandQueuecommandQueue()[@property] commandQueue The command queue of the renderer.static voidcommitAnimations()Deprecated.@Nullable org.moe.natj.general.ptr.VoidPtrcontext()[@property] context A Core OpenGL render context that is used as the render target (a CGLContextObj on macOS, an EAGLContext on iOS).@Nullable MTLRenderCommandEncodercurrentRenderCommandEncoder()[@property] currentRenderCommandEncoder The current render command encoder if any.@NotNull MTLRenderPassDescriptorcurrentRenderPassDescriptor()[@property] currentRenderPassDescriptor The render pass descriptor of the receiver.CGRectcurrentViewport()[@property] currentViewport Returns the current viewport for this renderer, can be used to get the actual viewport from within the delegate callback during a live resize.static java.lang.StringdebugDescription_static()longdebugOptions()[@property] debugOptions Specifies the debug options of the receiver.@NotNull SCNCameraControllerdefaultCameraController()[@property] defaultCameraController Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.@Nullable java.lang.Objectdelegate()[@property] delegate Specifies the renderer delegate.longdepthPixelFormat()[@property] depthPixelFormat The pixel format of the depth attachment of the renderer.static java.lang.Stringdescription_static()@Nullable MTLDevicedevice()[@property] device The metal device of the renderer.@Nullable EAGLContexteaglContext()Deprecated.static longhash_static()@NotNull NSArray<? extends SCNHitTestResult>hitTestOptions(CGPoint point, @Nullable NSDictionary<java.lang.String,?> options)hitTest:options: Returns an array of SCNHitTestResult for each node that contains a specified point.static doubleinheritedAnimationDuration()SCNViewinit()SCNViewinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERSCNViewinitWithFrame(CGRect frame)SCNViewinitWithFrameOptions(CGRect frame, @Nullable NSDictionary<java.lang.String,?> options)initWithFrame:options: Initializes and returns a newly allocated SCNView object with a specified frame rectangle.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisJitteringEnabled()[@property] jitteringEnabled Specifies whether the receiver should jitter the rendered scene to reduce aliasing artifacts.booleanisNodeInsideFrustumWithPointOfView(@NotNull SCNNode node, @NotNull SCNNode pointOfView)isNodeInsideFrustum:withPointOfView: Test whether node is visible from the specified point of view.booleanisPlaying()[@property] playing Returns YES if the scene is playing, NO otherwise.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanisTemporalAntialiasingEnabled()[@property] temporalAntialiasingEnabled Specifies whether the receiver should reduce aliasing artifacts in real time based on temporal coherency.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @NotNull org.moe.natj.objc.ClasslayerClass()booleanloops()[@property] loops Indicates whether the receiver restarts playback when it reaches the end of its content.static voidmodifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)static SCNViewnew_objc()@NotNull NSArray<? extends SCNNode>nodesInsideFrustumWithPointOfView(@NotNull SCNNode pointOfView)nodesInsideFrustumWithPointOfView: Returns an array containing the nodes visible from the specified point of view.@Nullable SKSceneoverlaySKScene()[@property] overlaySKScene Specifies the overlay of the receiver as a SpriteKit scene instance.voidpause(@Nullable java.lang.Object sender)pause: This action method pauses the scene playback.static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)voidplay(@Nullable java.lang.Object sender)play: This action method begins playing the scene at its current location.@Nullable SCNNodepointOfView()[@property] pointOfView Specifies the point of view used to render the scene.longpreferredFramesPerSecond()[@property] preferredFramesPerSecond The rate you want the view to redraw its contents.booleanprepareObjectShouldAbortBlock(@NotNull java.lang.Object object, SCNSceneRenderer.Block_prepareObjectShouldAbortBlock block)prepareObject:shouldAbortBlock: Prepare the specified object for drawing.voidprepareObjectsWithCompletionHandler(@NotNull NSArray<?> objects, SCNSceneRenderer.Block_prepareObjectsWithCompletionHandler completionHandler)prepareObjects:withCompletionHandler: Prepare the specified objects for drawing on the background.voidpresentSceneWithTransitionIncomingPointOfViewCompletionHandler(@NotNull SCNScene scene, @NotNull SKTransition transition, @Nullable SCNNode pointOfView, SCNSceneRenderer.Block_presentSceneWithTransitionIncomingPointOfViewCompletionHandler completionHandler)presentScene:withTransition:incomingPointOfView: Present a SCNScene in the receiver, replacing the current scene.SCNVector3projectPoint(SCNVector3 point)projectPoint Projects a point in the world coordinate system using the receiver's current point of view and viewport.longrenderingAPI()[@property] renderingAPI Specifies the rendering API associated to the receiver.booleanrendersContinuously()[@property] rendersContinuously When set to YES, the view continously redraw at the display link frame rate.static booleanrequiresConstraintBasedLayout()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable SCNScenescene()[@property] scene Specifies the scene of the receiver.doublesceneTime()[@property] sceneTime Specifies the current "scene time" to display the scene.voidsetAllowsCameraControl(boolean value)[@property] allowsCameraControl A Boolean value that determines whether the user can manipulate the point of view used to render the scene.static voidsetAnimationBeginsFromCurrentState(boolean fromCurrentState)Deprecated.static voidsetAnimationCurve(long curve)Deprecated.static voidsetAnimationDelay(double delay)Deprecated.static voidsetAnimationDelegate(@Nullable java.lang.Object delegate)Deprecated.static voidsetAnimationDidStopSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.static voidsetAnimationDuration_static(double duration)Deprecated.static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)Deprecated.static voidsetAnimationRepeatCount_static(float repeatCount)Deprecated.static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(@NotNull NSDate startDate)Deprecated.static voidsetAnimationTransitionForViewCache(long transition, @NotNull UIView view, boolean cache)Deprecated.static voidsetAnimationWillStartSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.voidsetAntialiasingMode(long value)[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.voidsetAudioListener(@Nullable SCNNode value)[@property] audioListener Use this property to set the audio node to use as the listener position and orientation when rendering positional audio for this scene.voidsetAutoenablesDefaultLighting(boolean value)[@property] autoenablesDefaultLighting Specifies whether the receiver should automatically light up scenes that have no light source.voidsetDebugOptions(long value)[@property] debugOptions Specifies the debug options of the receiver.voidsetDelegate(@Nullable java.lang.Object value)voidsetDelegate_unsafe(@Nullable java.lang.Object value)[@property] delegate Specifies the renderer delegate.voidsetEaglContext(@Nullable EAGLContext value)Deprecated.voidsetJitteringEnabled(boolean value)[@property] jitteringEnabled Specifies whether the receiver should jitter the rendered scene to reduce aliasing artifacts.voidsetLoops(boolean value)[@property] loops Indicates whether the receiver restarts playback when it reaches the end of its content.voidsetOverlaySKScene(@Nullable SKScene value)[@property] overlaySKScene Specifies the overlay of the receiver as a SpriteKit scene instance.voidsetPlaying(boolean value)[@property] playing Returns YES if the scene is playing, NO otherwise.voidsetPointOfView(@Nullable SCNNode value)[@property] pointOfView Specifies the point of view used to render the scene.voidsetPreferredFramesPerSecond(long value)[@property] preferredFramesPerSecond The rate you want the view to redraw its contents.voidsetRendersContinuously(boolean value)[@property] rendersContinuously When set to YES, the view continously redraw at the display link frame rate.voidsetScene(@Nullable SCNScene value)[@property] scene Specifies the scene of the receiver.voidsetSceneTime(double value)[@property] sceneTime Specifies the current "scene time" to display the scene.voidsetShowsStatistics(boolean value)[@property] showsStatistics Determines whether the receiver should display statistics info like FPS.voidsetTechnique(@Nullable SCNTechnique value)[@property] technique Specifies the technique of the receiver.voidsetTemporalAntialiasingEnabled(boolean value)[@property] temporalAntialiasingEnabled Specifies whether the receiver should reduce aliasing artifacts in real time based on temporal coherency.voidsetUsesReverseZ(boolean value)[@property] usesReverseZ Specifies if the renderer should use the reverse Z technique.static voidsetVersion_static(long aVersion)booleanshowsStatistics()[@property] showsStatistics Determines whether the receiver should display statistics info like FPS.@NotNull UIImagesnapshot()[@property] snapshot Draws the contents of the view and returns them as a new image object This method is thread-safe and may be called at any time.longstencilPixelFormat()[@property] stencilPixelFormat The pixel format of the stencil attachment of the renderer.voidstop(@Nullable java.lang.Object sender)stop: This action method stops the scene playback and resets the current time to the start time of the scene.static org.moe.natj.objc.Classsuperclass_static()@Nullable SCNTechniquetechnique()[@property] technique Specifies the technique of the receiver.static voidtransitionFromViewToViewDurationOptionsCompletion(@NotNull UIView fromView, @NotNull UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(@NotNull UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)SCNVector3unprojectPoint(SCNVector3 point)unprojectPoint Unprojects a screenspace 2D point with depth info using the receiver's current point of view and viewport.static longuserInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)static longuserInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)booleanusesReverseZ()[@property] usesReverseZ Specifies if the renderer should use the reverse Z technique.static booleanuseStoredAccessor()Deprecated.static longversion_static()@NotNull CGColorSpaceRefworkingColorSpace()[@property] workingColorSpace Specifies the color space used by the receiver for shading.-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, anchorPoint, appliedContentSizeCategoryLimitsDescription, autoresizesSubviews, autoresizingMask, backgroundColor, bottomAnchor, bounds, bringSubviewToFront, canBecomeFocused, center, centerXAnchor, centerYAnchor, clearsContextBeforeDrawing, clipsToBounds, collisionBoundingPath, collisionBoundsType, constraints, constraintsAffectingLayoutForAxis, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, contentScaleFactor, contentStretch, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, coordinateSpace, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, encodeWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, focusItemsInRect, frame, frameForAlignmentRect, frameInView, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, hoverStyle, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isTransparentFocusItem, isUserInteractionEnabled, keyboardLayoutGuide, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, maximumContentSizeCategory, minimumContentSizeCategory, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, registerForTraitChangesWithAction, registerForTraitChangesWithHandler, registerForTraitChangesWithTargetAction, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnchorPoint, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setHoverStyle, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplayInRect, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, traitOverrides, transform, transform3D, translatesAutoresizingMaskIntoConstraints, unregisterForTraitChanges, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, updateTraitsIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, duplicate, editingInteractionConfiguration, export, find, findAndReplace, findNext, findPrevious, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, move, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, rename, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, useSelectionForFind, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, @NotNull UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static SCNView alloc()
-
allocWithZone
public static SCNView allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, @NotNull UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, @NotNull UIView.Block_animateWithDurationAnimationsCompletion_1 animations, @Nullable UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, @NotNull UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
appearance
@NotNull public static @NotNull SCNView appearance()
-
appearanceForTraitCollection
@NotNull public static @NotNull SCNView appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public static @NotNull SCNView appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public static @NotNull SCNView appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@NotNull @Deprecated public static @NotNull SCNView appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
@NotNull public static @NotNull SCNView appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
beginAnimationsContext
@Deprecated public static void beginAnimationsContext(@Nullable @Nullable java.lang.String animationID, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)
-
commitAnimations
@Deprecated public static void commitAnimations()
Deprecated.
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
inheritedAnimationDuration
public static double inheritedAnimationDuration()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
layerClass
@NotNull public static @NotNull org.moe.natj.objc.Class layerClass()
-
new_objc
public static SCNView new_objc()
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull @NotNull NSArray<? extends UIView> views, long options, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(@NotNull UIView.Block_performWithoutAnimation actionsWithoutAnimation)
-
requiresConstraintBasedLayout
public static boolean requiresConstraintBasedLayout()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAnimationBeginsFromCurrentState
@Deprecated public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
Deprecated.
-
setAnimationCurve
@Deprecated public static void setAnimationCurve(long curve)
Deprecated.
-
setAnimationDelay
@Deprecated public static void setAnimationDelay(double delay)
Deprecated.
-
setAnimationDelegate
@Deprecated public static void setAnimationDelegate(@Nullable @Nullable java.lang.Object delegate)Deprecated.
-
setAnimationDidStopSelector
@Deprecated public static void setAnimationDidStopSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationDuration_static
@Deprecated public static void setAnimationDuration_static(double duration)
Deprecated.
-
setAnimationRepeatAutoreverses
@Deprecated public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
Deprecated.
-
setAnimationRepeatCount_static
@Deprecated public static void setAnimationRepeatCount_static(float repeatCount)
Deprecated.
-
setAnimationStartDate
@Deprecated public static void setAnimationStartDate(@NotNull @NotNull NSDate startDate)Deprecated.
-
setAnimationTransitionForViewCache
@Deprecated public static void setAnimationTransitionForViewCache(long transition, @NotNull @NotNull UIView view, boolean cache)Deprecated.
-
setAnimationWillStartSelector
@Deprecated public static void setAnimationWillStartSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationsEnabled
public static void setAnimationsEnabled(boolean enabled)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
transitionFromViewToViewDurationOptionsCompletion
public static void transitionFromViewToViewDurationOptionsCompletion(@NotNull @NotNull UIView fromView, @NotNull @NotNull UIView toView, double duration, long options, @Nullable UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(@NotNull @NotNull UIView view, double duration, long options, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
-
userInterfaceLayoutDirectionForSemanticContentAttribute
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
-
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)
-
version_static
public static long version_static()
-
allowsCameraControl
public boolean allowsCameraControl()
[@property] allowsCameraControl A Boolean value that determines whether the user can manipulate the point of view used to render the scene. When set to YES, a `defaultCameraController` is created and the view will handle UI events to pilot it so the user can manipulate the current point of view with the mouse or the trackpad. The scene graph and existing cameras won't be modified by this action. The default value of this property is NO. Note that the default event handling provided by the view may not suit your needs. You may want to implement your own event handler. The built-in camera controller let you: - pan with 1 finger to rotate the camera around the scene - pan with 2 fingers to translate the camera on its local X,Y plan - pan with 3 fingers vertically to move the the camera forward/backward - double tap to switch to the next camera in the scene - rotate with two fingers to roll the camera (rotation around the Z axis) - pinch to zoom-in / zoom-out (change the field of view of the camera)
-
antialiasingMode
public long antialiasingMode()
[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.
-
_appearance
@NotNull public @NotNull SCNView _appearance()
Description copied from interface:UIAppearanceTo customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class. For example, to modify the bar tint color for all UINavigationBar instances: [[UINavigationBar appearance] setBarTintColor:myColor]; Note for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.- Specified by:
_appearancein interfaceUIAppearance- Overrides:
_appearancein classUIView
-
_appearanceForTraitCollection
@NotNull public @NotNull SCNView _appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
Description copied from interface:UIAppearanceAPI-Since: 8.0- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIView
-
_appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public @NotNull SCNView _appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceAPI-Since: 8.0 Deprecated-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIView
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public @NotNull SCNView _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIView
-
_appearanceWhenContainedIn
@NotNull @Deprecated public @NotNull SCNView _appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceTo customize the appearances for instances of a class contained within an instance of a container class, or instances in a hierarchy, use +appearanceWhenContainedInInstancesOfClasses: for the appropriate appearance proxy. For example: [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor]; In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker. In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down. API-Since: 5.0 Deprecated-Since: 9.0- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIView
-
_appearanceWhenContainedInInstancesOfClasses
@NotNull public @NotNull SCNView _appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIView
-
audioEngine
@NotNull public @NotNull AVAudioEngine audioEngine()
Description copied from interface:SCNSceneRenderer[@property] audioEngine Contains the instance of audio engine used by the scene. The audio engine can be used to add custom nodes to the audio graph. API-Since: 9.0- Specified by:
audioEnginein interfaceSCNSceneRenderer
-
audioEnvironmentNode
@NotNull public @NotNull AVAudioEnvironmentNode audioEnvironmentNode()
Description copied from interface:SCNSceneRenderer[@property] audioEnvironmentNode Contains the instance of audio environment node used by the scene to spacialize sounds. API-Since: 9.0- Specified by:
audioEnvironmentNodein interfaceSCNSceneRenderer
-
audioListener
@Nullable public @Nullable SCNNode audioListener()
Description copied from interface:SCNSceneRenderer[@property] audioListener Use this property to set the audio node to use as the listener position and orientation when rendering positional audio for this scene. The default is nil which means that the current point of view will be used dynamically. API-Since: 9.0- Specified by:
audioListenerin interfaceSCNSceneRenderer
-
autoenablesDefaultLighting
public boolean autoenablesDefaultLighting()
Description copied from interface:SCNSceneRenderer[@property] autoenablesDefaultLighting Specifies whether the receiver should automatically light up scenes that have no light source. The default is NO. When enabled, a diffuse light is automatically added and placed while rendering scenes that have no light or only ambient lights.- Specified by:
autoenablesDefaultLightingin interfaceSCNSceneRenderer
-
colorPixelFormat
public long colorPixelFormat()
Description copied from interface:SCNSceneRenderer[@property] colorPixelFormat The pixel format of the color attachment 0 of the renderer. This property is only valid on a renderer created with a Metal device. API-Since: 9.0- Specified by:
colorPixelFormatin interfaceSCNSceneRenderer
-
commandQueue
@Nullable public @Nullable MTLCommandQueue commandQueue()
Description copied from interface:SCNSceneRenderer[@property] commandQueue The command queue of the renderer. This property is only valid on a renderer created with a Metal device. Otherwise it is set to nil. API-Since: 9.0- Specified by:
commandQueuein interfaceSCNSceneRenderer
-
context
@Nullable public @Nullable org.moe.natj.general.ptr.VoidPtr context()
Description copied from interface:SCNSceneRenderer[@property] context A Core OpenGL render context that is used as the render target (a CGLContextObj on macOS, an EAGLContext on iOS).- Specified by:
contextin interfaceSCNSceneRenderer
-
currentRenderCommandEncoder
@Nullable public @Nullable MTLRenderCommandEncoder currentRenderCommandEncoder()
Description copied from interface:SCNSceneRenderer[@property] currentRenderCommandEncoder The current render command encoder if any. This property is only valid within the SCNSceneRendererDelegate methods and when rendering with Metal. Otherwise it is set to nil. API-Since: 9.0- Specified by:
currentRenderCommandEncoderin interfaceSCNSceneRenderer
-
debugOptions
public long debugOptions()
Description copied from interface:SCNSceneRenderer[@property] debugOptions Specifies the debug options of the receiver. Defaults to SCNDebugOptionNone. API-Since: 9.0- Specified by:
debugOptionsin interfaceSCNSceneRenderer
-
delegate
@Nullable public @Nullable java.lang.Object delegate()
Description copied from interface:SCNSceneRenderer[@property] delegate Specifies the renderer delegate.- Specified by:
delegatein interfaceSCNSceneRenderer
-
depthPixelFormat
public long depthPixelFormat()
Description copied from interface:SCNSceneRenderer[@property] depthPixelFormat The pixel format of the depth attachment of the renderer. This property is only valid on a renderer created with a Metal device. API-Since: 9.0- Specified by:
depthPixelFormatin interfaceSCNSceneRenderer
-
device
@Nullable public @Nullable MTLDevice device()
Description copied from interface:SCNSceneRenderer[@property] device The metal device of the renderer. This property is only valid on a renderer created with a Metal device. Otherwise it is set to nil. API-Since: 9.0- Specified by:
devicein interfaceSCNSceneRenderer
-
eaglContext
@Nullable @Deprecated public @Nullable EAGLContext eaglContext()
Deprecated.SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0)); API-Since: 8.0 Deprecated-Since: 12.0 Deprecated-Message: OpenGL API deprecated, please use Metal instead. (Define SCN_SILENCE_GL_DEPRECATION to silence these warnings)
-
hitTestOptions
@NotNull public @NotNull NSArray<? extends SCNHitTestResult> hitTestOptions(CGPoint point, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
Description copied from interface:SCNSceneRendererhitTest:options: Returns an array of SCNHitTestResult for each node that contains a specified point.- Specified by:
hitTestOptionsin interfaceSCNSceneRenderer- Parameters:
point- A point in the coordinate system of the receiver.options- Optional parameters (see the "Hit test options" group for the available options).
-
initWithCoder
public SCNView initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIView
-
initWithFrame
public SCNView initWithFrame(CGRect frame)
- Overrides:
initWithFramein classUIView
-
initWithFrameOptions
public SCNView initWithFrameOptions(CGRect frame, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
initWithFrame:options: Initializes and returns a newly allocated SCNView object with a specified frame rectangle.- Parameters:
frame- The frame rectangle for the created view object.options- An optional dictionary. See "View initialization options" above.
-
isJitteringEnabled
public boolean isJitteringEnabled()
Description copied from interface:SCNSceneRenderer[@property] jitteringEnabled Specifies whether the receiver should jitter the rendered scene to reduce aliasing artifacts. When enabled, the jittering is performed asynchronously and automatically by SCNView and SCNLayer. It is done synchronously by SCNRenderer.- Specified by:
isJitteringEnabledin interfaceSCNSceneRenderer
-
setJitteringEnabled
public void setJitteringEnabled(boolean value)
Description copied from interface:SCNSceneRenderer[@property] jitteringEnabled Specifies whether the receiver should jitter the rendered scene to reduce aliasing artifacts. When enabled, the jittering is performed asynchronously and automatically by SCNView and SCNLayer. It is done synchronously by SCNRenderer.- Specified by:
setJitteringEnabledin interfaceSCNSceneRenderer
-
isNodeInsideFrustumWithPointOfView
public boolean isNodeInsideFrustumWithPointOfView(@NotNull @NotNull SCNNode node, @NotNull @NotNull SCNNode pointOfView)Description copied from interface:SCNSceneRendererisNodeInsideFrustum:withPointOfView: Test whether node is visible from the specified point of view. Return YES if the node is inside or intersects the clipping planes of the point of view. This method doesn't test if 'node' is occluded by another node.- Specified by:
isNodeInsideFrustumWithPointOfViewin interfaceSCNSceneRenderer- Parameters:
node- The node to test the visibility of.pointOfView- The point of view used to test the visibility.
-
isPlaying
public boolean isPlaying()
Description copied from interface:SCNSceneRenderer[@property] playing Returns YES if the scene is playing, NO otherwise.- Specified by:
isPlayingin interfaceSCNSceneRenderer
-
setPlaying
public void setPlaying(boolean value)
Description copied from interface:SCNSceneRenderer[@property] playing Returns YES if the scene is playing, NO otherwise.- Specified by:
setPlayingin interfaceSCNSceneRenderer
-
loops
public boolean loops()
Description copied from interface:SCNSceneRenderer[@property] loops Indicates whether the receiver restarts playback when it reaches the end of its content. Default: YES. YES when the receiver restarts playback when it finishes, NO otherwise.- Specified by:
loopsin interfaceSCNSceneRenderer
-
nodesInsideFrustumWithPointOfView
@NotNull public @NotNull NSArray<? extends SCNNode> nodesInsideFrustumWithPointOfView(@NotNull @NotNull SCNNode pointOfView)
Description copied from interface:SCNSceneRenderernodesInsideFrustumWithPointOfView: Returns an array containing the nodes visible from the specified point of view. Returns an array of all the nodes that are inside or intersects the clipping planes of the point of view. Starting in macOS10.13/iOS11 this method work with the presentation tree. API-Since: 9.0- Specified by:
nodesInsideFrustumWithPointOfViewin interfaceSCNSceneRenderer- Parameters:
pointOfView- The point of view used to test the visibility.
-
overlaySKScene
@Nullable public @Nullable SKScene overlaySKScene()
Description copied from interface:SCNSceneRenderer[@property] overlaySKScene Specifies the overlay of the receiver as a SpriteKit scene instance. Defaults to nil.- Specified by:
overlaySKScenein interfaceSCNSceneRenderer
-
pause
public void pause(@Nullable @Nullable java.lang.Object sender)pause: This action method pauses the scene playback. This method does not do anything if the scene is already paused.- Parameters:
sender- The object (such as a button or menu item) sending the message to pause the scene.
-
play
public void play(@Nullable @Nullable java.lang.Object sender)play: This action method begins playing the scene at its current location. This method does not do anything if the scene is already playing.- Parameters:
sender- The object (such as a button or menu item) sending the message to play the scene.
-
pointOfView
@Nullable public @Nullable SCNNode pointOfView()
Description copied from interface:SCNSceneRenderer[@property] pointOfView Specifies the point of view used to render the scene. A point of view must have either a camera or a spot light attached.- Specified by:
pointOfViewin interfaceSCNSceneRenderer
-
preferredFramesPerSecond
public long preferredFramesPerSecond()
[@property] preferredFramesPerSecond The rate you want the view to redraw its contents. When your application sets its preferred frame rate, the view chooses a frame rate as close to that as possible based on the capabilities of the screen the view is displayed on. The actual frame rate chosen is usually a factor of the maximum refresh rate of the screen to provide a consistent frame rate. For example, if the maximum refresh rate of the screen is 60 frames per second, that is also the highest frame rate the view sets as the actual frame rate. However, if you ask for a lower frame rate, it might choose 30, 20, 15 or some other factor to be the actual frame rate. Your application should choose a frame rate that it can consistently maintain. The default value is 0 which means the display link will fire at the native cadence of the display hardware.
-
prepareObjectShouldAbortBlock
public boolean prepareObjectShouldAbortBlock(@NotNull @NotNull java.lang.Object object, @Nullable SCNSceneRenderer.Block_prepareObjectShouldAbortBlock block)Description copied from interface:SCNSceneRendererprepareObject:shouldAbortBlock: Prepare the specified object for drawing. Returns YES if the object was prepared successfully, NO if it was canceled. This method may be triggered from a secondary thread. This method is observable using NSProgress.- Specified by:
prepareObjectShouldAbortBlockin interfaceSCNSceneRenderer- Parameters:
object- The object to prepare. It can be an instance of SCNScene, SCNNode, SCNGeometry, or SCNMaterialblock- This block will be called repeatedly while the object is prepared. Return YES if you want the operation to abort.
-
prepareObjectsWithCompletionHandler
public void prepareObjectsWithCompletionHandler(@NotNull @NotNull NSArray<?> objects, @Nullable SCNSceneRenderer.Block_prepareObjectsWithCompletionHandler completionHandler)Description copied from interface:SCNSceneRendererprepareObjects:withCompletionHandler: Prepare the specified objects for drawing on the background. This method is observable using NSProgress.- Specified by:
prepareObjectsWithCompletionHandlerin interfaceSCNSceneRenderer- Parameters:
objects- The objects to prepare. It can be one or more instances of SCNScene, SCNNode, SCNGeometry, or SCNMaterialcompletionHandler- This block will be called when all objects has been prepared, or on failure.
-
presentSceneWithTransitionIncomingPointOfViewCompletionHandler
public void presentSceneWithTransitionIncomingPointOfViewCompletionHandler(@NotNull @NotNull SCNScene scene, @NotNull @NotNull SKTransition transition, @Nullable @Nullable SCNNode pointOfView, @Nullable SCNSceneRenderer.Block_presentSceneWithTransitionIncomingPointOfViewCompletionHandler completionHandler)Description copied from interface:SCNSceneRendererpresentScene:withTransition:incomingPointOfView: Present a SCNScene in the receiver, replacing the current scene.- Specified by:
presentSceneWithTransitionIncomingPointOfViewCompletionHandlerin interfaceSCNSceneRenderer- Parameters:
scene- The new scene to present.transition- the transition to use when presenting the scene.pointOfView- the point of view to use to render the new scene.completionHandler- the block invoked on completion. API-Since: 9.0
-
projectPoint
public SCNVector3 projectPoint(SCNVector3 point)
Description copied from interface:SCNSceneRendererprojectPoint Projects a point in the world coordinate system using the receiver's current point of view and viewport. A point projected from the near (resp. far) clip plane will have a z component of 0 (resp. 1). Starting in macOS 11.0, iOS 14, tvOS 14 and watchOS 7 the range of z component will be reversed (from 1 to 0) if the receiver uses 'reverseZ'.- Specified by:
projectPointin interfaceSCNSceneRenderer- Parameters:
point- The world position to be projected.
-
renderingAPI
public long renderingAPI()
Description copied from interface:SCNSceneRenderer[@property] renderingAPI Specifies the rendering API associated to the receiver. This is the rendering API effectively used by the receiver. You can specify a preferred rendering API when initializing a view programmatically (see SCNPreferredRenderingAPI in SCNSceneRenderer.h) or using Interface Builder's SCNView inspector. API-Since: 9.0- Specified by:
renderingAPIin interfaceSCNSceneRenderer
-
scene
@Nullable public @Nullable SCNScene scene()
Description copied from interface:SCNSceneRenderer[@property] scene Specifies the scene of the receiver.- Specified by:
scenein interfaceSCNSceneRenderer
-
sceneTime
public double sceneTime()
Description copied from interface:SCNSceneRenderer[@property] sceneTime Specifies the current "scene time" to display the scene. The scene time only affect scene time based animations (see SCNAnimation.h "usesSceneTimeBase" and SCNSceneSource.h "SCNSceneSourceAnimationImportPolicyKey" for how to create scene time based animations). Scene time based animations and this property are typically used by tools and viewer to ease seeking in time while previewing a scene.- Specified by:
sceneTimein interfaceSCNSceneRenderer
-
setAllowsCameraControl
public void setAllowsCameraControl(boolean value)
[@property] allowsCameraControl A Boolean value that determines whether the user can manipulate the point of view used to render the scene. When set to YES, a `defaultCameraController` is created and the view will handle UI events to pilot it so the user can manipulate the current point of view with the mouse or the trackpad. The scene graph and existing cameras won't be modified by this action. The default value of this property is NO. Note that the default event handling provided by the view may not suit your needs. You may want to implement your own event handler. The built-in camera controller let you: - pan with 1 finger to rotate the camera around the scene - pan with 2 fingers to translate the camera on its local X,Y plan - pan with 3 fingers vertically to move the the camera forward/backward - double tap to switch to the next camera in the scene - rotate with two fingers to roll the camera (rotation around the Z axis) - pinch to zoom-in / zoom-out (change the field of view of the camera)
-
setAntialiasingMode
public void setAntialiasingMode(long value)
[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.
-
setAudioListener
public void setAudioListener(@Nullable @Nullable SCNNode value)Description copied from interface:SCNSceneRenderer[@property] audioListener Use this property to set the audio node to use as the listener position and orientation when rendering positional audio for this scene. The default is nil which means that the current point of view will be used dynamically. API-Since: 9.0- Specified by:
setAudioListenerin interfaceSCNSceneRenderer
-
setAutoenablesDefaultLighting
public void setAutoenablesDefaultLighting(boolean value)
Description copied from interface:SCNSceneRenderer[@property] autoenablesDefaultLighting Specifies whether the receiver should automatically light up scenes that have no light source. The default is NO. When enabled, a diffuse light is automatically added and placed while rendering scenes that have no light or only ambient lights.- Specified by:
setAutoenablesDefaultLightingin interfaceSCNSceneRenderer
-
setDebugOptions
public void setDebugOptions(long value)
Description copied from interface:SCNSceneRenderer[@property] debugOptions Specifies the debug options of the receiver. Defaults to SCNDebugOptionNone. API-Since: 9.0- Specified by:
setDebugOptionsin interfaceSCNSceneRenderer
-
setDelegate_unsafe
public void setDelegate_unsafe(@Nullable @Nullable java.lang.Object value)Description copied from interface:SCNSceneRenderer[@property] delegate Specifies the renderer delegate.- Specified by:
setDelegate_unsafein interfaceSCNSceneRenderer
-
setDelegate
public void setDelegate(@Nullable @Nullable java.lang.Object value)
-
setEaglContext
@Deprecated public void setEaglContext(@Nullable @Nullable EAGLContext value)Deprecated.SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0)); API-Since: 8.0 Deprecated-Since: 12.0 Deprecated-Message: OpenGL API deprecated, please use Metal instead. (Define SCN_SILENCE_GL_DEPRECATION to silence these warnings)
-
setLoops
public void setLoops(boolean value)
Description copied from interface:SCNSceneRenderer[@property] loops Indicates whether the receiver restarts playback when it reaches the end of its content. Default: YES. YES when the receiver restarts playback when it finishes, NO otherwise.- Specified by:
setLoopsin interfaceSCNSceneRenderer
-
setOverlaySKScene
public void setOverlaySKScene(@Nullable @Nullable SKScene value)Description copied from interface:SCNSceneRenderer[@property] overlaySKScene Specifies the overlay of the receiver as a SpriteKit scene instance. Defaults to nil.- Specified by:
setOverlaySKScenein interfaceSCNSceneRenderer
-
setPointOfView
public void setPointOfView(@Nullable @Nullable SCNNode value)Description copied from interface:SCNSceneRenderer[@property] pointOfView Specifies the point of view used to render the scene. A point of view must have either a camera or a spot light attached.- Specified by:
setPointOfViewin interfaceSCNSceneRenderer
-
setPreferredFramesPerSecond
public void setPreferredFramesPerSecond(long value)
[@property] preferredFramesPerSecond The rate you want the view to redraw its contents. When your application sets its preferred frame rate, the view chooses a frame rate as close to that as possible based on the capabilities of the screen the view is displayed on. The actual frame rate chosen is usually a factor of the maximum refresh rate of the screen to provide a consistent frame rate. For example, if the maximum refresh rate of the screen is 60 frames per second, that is also the highest frame rate the view sets as the actual frame rate. However, if you ask for a lower frame rate, it might choose 30, 20, 15 or some other factor to be the actual frame rate. Your application should choose a frame rate that it can consistently maintain. The default value is 0 which means the display link will fire at the native cadence of the display hardware.
-
setScene
public void setScene(@Nullable @Nullable SCNScene value)Description copied from interface:SCNSceneRenderer[@property] scene Specifies the scene of the receiver.- Specified by:
setScenein interfaceSCNSceneRenderer
-
setSceneTime
public void setSceneTime(double value)
Description copied from interface:SCNSceneRenderer[@property] sceneTime Specifies the current "scene time" to display the scene. The scene time only affect scene time based animations (see SCNAnimation.h "usesSceneTimeBase" and SCNSceneSource.h "SCNSceneSourceAnimationImportPolicyKey" for how to create scene time based animations). Scene time based animations and this property are typically used by tools and viewer to ease seeking in time while previewing a scene.- Specified by:
setSceneTimein interfaceSCNSceneRenderer
-
setShowsStatistics
public void setShowsStatistics(boolean value)
Description copied from interface:SCNSceneRenderer[@property] showsStatistics Determines whether the receiver should display statistics info like FPS. Defaults to NO. When set to YES, statistics are displayed in a overlay on top of the rendered scene.- Specified by:
setShowsStatisticsin interfaceSCNSceneRenderer
-
setTechnique
public void setTechnique(@Nullable @Nullable SCNTechnique value)Description copied from interface:SCNTechniqueSupport[@property] technique Specifies the technique of the receiver. Defaults to nil.- Specified by:
setTechniquein interfaceSCNTechniqueSupport
-
showsStatistics
public boolean showsStatistics()
Description copied from interface:SCNSceneRenderer[@property] showsStatistics Determines whether the receiver should display statistics info like FPS. Defaults to NO. When set to YES, statistics are displayed in a overlay on top of the rendered scene.- Specified by:
showsStatisticsin interfaceSCNSceneRenderer
-
snapshot
@NotNull public @NotNull UIImage snapshot()
[@property] snapshot Draws the contents of the view and returns them as a new image object This method is thread-safe and may be called at any time.
-
stencilPixelFormat
public long stencilPixelFormat()
Description copied from interface:SCNSceneRenderer[@property] stencilPixelFormat The pixel format of the stencil attachment of the renderer. This property is only valid on a renderer created with a Metal device. API-Since: 9.0- Specified by:
stencilPixelFormatin interfaceSCNSceneRenderer
-
stop
public void stop(@Nullable @Nullable java.lang.Object sender)stop: This action method stops the scene playback and resets the current time to the start time of the scene.- Parameters:
sender- The object (such as a button or menu item) sending the message to stop playing the scene.
-
technique
@Nullable public @Nullable SCNTechnique technique()
Description copied from interface:SCNTechniqueSupport[@property] technique Specifies the technique of the receiver. Defaults to nil.- Specified by:
techniquein interfaceSCNTechniqueSupport
-
unprojectPoint
public SCNVector3 unprojectPoint(SCNVector3 point)
Description copied from interface:SCNSceneRendererunprojectPoint Unprojects a screenspace 2D point with depth info using the receiver's current point of view and viewport. A point whose z component is 0 (resp. 1) is unprojected on the near (resp. far) clip plane. Starting in macOS 11.0, iOS 14, tvOS 14 and watchOS 7 the range of the z component will be reversed (from 1 to 0) if the receiver uses 'reverseZ'.- Specified by:
unprojectPointin interfaceSCNSceneRenderer- Parameters:
point- The screenspace position to be unprojected.
-
cameraControlConfiguration
@NotNull public @NotNull SCNCameraControlConfiguration cameraControlConfiguration()
[@property] cameraControlConfiguration An object describing the current configuration of the event handler which pilot the default camera controller. This object will be used to configure the event handler when allowCameraControl is set to YES. API-Since: 11.0
-
defaultCameraController
@NotNull public @NotNull SCNCameraController defaultCameraController()
[@property] defaultCameraController Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES. API-Since: 11.0
-
rendersContinuously
public boolean rendersContinuously()
[@property] rendersContinuously When set to YES, the view continously redraw at the display link frame rate. When set to NO the view will only redraw when something change or animates in the receiver's scene. Defaults to NO.
-
setRendersContinuously
public void setRendersContinuously(boolean value)
[@property] rendersContinuously When set to YES, the view continously redraw at the display link frame rate. When set to NO the view will only redraw when something change or animates in the receiver's scene. Defaults to NO.
-
currentViewport
public CGRect currentViewport()
Description copied from interface:SCNSceneRenderer[@property] currentViewport Returns the current viewport for this renderer, can be used to get the actual viewport from within the delegate callback during a live resize. API-Since: 13.0- Specified by:
currentViewportin interfaceSCNSceneRenderer
-
isTemporalAntialiasingEnabled
public boolean isTemporalAntialiasingEnabled()
Description copied from interface:SCNSceneRenderer[@property] temporalAntialiasingEnabled Specifies whether the receiver should reduce aliasing artifacts in real time based on temporal coherency. Defaults to NO. API-Since: 13.0- Specified by:
isTemporalAntialiasingEnabledin interfaceSCNSceneRenderer
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, @NotNull UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
-
setTemporalAntialiasingEnabled
public void setTemporalAntialiasingEnabled(boolean value)
Description copied from interface:SCNSceneRenderer[@property] temporalAntialiasingEnabled Specifies whether the receiver should reduce aliasing artifacts in real time based on temporal coherency. Defaults to NO. API-Since: 13.0- Specified by:
setTemporalAntialiasingEnabledin interfaceSCNSceneRenderer
-
setUsesReverseZ
public void setUsesReverseZ(boolean value)
Description copied from interface:SCNSceneRenderer[@property] usesReverseZ Specifies if the renderer should use the reverse Z technique. Defaults to YES. This property is only valid on a renderer created with a Metal device. API-Since: 13.0- Specified by:
setUsesReverseZin interfaceSCNSceneRenderer
-
usesReverseZ
public boolean usesReverseZ()
Description copied from interface:SCNSceneRenderer[@property] usesReverseZ Specifies if the renderer should use the reverse Z technique. Defaults to YES. This property is only valid on a renderer created with a Metal device. API-Since: 13.0- Specified by:
usesReverseZin interfaceSCNSceneRenderer
-
currentRenderPassDescriptor
@NotNull public @NotNull MTLRenderPassDescriptor currentRenderPassDescriptor()
Description copied from interface:SCNSceneRenderer[@property] currentRenderPassDescriptor The render pass descriptor of the receiver. This property is only valid within the SCNSceneRendererDelegate methods and when rendering with Metal. Otherwise it is set to nil. API-Since: 9.0- Specified by:
currentRenderPassDescriptorin interfaceSCNSceneRenderer
-
animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion
public static void animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, @NotNull UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
workingColorSpace
@NotNull public @NotNull CGColorSpaceRef workingColorSpace()
Description copied from interface:SCNSceneRenderer[@property] workingColorSpace Specifies the color space used by the receiver for shading. SceneKit will automatically color match image and color objects (UIImage, UIColor, CGImageRef, CGColorRef, etc.). When you directly provide color components to shaders, use this property to color match them to the working color space. API-Since: 17.0- Specified by:
workingColorSpacein interfaceSCNSceneRenderer
-
-