Package org.robovm.apple.scenekit
Class SCNAction
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.scenekit.SCNAction
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class SCNAction extends NSObject implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSCNAction.SCNActionPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description SCNAction()SCNAction(NSCoder coder)protectedSCNAction(NSObject.Handle h, long handle)protectedSCNAction(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description static SCNActioncustom(double seconds, VoidBlock2<SCNNode,Double> block)voidencode(NSCoder coder)static SCNActionfadeIn(double sec)static SCNActionfadeOpacityBy(double factor, double sec)static SCNActionfadeOpacityTo(double opacity, double sec)static SCNActionfadeOut(double sec)doublegetDuration()SCNActiongetReversedAction()doublegetSpeed()Block1<Float,Float>getTimingFunction()SCNActionTimingModegetTimingMode()static SCNActiongroup(NSArray<SCNAction> actions)static SCNActionhide()protected longinit(NSCoder coder)static SCNActionjavaScript(String script, double seconds)static SCNActionmoveBy(double deltaX, double deltaY, double deltaZ, double duration)static SCNActionmoveBy(SCNVector3 delta, double duration)static SCNActionmoveTo(SCNVector3 location, double duration)static SCNActionplayAudioSource(SCNAudioSource source, boolean wait)static SCNActionremoveFromParentNode()static SCNActionrepeat(SCNAction action, long count)static SCNActionrepeatForever(SCNAction action)static SCNActionrotateBy(double xAngle, double yAngle, double zAngle, double duration)static SCNActionrotateBy(double angle, SCNVector3 axis, double duration)static SCNActionrotateTo(double xAngle, double yAngle, double zAngle, double duration)static SCNActionrotateTo(double xAngle, double yAngle, double zAngle, double duration, boolean shortestUnitArc)static SCNActionrotateTo(SCNVector4 axisAngle, double duration)static SCNActionrun(VoidBlock1<SCNNode> block)static SCNActionrun(VoidBlock1<SCNNode> block, DispatchQueue queue)static SCNActionscaleBy(double scale, double sec)static SCNActionscaleTo(double scale, double sec)static SCNActionsequence(NSArray<SCNAction> actions)voidsetDuration(double v)voidsetSpeed(double v)voidsetTimingFunction(Block1<Float,Float> v)voidsetTimingMode(SCNActionTimingMode v)static booleansupportsSecureCoding()static SCNActionunhide()static SCNActionwait(double sec)static SCNActionwait(double sec, double durationRange)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
SCNAction
public SCNAction() -
SCNAction
-
SCNAction
-
SCNAction
-
-
Method Details
-
getDuration
public double getDuration() -
setDuration
public void setDuration(double v) -
getTimingMode
-
setTimingMode
-
getTimingFunction
-
setTimingFunction
-
getSpeed
public double getSpeed() -
setSpeed
public void setSpeed(double v) -
supportsSecureCoding
public static boolean supportsSecureCoding() -
getReversedAction
-
moveBy
-
moveBy
-
moveTo
-
rotateBy
-
rotateTo
-
rotateTo
public static SCNAction rotateTo(double xAngle, double yAngle, double zAngle, double duration, boolean shortestUnitArc) -
rotateBy
-
rotateTo
-
scaleBy
-
scaleTo
-
sequence
-
group
-
repeat
-
repeatForever
-
fadeIn
-
fadeOut
-
fadeOpacityBy
-
fadeOpacityTo
-
hide
- Since:
- Available in iOS 9.0 and later.
-
unhide
- Since:
- Available in iOS 9.0 and later.
-
wait
-
wait
-
removeFromParentNode
-
run
-
run
-
javaScript
-
custom
-
playAudioSource
- Since:
- Available in iOS 9.0 and later.
-
encode
-
init
-