public class SCNView extends UIView implements SCNSceneRenderer, SCNTechniqueSupport
A SCNView is a subclass of NSView that can display a SCNScene
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_4NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retSCNSceneRenderer.Block_prepareObjectShouldAbortBlock, SCNSceneRenderer.Block_prepareObjectsWithCompletionHandler, SCNSceneRenderer.Block_presentSceneWithTransitionIncomingPointOfViewCompletionHandlerUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
SCNView(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
SCNView |
_appearanceForTraitCollection(UITraitCollection trait) |
SCNView |
_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
SCNView |
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
SCNView |
_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
SCNView |
_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
accessInstanceVariablesDirectly() |
static void |
addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime,
double frameDuration,
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations) |
static SCNView |
alloc() |
static SCNView |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsCameraControl()
[@property] allowsCameraControl
|
static void |
animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion) |
static void |
animateWithDurationAnimations(double duration,
UIView.Block_animateWithDurationAnimations animations) |
static void |
animateWithDurationAnimationsCompletion(double duration,
UIView.Block_animateWithDurationAnimationsCompletion_1 animations,
UIView.Block_animateWithDurationAnimationsCompletion_2 completion) |
static void |
animateWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion) |
static void |
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration,
double delay,
double dampingRatio,
double velocity,
long options,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion) |
long |
antialiasingMode()
[@property] antialiasingMode
|
static SCNView |
appearance() |
static SCNView |
appearanceForTraitCollection(UITraitCollection trait) |
static SCNView |
appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static SCNView |
appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
static SCNView |
appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static SCNView |
appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
areAnimationsEnabled() |
AVAudioEngine |
audioEngine()
[@property] audioEngine
|
AVAudioEnvironmentNode |
audioEnvironmentNode()
[@property] audioEnvironmentNode
|
SCNNode |
audioListener()
[@property] audioListener
|
boolean |
autoenablesDefaultLighting()
[@property] autoenablesDefaultLighting
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
beginAnimationsContext(java.lang.String animationID,
org.moe.natj.general.ptr.VoidPtr context) |
SCNCameraControlConfiguration |
cameraControlConfiguration()
[@property] cameraControlConfiguration
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(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.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
long |
colorPixelFormat()
[@property] colorPixelFormat
|
MTLCommandQueue |
commandQueue()
[@property] commandQueue
|
static void |
commitAnimations() |
org.moe.natj.general.ptr.VoidPtr |
context()
[@property] context
|
MTLRenderCommandEncoder |
currentRenderCommandEncoder()
[@property] currentRenderCommandEncoder
|
MTLRenderPassDescriptor |
currentRenderPassDescriptor()
[@property] currentRenderPassDescriptor
|
CGRect |
currentViewport()
[@property] currentViewport
|
static java.lang.String |
debugDescription_static() |
long |
debugOptions()
[@property] debugOptions
|
SCNCameraController |
defaultCameraController()
[@property] defaultCameraController
|
java.lang.Object |
delegate()
[@property] delegate
|
long |
depthPixelFormat()
[@property] depthPixelFormat
|
static java.lang.String |
description_static() |
MTLDevice |
device()
[@property] device
|
EAGLContext |
eaglContext()
SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0));
|
static long |
hash_static() |
NSArray<? extends SCNHitTestResult> |
hitTestOptions(CGPoint point,
NSDictionary<java.lang.String,?> options)
hitTest:options:
|
static double |
inheritedAnimationDuration() |
SCNView |
init() |
SCNView |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
SCNView |
initWithFrame(CGRect frame) |
SCNView |
initWithFrameOptions(CGRect frame,
NSDictionary<java.lang.String,?> options)
initWithFrame:options:
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isJitteringEnabled()
[@property] jitteringEnabled
|
boolean |
isNodeInsideFrustumWithPointOfView(SCNNode node,
SCNNode pointOfView)
isNodeInsideFrustum:withPointOfView:
|
boolean |
isPlaying()
[@property] playing
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isTemporalAntialiasingEnabled()
[@property] temporalAntialiasingEnabled
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static org.moe.natj.objc.Class |
layerClass() |
boolean |
loops()
[@property] loops
|
static void |
modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations) |
static SCNView |
new_objc() |
NSArray<? extends SCNNode> |
nodesInsideFrustumWithPointOfView(SCNNode pointOfView)
nodesInsideFrustumWithPointOfView:
|
SKScene |
overlaySKScene()
[@property] overlaySKScene
|
void |
pause(java.lang.Object sender)
pause:
|
static void |
performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation,
NSArray<? extends UIView> views,
long options,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion) |
static void |
performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation) |
void |
play(java.lang.Object sender)
play:
|
SCNNode |
pointOfView()
[@property] pointOfView
|
long |
preferredFramesPerSecond()
[@property] preferredFramesPerSecond
|
boolean |
prepareObjectShouldAbortBlock(java.lang.Object object,
SCNSceneRenderer.Block_prepareObjectShouldAbortBlock block)
prepareObject:shouldAbortBlock:
|
void |
prepareObjectsWithCompletionHandler(NSArray<?> objects,
SCNSceneRenderer.Block_prepareObjectsWithCompletionHandler completionHandler)
prepareObjects:withCompletionHandler:
|
void |
presentSceneWithTransitionIncomingPointOfViewCompletionHandler(SCNScene scene,
SKTransition transition,
SCNNode pointOfView,
SCNSceneRenderer.Block_presentSceneWithTransitionIncomingPointOfViewCompletionHandler completionHandler)
presentScene:withTransition:incomingPointOfView:
|
SCNVector3 |
projectPoint(SCNVector3 point)
projectPoint
|
long |
renderingAPI()
[@property] renderingAPI
|
boolean |
rendersContinuously()
[@property] rendersContinuously
|
static boolean |
requiresConstraintBasedLayout() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
SCNScene |
scene()
[@property] scene
|
double |
sceneTime()
[@property] sceneTime
|
void |
setAllowsCameraControl(boolean value)
[@property] allowsCameraControl
|
static void |
setAnimationBeginsFromCurrentState(boolean fromCurrentState) |
static void |
setAnimationCurve(long curve) |
static void |
setAnimationDelay(double delay) |
static void |
setAnimationDelegate(java.lang.Object delegate) |
static void |
setAnimationDidStopSelector(org.moe.natj.objc.SEL selector) |
static void |
setAnimationDuration_static(double duration) |
static void |
setAnimationRepeatAutoreverses(boolean repeatAutoreverses) |
static void |
setAnimationRepeatCount_static(float repeatCount) |
static void |
setAnimationsEnabled(boolean enabled) |
static void |
setAnimationStartDate(NSDate startDate) |
static void |
setAnimationTransitionForViewCache(long transition,
UIView view,
boolean cache) |
static void |
setAnimationWillStartSelector(org.moe.natj.objc.SEL selector) |
void |
setAntialiasingMode(long value)
[@property] antialiasingMode
|
void |
setAudioListener(SCNNode value)
[@property] audioListener
|
void |
setAutoenablesDefaultLighting(boolean value)
[@property] autoenablesDefaultLighting
|
void |
setDebugOptions(long value)
[@property] debugOptions
|
void |
setDelegate_unsafe(java.lang.Object value)
[@property] delegate
|
void |
setDelegate(java.lang.Object value) |
void |
setEaglContext(EAGLContext value)
SCN_GL_DEPRECATED(ios(8.0, 12.0), tvos(9.0, 12.0));
|
void |
setJitteringEnabled(boolean value)
[@property] jitteringEnabled
|
void |
setLoops(boolean value)
[@property] loops
|
void |
setOverlaySKScene(SKScene value)
[@property] overlaySKScene
|
void |
setPlaying(boolean value)
[@property] playing
|
void |
setPointOfView(SCNNode value)
[@property] pointOfView
|
void |
setPreferredFramesPerSecond(long value)
[@property] preferredFramesPerSecond
|
void |
setRendersContinuously(boolean value)
[@property] rendersContinuously
|
void |
setScene(SCNScene value)
[@property] scene
|
void |
setSceneTime(double value)
[@property] sceneTime
|
void |
setShowsStatistics(boolean value)
[@property] showsStatistics
|
void |
setTechnique(SCNTechnique value)
[@property] technique
|
void |
setTemporalAntialiasingEnabled(boolean value)
[@property] temporalAntialiasingEnabled
|
void |
setUsesReverseZ(boolean value)
[@property] usesReverseZ
|
static void |
setVersion_static(long aVersion) |
boolean |
showsStatistics()
[@property] showsStatistics
|
UIImage |
snapshot()
[@property] snapshot
|
long |
stencilPixelFormat()
[@property] stencilPixelFormat
|
void |
stop(java.lang.Object sender)
stop:
|
static org.moe.natj.objc.Class |
superclass_static() |
SCNTechnique |
technique()
[@property] technique
|
static void |
transitionFromViewToViewDurationOptionsCompletion(UIView fromView,
UIView toView,
double duration,
long options,
UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion) |
static void |
transitionWithViewDurationOptionsAnimationsCompletion(UIView view,
double duration,
long options,
UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations,
UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion) |
SCNVector3 |
unprojectPoint(SCNVector3 point)
unprojectPoint
|
static long |
userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute) |
static long |
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute,
long layoutDirection) |
boolean |
usesReverseZ()
[@property] usesReverseZ
|
static long |
version_static() |
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, 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, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, 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, 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, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, 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, transform, transform3D, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, windowactivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, 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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime,
double frameDuration,
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
public static SCNView alloc()
public static SCNView allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
public static void animateWithDurationAnimations(double duration,
UIView.Block_animateWithDurationAnimations animations)
public static void animateWithDurationAnimationsCompletion(double duration,
UIView.Block_animateWithDurationAnimationsCompletion_1 animations,
UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration,
double delay,
double dampingRatio,
double velocity,
long options,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
public static SCNView appearance()
public static SCNView appearanceForTraitCollection(UITraitCollection trait)
@Deprecated public static SCNView appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static SCNView appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
@Deprecated public static SCNView appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static SCNView appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
public static boolean areAnimationsEnabled()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void beginAnimationsContext(java.lang.String animationID,
org.moe.natj.general.ptr.VoidPtr context)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static void clearTextInputContextIdentifier(java.lang.String identifier)
public static void commitAnimations()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static double inheritedAnimationDuration()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static org.moe.natj.objc.Class layerClass()
public static SCNView new_objc()
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation,
NSArray<? extends UIView> views,
long options,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
public static void performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)
public static boolean requiresConstraintBasedLayout()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
public static void setAnimationCurve(long curve)
public static void setAnimationDelay(double delay)
public static void setAnimationDelegate(java.lang.Object delegate)
public static void setAnimationDidStopSelector(org.moe.natj.objc.SEL selector)
public static void setAnimationDuration_static(double duration)
public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
public static void setAnimationRepeatCount_static(float repeatCount)
public static void setAnimationStartDate(NSDate startDate)
public static void setAnimationTransitionForViewCache(long transition,
UIView view,
boolean cache)
public static void setAnimationWillStartSelector(org.moe.natj.objc.SEL selector)
public static void setAnimationsEnabled(boolean enabled)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static void transitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
public static void transitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute,
long layoutDirection)
public static long version_static()
public boolean 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).
public long antialiasingMode()
Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.
public SCNView _appearance()
UIAppearanceNote 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.
_appearance in interface UIAppearance_appearance in class UIViewpublic SCNView _appearanceForTraitCollection(UITraitCollection trait)
_appearanceForTraitCollection in interface UIAppearance_appearanceForTraitCollection in class UIView@Deprecated public SCNView _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
_appearanceForTraitCollectionWhenContainedIn in interface UIAppearance_appearanceForTraitCollectionWhenContainedIn in class UIViewpublic SCNView _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in class UIView@Deprecated public SCNView _appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
UIAppearance[[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.
_appearanceWhenContainedIn in interface UIAppearance_appearanceWhenContainedIn in class UIViewpublic SCNView _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
_appearanceWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceWhenContainedInInstancesOfClasses in class UIViewpublic AVAudioEngine audioEngine()
SCNSceneRendererContains the instance of audio engine used by the scene.
The audio engine can be used to add custom nodes to the audio graph.
audioEngine in interface SCNSceneRendererpublic AVAudioEnvironmentNode audioEnvironmentNode()
SCNSceneRendererContains the instance of audio environment node used by the scene to spacialize sounds.
audioEnvironmentNode in interface SCNSceneRendererpublic SCNNode audioListener()
SCNSceneRendererUse 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.
audioListener in interface SCNSceneRendererpublic boolean autoenablesDefaultLighting()
SCNSceneRendererSpecifies 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.
autoenablesDefaultLighting in interface SCNSceneRendererpublic long colorPixelFormat()
SCNSceneRendererThe pixel format of the color attachment 0 of the renderer. This property is only valid on a renderer created with a Metal device.
colorPixelFormat in interface SCNSceneRendererpublic MTLCommandQueue commandQueue()
SCNSceneRendererThe command queue of the renderer. This property is only valid on a renderer created with a Metal device. Otherwise it is set to nil.
commandQueue in interface SCNSceneRendererpublic org.moe.natj.general.ptr.VoidPtr context()
SCNSceneRendererA Core OpenGL render context that is used as the render target (a CGLContextObj on macOS, an EAGLContext on iOS).
context in interface SCNSceneRendererpublic MTLRenderCommandEncoder currentRenderCommandEncoder()
SCNSceneRendererThe 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.
currentRenderCommandEncoder in interface SCNSceneRendererpublic long debugOptions()
SCNSceneRendererSpecifies the debug options of the receiver. Defaults to SCNDebugOptionNone.
debugOptions in interface SCNSceneRendererpublic java.lang.Object delegate()
SCNSceneRendererSpecifies the renderer delegate.
delegate in interface SCNSceneRendererpublic long depthPixelFormat()
SCNSceneRendererThe pixel format of the depth attachment of the renderer. This property is only valid on a renderer created with a Metal device.
depthPixelFormat in interface SCNSceneRendererpublic MTLDevice device()
SCNSceneRendererThe metal device of the renderer. This property is only valid on a renderer created with a Metal device. Otherwise it is set to nil.
device in interface SCNSceneRendererpublic EAGLContext eaglContext()
public NSArray<? extends SCNHitTestResult> hitTestOptions(CGPoint point, NSDictionary<java.lang.String,?> options)
SCNSceneRendererReturns an array of SCNHitTestResult for each node that contains a specified point.
hitTestOptions in interface SCNSceneRendererpoint - A point in the coordinate system of the receiver.options - Optional parameters (see the "Hit test options" group for the available options).public SCNView initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIViewpublic SCNView initWithFrame(CGRect frame)
initWithFrame in class UIViewpublic SCNView initWithFrameOptions(CGRect frame, NSDictionary<java.lang.String,?> options)
Initializes and returns a newly allocated SCNView object with a specified frame rectangle.
frame - The frame rectangle for the created view object.options - An optional dictionary. See "View initialization options" above.public boolean isJitteringEnabled()
SCNSceneRendererSpecifies 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.
isJitteringEnabled in interface SCNSceneRendererpublic void setJitteringEnabled(boolean value)
SCNSceneRendererSpecifies 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.
setJitteringEnabled in interface SCNSceneRendererpublic boolean isNodeInsideFrustumWithPointOfView(SCNNode node, SCNNode pointOfView)
SCNSceneRendererTest 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.
isNodeInsideFrustumWithPointOfView in interface SCNSceneRenderernode - The node to test the visibility of.pointOfView - The point of view used to test the visibility.public boolean isPlaying()
SCNSceneRendererReturns YES if the scene is playing, NO otherwise.
isPlaying in interface SCNSceneRendererpublic void setPlaying(boolean value)
SCNSceneRendererReturns YES if the scene is playing, NO otherwise.
setPlaying in interface SCNSceneRendererpublic boolean loops()
SCNSceneRendererIndicates 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.
loops in interface SCNSceneRendererpublic NSArray<? extends SCNNode> nodesInsideFrustumWithPointOfView(SCNNode pointOfView)
SCNSceneRendererReturns 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.
nodesInsideFrustumWithPointOfView in interface SCNSceneRendererpointOfView - The point of view used to test the visibility.public SKScene overlaySKScene()
SCNSceneRendererSpecifies the overlay of the receiver as a SpriteKit scene instance. Defaults to nil.
overlaySKScene in interface SCNSceneRendererpublic void pause(java.lang.Object sender)
This action method pauses the scene playback.
This method does not do anything if the scene is already paused.
sender - The object (such as a button or menu item) sending the message to pause the scene.public void play(java.lang.Object sender)
This action method begins playing the scene at its current location.
This method does not do anything if the scene is already playing.
sender - The object (such as a button or menu item) sending the message to play the scene.public SCNNode pointOfView()
SCNSceneRendererSpecifies the point of view used to render the scene.
A point of view must have either a camera or a spot light attached.
pointOfView in interface SCNSceneRendererpublic long 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.
public boolean prepareObjectShouldAbortBlock(java.lang.Object object,
SCNSceneRenderer.Block_prepareObjectShouldAbortBlock block)
SCNSceneRendererPrepare 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.
prepareObjectShouldAbortBlock in interface SCNSceneRendererobject - 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.public void prepareObjectsWithCompletionHandler(NSArray<?> objects, SCNSceneRenderer.Block_prepareObjectsWithCompletionHandler completionHandler)
SCNSceneRendererPrepare the specified objects for drawing on the background.
This method is observable using NSProgress.
prepareObjectsWithCompletionHandler in interface SCNSceneRendererobjects - 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.public void presentSceneWithTransitionIncomingPointOfViewCompletionHandler(SCNScene scene, SKTransition transition, SCNNode pointOfView, SCNSceneRenderer.Block_presentSceneWithTransitionIncomingPointOfViewCompletionHandler completionHandler)
SCNSceneRendererPresent a SCNScene in the receiver, replacing the current scene.
presentSceneWithTransitionIncomingPointOfViewCompletionHandler in interface SCNSceneRendererscene - 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.public SCNVector3 projectPoint(SCNVector3 point)
SCNSceneRendererProjects 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'.
projectPoint in interface SCNSceneRendererpoint - The world position to be projected.public long renderingAPI()
SCNSceneRendererSpecifies 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.
renderingAPI in interface SCNSceneRendererpublic SCNScene scene()
SCNSceneRendererSpecifies the scene of the receiver.
scene in interface SCNSceneRendererpublic double sceneTime()
SCNSceneRendererSpecifies 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.
sceneTime in interface SCNSceneRendererpublic void setAllowsCameraControl(boolean value)
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).
public void setAntialiasingMode(long value)
Defaults to SCNAntialiasingModeMultisampling4X on macOS and SCNAntialiasingModeNone on iOS.
public void setAudioListener(SCNNode value)
SCNSceneRendererUse 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.
setAudioListener in interface SCNSceneRendererpublic void setAutoenablesDefaultLighting(boolean value)
SCNSceneRendererSpecifies 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.
setAutoenablesDefaultLighting in interface SCNSceneRendererpublic void setDebugOptions(long value)
SCNSceneRendererSpecifies the debug options of the receiver. Defaults to SCNDebugOptionNone.
setDebugOptions in interface SCNSceneRendererpublic void setDelegate_unsafe(java.lang.Object value)
SCNSceneRendererSpecifies the renderer delegate.
setDelegate_unsafe in interface SCNSceneRendererpublic void setDelegate(java.lang.Object value)
public void setEaglContext(EAGLContext value)
public void setLoops(boolean value)
SCNSceneRendererIndicates 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.
setLoops in interface SCNSceneRendererpublic void setOverlaySKScene(SKScene value)
SCNSceneRendererSpecifies the overlay of the receiver as a SpriteKit scene instance. Defaults to nil.
setOverlaySKScene in interface SCNSceneRendererpublic void setPointOfView(SCNNode value)
SCNSceneRendererSpecifies the point of view used to render the scene.
A point of view must have either a camera or a spot light attached.
setPointOfView in interface SCNSceneRendererpublic void setPreferredFramesPerSecond(long value)
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.
public void setScene(SCNScene value)
SCNSceneRendererSpecifies the scene of the receiver.
setScene in interface SCNSceneRendererpublic void setSceneTime(double value)
SCNSceneRendererSpecifies 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.
setSceneTime in interface SCNSceneRendererpublic void setShowsStatistics(boolean value)
SCNSceneRendererDetermines 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.
setShowsStatistics in interface SCNSceneRendererpublic void setTechnique(SCNTechnique value)
SCNTechniqueSupportSpecifies the technique of the receiver. Defaults to nil.
setTechnique in interface SCNTechniqueSupportpublic boolean showsStatistics()
SCNSceneRendererDetermines 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.
showsStatistics in interface SCNSceneRendererpublic UIImage 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.
public long stencilPixelFormat()
SCNSceneRendererThe pixel format of the stencil attachment of the renderer. This property is only valid on a renderer created with a Metal device.
stencilPixelFormat in interface SCNSceneRendererpublic void stop(java.lang.Object sender)
This action method stops the scene playback and resets the current time to the start time of the scene.
sender - The object (such as a button or menu item) sending the message to stop playing the scene.public SCNTechnique technique()
SCNTechniqueSupportSpecifies the technique of the receiver. Defaults to nil.
technique in interface SCNTechniqueSupportpublic SCNVector3 unprojectPoint(SCNVector3 point)
SCNSceneRendererUnprojects 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'.
unprojectPoint in interface SCNSceneRendererpoint - The screenspace position to be unprojected.public SCNCameraControlConfiguration 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.
public SCNCameraController defaultCameraController()
Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.
public boolean 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.
public void setRendersContinuously(boolean value)
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.
public CGRect currentViewport()
SCNSceneRendererReturns the current viewport for this renderer, can be used to get the actual viewport from within the delegate callback during a live resize.
currentViewport in interface SCNSceneRendererpublic boolean isTemporalAntialiasingEnabled()
SCNSceneRendererSpecifies whether the receiver should reduce aliasing artifacts in real time based on temporal coherency. Defaults to NO.
isTemporalAntialiasingEnabled in interface SCNSceneRendererpublic static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
public void setTemporalAntialiasingEnabled(boolean value)
SCNSceneRendererSpecifies whether the receiver should reduce aliasing artifacts in real time based on temporal coherency. Defaults to NO.
setTemporalAntialiasingEnabled in interface SCNSceneRendererpublic void setUsesReverseZ(boolean value)
SCNSceneRendererSpecifies 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.
setUsesReverseZ in interface SCNSceneRendererpublic boolean usesReverseZ()
SCNSceneRendererSpecifies 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.
usesReverseZ in interface SCNSceneRendererpublic MTLRenderPassDescriptor currentRenderPassDescriptor()
SCNSceneRendererThe 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.
currentRenderPassDescriptor in interface SCNSceneRenderer