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,UIAppearance,UIAppearanceContainer,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,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_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.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
-
-
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 java.lang.Object_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.java.lang.Object_appearanceForTraitCollection(UITraitCollection trait)java.lang.Object_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.java.lang.Object_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)java.lang.Object_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.java.lang.Object_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)static SCNViewalloc()static java.lang.ObjectallocWithZone(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)longantialiasingMode()[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.static java.lang.Objectappearance()static java.lang.ObjectappearanceForTraitCollection(UITraitCollection trait)static java.lang.ObjectappearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static java.lang.ObjectappearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)static java.lang.ObjectappearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static java.lang.ObjectappearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)static booleanareAnimationsEnabled()AVAudioEngineaudioEngine()[@property] audioEngine Contains the instance of audio engine used by the scene.AVAudioEnvironmentNodeaudioEnvironmentNode()[@property] audioEnvironmentNode Contains the instance of audio environment node used by the scene to spacialize sounds.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(java.lang.String key)static voidbeginAnimationsContext(java.lang.String animationID, org.moe.natj.general.ptr.VoidPtr context)SCNCameraControlConfigurationcameraControlConfiguration()[@property] cameraControlConfiguration An object describing the current configuration of the event handler which pilot the default camera controller.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(java.lang.String identifier)longcolorPixelFormat()[@property] colorPixelFormat The pixel format of the color attachment 0 of the renderer.MTLCommandQueuecommandQueue()[@property] commandQueue The command queue of the renderer.static voidcommitAnimations()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).MTLRenderCommandEncodercurrentRenderCommandEncoder()[@property] currentRenderCommandEncoder The current render command encoder if any.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.SCNCameraControllerdefaultCameraController()[@property] defaultCameraController Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.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()MTLDevicedevice()[@property] device The metal device of the renderer.EAGLContexteaglContext()SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0));static longhash_static()NSArray<? extends SCNHitTestResult>hitTestOptions(CGPoint point, NSDictionary<java.lang.String,?> options)hitTest:options: Returns an array of SCNHitTestResult for each node that contains a specified point.static doubleinheritedAnimationDuration()SCNViewinit()SCNViewinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERSCNViewinitWithFrame(CGRect frame)SCNViewinitWithFrameOptions(CGRect frame, 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(SCNNode node, 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 NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static 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 java.lang.Objectnew_objc()NSArray<? extends SCNNode>nodesInsideFrustumWithPointOfView(SCNNode pointOfView)nodesInsideFrustumWithPointOfView: Returns an array containing the nodes visible from the specified point of view.SKSceneoverlaySKScene()[@property] overlaySKScene Specifies the overlay of the receiver as a SpriteKit scene instance.voidpause(java.lang.Object sender)pause: This action method pauses the scene playback.static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)voidplay(java.lang.Object sender)play: This action method begins playing the scene at its current location.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(java.lang.Object object, SCNSceneRenderer.Block_prepareObjectShouldAbortBlock block)prepareObject:shouldAbortBlock: Prepare the specified object for drawing.voidprepareObjectsWithCompletionHandler(NSArray<?> objects, SCNSceneRenderer.Block_prepareObjectsWithCompletionHandler completionHandler)prepareObjects:withCompletionHandler: Prepare the specified objects for drawing on the background.voidpresentSceneWithTransitionIncomingPointOfViewCompletionHandler(SCNScene scene, SKTransition transition, 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)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)static voidsetAnimationCurve(long curve)static voidsetAnimationDelay(double delay)static voidsetAnimationDelegate(java.lang.Object delegate)static voidsetAnimationDidStopSelector(org.moe.natj.objc.SEL selector)static voidsetAnimationDuration_static(double duration)static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)static voidsetAnimationRepeatCount_static(float repeatCount)static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(NSDate startDate)static voidsetAnimationTransitionForViewCache(long transition, UIView view, boolean cache)static voidsetAnimationWillStartSelector(org.moe.natj.objc.SEL selector)voidsetAntialiasingMode(long value)[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.voidsetAudioListener(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(java.lang.Object value)[@property] delegate Specifies the renderer delegate.voidsetDelegate_unsafe(java.lang.Object value)voidsetEaglContext(EAGLContext value)SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0));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(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(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(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(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.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(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()SCNTechniquetechnique()[@property] technique Specifies the technique of the receiver.static voidtransitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(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 longversion_static()-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, 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, focusGroupIdentifier, focusItemContainer, focusItemsInRect, frame, frameForAlignmentRect, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isUserInteractionEnabled, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusGroupIdentifier, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, 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, transform, transform3D, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static SCNView alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
appearance
public static java.lang.Object appearance()
-
appearanceForTraitCollection
public static java.lang.Object appearanceForTraitCollection(UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@Deprecated public static java.lang.Object appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
public static java.lang.Object appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@Deprecated public static java.lang.Object appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
public static java.lang.Object appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
beginAnimationsContext
public static void beginAnimationsContext(java.lang.String animationID, org.moe.natj.general.ptr.VoidPtr context)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(java.lang.String identifier)
-
commitAnimations
public static void commitAnimations()
-
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
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
layerClass
public static org.moe.natj.objc.Class layerClass()
-
new_objc
public static java.lang.Object new_objc()
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(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
public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
-
setAnimationCurve
public static void setAnimationCurve(long curve)
-
setAnimationDelay
public static void setAnimationDelay(double delay)
-
setAnimationDelegate
public static void setAnimationDelegate(java.lang.Object delegate)
-
setAnimationDidStopSelector
public static void setAnimationDidStopSelector(org.moe.natj.objc.SEL selector)
-
setAnimationDuration_static
public static void setAnimationDuration_static(double duration)
-
setAnimationRepeatAutoreverses
public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
-
setAnimationRepeatCount_static
public static void setAnimationRepeatCount_static(float repeatCount)
-
setAnimationStartDate
public static void setAnimationStartDate(NSDate startDate)
-
setAnimationTransitionForViewCache
public static void setAnimationTransitionForViewCache(long transition, UIView view, boolean cache)
-
setAnimationWillStartSelector
public static void setAnimationWillStartSelector(org.moe.natj.objc.SEL selector)
-
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(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, 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 suite your needs. You may want to implement you own evnet 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 on the Z axis). - pinch to zoom-in / zoom-out (change the fov of the camera).
-
antialiasingMode
public long antialiasingMode()
[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.
-
_appearance
public java.lang.Object _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
public java.lang.Object _appearanceForTraitCollection(UITraitCollection trait)
- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIView
-
_appearanceForTraitCollectionWhenContainedIn
@Deprecated public java.lang.Object _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIView
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
public java.lang.Object _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIView
-
_appearanceWhenContainedIn
@Deprecated public java.lang.Object _appearanceWhenContainedIn(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.- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIView
-
_appearanceWhenContainedInInstancesOfClasses
public java.lang.Object _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIView
-
audioEngine
public 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.- Specified by:
audioEnginein interfaceSCNSceneRenderer
-
audioEnvironmentNode
public AVAudioEnvironmentNode audioEnvironmentNode()
Description copied from interface:SCNSceneRenderer[@property] audioEnvironmentNode Contains the instance of audio environment node used by the scene to spacialize sounds.- Specified by:
audioEnvironmentNodein interfaceSCNSceneRenderer
-
audioListener
public 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.- 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.- Specified by:
colorPixelFormatin interfaceSCNSceneRenderer
-
commandQueue
public 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.- Specified by:
commandQueuein interfaceSCNSceneRenderer
-
context
public 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
public 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.- 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.- Specified by:
debugOptionsin interfaceSCNSceneRenderer
-
delegate
public 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.- Specified by:
depthPixelFormatin interfaceSCNSceneRenderer
-
device
public 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.- Specified by:
devicein interfaceSCNSceneRenderer
-
eaglContext
public EAGLContext eaglContext()
SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0));
-
hitTestOptions
public NSArray<? extends SCNHitTestResult> hitTestOptions(CGPoint point, 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(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, 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(SCNNode node, 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
public NSArray<? extends SCNNode> nodesInsideFrustumWithPointOfView(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.- Specified by:
nodesInsideFrustumWithPointOfViewin interfaceSCNSceneRenderer- Parameters:
pointOfView- The point of view used to test the visibility.
-
overlaySKScene
public 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(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(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
public 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(java.lang.Object object, 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(NSArray<?> objects, 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(SCNScene scene, SKTransition transition, SCNNode pointOfView, 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.
-
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.- Specified by:
renderingAPIin interfaceSCNSceneRenderer
-
scene
public 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 suite your needs. You may want to implement you own evnet 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 on the Z axis). - pinch to zoom-in / zoom-out (change the fov of the camera).
-
setAntialiasingMode
public void setAntialiasingMode(long value)
[@property] antialiasingMode Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.
-
setAudioListener
public void setAudioListener(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.- 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.- Specified by:
setDebugOptionsin interfaceSCNSceneRenderer
-
setDelegate_unsafe
public void setDelegate_unsafe(java.lang.Object value)
-
setDelegate
public void setDelegate(java.lang.Object value)
Description copied from interface:SCNSceneRenderer[@property] delegate Specifies the renderer delegate.- Specified by:
setDelegatein interfaceSCNSceneRenderer
-
setEaglContext
public void setEaglContext(EAGLContext value)
SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0));
-
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(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(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(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(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
public 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.- Specified by:
stencilPixelFormatin interfaceSCNSceneRenderer
-
stop
public void stop(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
public 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
public 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.
-
defaultCameraController
public SCNCameraController defaultCameraController()
[@property] defaultCameraController Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.
-
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.- 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.- Specified by:
isTemporalAntialiasingEnabledin interfaceSCNSceneRenderer
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, 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.- 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.- 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.- Specified by:
usesReverseZin interfaceSCNSceneRenderer
-
currentRenderPassDescriptor
public 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.- Specified by:
currentRenderPassDescriptorin interfaceSCNSceneRenderer
-
-