public class SCNAction extends NSObject implements NSCopying, NSSecureCoding
| Modifier and Type | Class and Description |
|---|---|
static interface |
SCNAction.Block_customActionWithDurationActionBlock |
static interface |
SCNAction.Block_runBlock |
static interface |
SCNAction.Block_runBlockQueue |
static interface |
SCNAction.Block_setTimingFunction |
static interface |
SCNAction.Block_timingFunction_ret |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
SCNAction(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 SCNAction |
alloc() |
static SCNAction |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
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() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static SCNAction |
customActionWithDurationActionBlock(double seconds,
SCNAction.Block_customActionWithDurationActionBlock block)
Creates an action that executes a block over a duration.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
double |
duration()
[@property] duration
|
void |
encodeWithCoder(NSCoder coder) |
static SCNAction |
fadeInWithDuration(double sec)
Creates an action that changes the opacity value of the node to 1.0
|
static SCNAction |
fadeOpacityByDuration(double factor,
double sec)
Creates an action that adjusts the opacity value of a node by a relative value.
|
static SCNAction |
fadeOpacityToDuration(double opacity,
double sec)
Creates an action that adjusts the opacity value of a node to a new value.
|
static SCNAction |
fadeOutWithDuration(double sec)
Creates an action that changes the opacity value of the node to 0.0
|
static SCNAction |
group(NSArray<? extends SCNAction> actions)
Creates an action that runs a collection of actions in parallel.
|
static long |
hash_static() |
static SCNAction |
hide()
Creates an action that hides a node
|
SCNAction |
init() |
SCNAction |
initWithCoder(NSCoder coder)
NS_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) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static SCNAction |
javaScriptActionWithScriptDuration(java.lang.String script,
double seconds)
Creates an action that runs a javascript script over a duration.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static SCNAction |
moveByDuration(SCNVector3 delta,
double duration) |
static SCNAction |
moveByXYZDuration(double deltaX,
double deltaY,
double deltaZ,
double duration)
Creates an action that moves a node relative to its current position.
|
static SCNAction |
moveToDuration(SCNVector3 location,
double duration)
Creates an action that moves a node to a new position.
|
static SCNAction |
new_objc() |
static SCNAction |
playAudioSourceWaitForCompletion(SCNAudioSource source,
boolean wait_)
Creates an action that plays a sound
|
static SCNAction |
removeFromParentNode()
Creates an action that removes the node from its parent node.
|
static SCNAction |
repeatActionCount(SCNAction action,
long count)
Creates an action that repeats another action a specified number of times.
|
static SCNAction |
repeatActionForever(SCNAction action)
Creates an action that repeats another action forever.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
SCNAction |
reversedAction()
reversedAction
|
static SCNAction |
rotateByAngleAroundAxisDuration(double angle,
SCNVector3 axis,
double duration)
Creates an action that rotates the node arond an axis by the specified angle in radian
|
static SCNAction |
rotateByXYZDuration(double xAngle,
double yAngle,
double zAngle,
double duration)
Creates an action that rotates the node by a relative value in radian.
|
static SCNAction |
rotateToAxisAngleDuration(SCNVector4 axisAngle,
double duration) |
static SCNAction |
rotateToXYZDuration(double xAngle,
double yAngle,
double zAngle,
double duration)
Creates an action that rotates the node to an absolute angle in radian.
|
static SCNAction |
rotateToXYZDurationShortestUnitArc(double xAngle,
double yAngle,
double zAngle,
double duration,
boolean shortestUnitArc) |
static SCNAction |
runBlock(SCNAction.Block_runBlock block)
Creates an action that executes a block.
|
static SCNAction |
runBlockQueue(SCNAction.Block_runBlockQueue block,
NSObject queue) |
static SCNAction |
scaleByDuration(double scale,
double sec)
Creates an action that changes the x, y and z scale values of a node by a relative value.
|
static SCNAction |
scaleToDuration(double scale,
double sec)
Creates an action that changes the x, y and z scale values of a node.
|
static SCNAction |
sequence(NSArray<? extends SCNAction> actions)
Creates an action that runs a collection of actions sequentially.
|
void |
setDuration(double value)
[@property] duration
|
void |
setSpeed(double value)
[@property] speed
|
void |
setTimingFunction(SCNAction.Block_setTimingFunction value)
When set, prodives a custom timing via a block.
|
void |
setTimingMode(long value)
[@property] timingMode
|
static void |
setVersion_static(long aVersion) |
double |
speed()
[@property] speed
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
SCNAction.Block_timingFunction_ret |
timingFunction()
When set, prodives a custom timing via a block.
|
long |
timingMode()
[@property] timingMode
|
static SCNAction |
unhide()
Creates an action that unhides a node
|
static long |
version_static() |
static SCNAction |
waitForDuration(double sec)
Creates an action that idles for a specified period of time.
|
static SCNAction |
waitForDurationWithRange(double sec,
double durationRange)
Creates an action that idles for a randomized period of time.
|
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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static SCNAction alloc()
public static SCNAction 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 SCNAction customActionWithDurationActionBlock(double seconds, SCNAction.Block_customActionWithDurationActionBlock block)
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static SCNAction fadeInWithDuration(double sec)
public static SCNAction fadeOpacityByDuration(double factor, double sec)
public static SCNAction fadeOpacityToDuration(double opacity, double sec)
public static SCNAction fadeOutWithDuration(double sec)
public static SCNAction group(NSArray<? extends SCNAction> actions)
public static long hash_static()
public static SCNAction hide()
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 SCNAction javaScriptActionWithScriptDuration(java.lang.String script, double seconds)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static SCNAction moveByDuration(SCNVector3 delta, double duration)
public static SCNAction moveByXYZDuration(double deltaX, double deltaY, double deltaZ, double duration)
public static SCNAction moveToDuration(SCNVector3 location, double duration)
public static SCNAction new_objc()
public static SCNAction playAudioSourceWaitForCompletion(SCNAudioSource source, boolean wait_)
source - The audio source to play (see SCNAudioSource.h)wait - If YES, then the duration of this action is the same
as the length of the audio playback. If NO, the action is considered
to have completed immediately.public static SCNAction removeFromParentNode()
public static SCNAction repeatActionCount(SCNAction action, long count)
public static SCNAction repeatActionForever(SCNAction action)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static SCNAction rotateByAngleAroundAxisDuration(double angle, SCNVector3 axis, double duration)
public static SCNAction rotateByXYZDuration(double xAngle, double yAngle, double zAngle, double duration)
public static SCNAction rotateToAxisAngleDuration(SCNVector4 axisAngle, double duration)
public static SCNAction rotateToXYZDuration(double xAngle, double yAngle, double zAngle, double duration)
public static SCNAction rotateToXYZDurationShortestUnitArc(double xAngle, double yAngle, double zAngle, double duration, boolean shortestUnitArc)
public static SCNAction runBlock(SCNAction.Block_runBlock block)
public static SCNAction runBlockQueue(SCNAction.Block_runBlockQueue block, NSObject queue)
public static SCNAction scaleByDuration(double scale, double sec)
public static SCNAction scaleToDuration(double scale, double sec)
public static SCNAction sequence(NSArray<? extends SCNAction> actions)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static SCNAction unhide()
public static long version_static()
public static SCNAction waitForDuration(double sec)
public static SCNAction waitForDurationWithRange(double sec, double durationRange)
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic double duration()
This is the expected duration of an action’s animation. The actual time an action takes to complete is modified by the speed property of the action.
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic SCNAction initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic SCNAction reversedAction()
Creates an action that reverses the behavior of another action.
public void setDuration(double value)
This is the expected duration of an action’s animation. The actual time an action takes to complete is modified by the speed property of the action.
public void setSpeed(double value)
A speed factor that modifies how fast an action runs. Defaults to 1.
public void setTimingFunction(SCNAction.Block_setTimingFunction value)
SCNActionTimingFunctionpublic void setTimingMode(long value)
The timing mode used to execute an action.
public double speed()
A speed factor that modifies how fast an action runs. Defaults to 1.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic SCNAction.Block_timingFunction_ret timingFunction()
SCNActionTimingFunctionpublic long timingMode()
The timing mode used to execute an action.