public class SK3DNode extends SKNode
SKNode.Block_enumerateChildNodesWithNameUsingBlock, SKNode.Block_runActionCompletionNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
SK3DNode(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static SK3DNode |
alloc() |
static SK3DNode |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
autoenablesDefaultLighting()
[@property] autoenablesDefaultLighting
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
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) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
NSArray<? extends SCNHitTestResult> |
hitTestOptions(CGPoint point,
NSDictionary<java.lang.String,?> options)
hitTest:options:
|
SK3DNode |
init() |
SK3DNode |
initWithCoder(NSCoder aDecoder)
Support coding and decoding via NSKeyedArchiver.
|
SK3DNode |
initWithViewportSize(CGSize viewportSize)
Designated initializer.
|
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 |
isPlaying()
[@property] playing
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
boolean |
loops()
[@property] loops
|
static SK3DNode |
new_objc() |
static SK3DNode |
node() |
static SK3DNode |
nodeWithFileNamed(java.lang.String filename) |
static SK3DNode |
nodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename,
NSSet<? extends org.moe.natj.objc.Class> classes,
org.moe.natj.general.ptr.Ptr<NSError> error) |
static SK3DNode |
nodeWithViewportSize(CGSize viewportSize)
Create a 3D Node with the viewport size the 3D content will be rendered with.
|
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes) |
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes) |
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites,
float accuracy) |
SCNNode |
pointOfView()
[@property] pointOfView
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
double |
sceneTime()
[@property] sceneTime
|
SCNScene |
scnScene()
A SceneKit scene
|
void |
setAutoenablesDefaultLighting(boolean value)
[@property] autoenablesDefaultLighting
|
void |
setLoops(boolean value)
[@property] loops
|
void |
setPlaying(boolean value)
[@property] playing
|
void |
setPointOfView(SCNNode value)
[@property] pointOfView
|
void |
setSceneTime(double value)
[@property] sceneTime
|
void |
setScnScene(SCNScene value)
A SceneKit scene
|
static void |
setVersion_static(long aVersion) |
void |
setViewportSize(CGSize value)
The viewport size that the 3D content will be rendered with
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static long |
version_static() |
CGSize |
viewportSize()
The viewport size that the 3D content will be rendered with
|
actionForKey, addChild, alpha, attributeValues, calculateAccumulatedFrame, canBecomeFocused, childNodeWithName, children, constraints, containsPoint, convertPointFromNode, convertPointToNode, copyWithZone, didHintFocusMovement, didUpdateFocusInContextWithAnimationCoordinator, encodeWithCoder, entity, enumerateChildNodesWithNameUsingBlock, focusBehavior, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, frame, hasActions, inParentHierarchy, insertChildAtIndex, intersectsNode, isEqualToNode, isHidden, isPaused, isTransparentFocusItem, isUserInteractionEnabled, moveToParent, name, nodeAtPoint, nodesAtPoint, objectForKeyedSubscript, parent, parentFocusEnvironment, physicsBody, position, preferredFocusedView, preferredFocusEnvironments, reachConstraints, removeActionForKey, removeAllActions, removeAllChildren, removeChildrenInArray, removeFromParent, runAction, runActionCompletion, runActionWithKey, scene, setAlpha, setAttributeValues, setConstraints, setEntity_unsafe, setEntity, setFocusBehavior, setHidden, setName, setNeedsFocusUpdate, setPaused, setPhysicsBody, setPosition, setReachConstraints, setScale, setSpeed, setUserData, setUserInteractionEnabled, setValueForAttributeNamed, setXScale, setYScale, setZPosition, setZRotation, shouldUpdateFocusInContext, speed, updateFocusIfNeeded, userData, valueForAttributeNamed, xScale, yScale, zPosition, zRotationactivityItemsConfiguration, 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 SK3DNode alloc()
public static SK3DNode allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
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 java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
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 SK3DNode new_objc()
public static SK3DNode node()
public static SK3DNode nodeWithFileNamed(java.lang.String filename)
public static SK3DNode nodeWithViewportSize(CGSize viewportSize)
public static NSArray<? extends GKPolygonObstacle> obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes)
public static NSArray<? extends GKPolygonObstacle> obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes)
public static NSArray<? extends GKPolygonObstacle> obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites, float accuracy)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public boolean 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.
public NSArray<? extends SCNHitTestResult> hitTestOptions(CGPoint point, NSDictionary<java.lang.String,?> options)
Returns an array of SCNHitTestResult for each node that contains a specified point.
point - A point in the coordinate system of the receiver.options - Optional parameters (see the "Hit test options" group for the available options).public SK3DNode initWithCoder(NSCoder aDecoder)
initWithCoder in interface NSCodinginitWithCoder in class SKNodepublic SK3DNode initWithViewportSize(CGSize viewportSize)
public boolean isPlaying()
Returns YES if the scene is playing, NO otherwise.
public void setPlaying(boolean value)
Returns YES if the scene is playing, NO otherwise.
public boolean 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.
public SCNNode 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.
public double sceneTime()
Specifies the current time to display the scene.
public SCNScene scnScene()
public void setAutoenablesDefaultLighting(boolean value)
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.
public void setLoops(boolean value)
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.
public void setPointOfView(SCNNode value)
Specifies the point of view used to render the scene.
A point of view must have either a camera or a spot light attached.
public void setSceneTime(double value)
Specifies the current time to display the scene.
public void setScnScene(SCNScene value)
public void setViewportSize(CGSize value)
public CGSize viewportSize()
public static SK3DNode nodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename, NSSet<? extends org.moe.natj.objc.Class> classes, org.moe.natj.general.ptr.Ptr<NSError> error)
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class SKNode