Package org.robovm.apple.spritekit
Class SKFieldNode
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIResponder
-
- org.robovm.apple.spritekit.SKNode
-
- org.robovm.apple.spritekit.SKFieldNode
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,UIAccessibility
,UIFocusEnvironment
,UIFocusItem
,org.robovm.objc.ObjCProtocol
public class SKFieldNode extends SKNode
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SKFieldNode.SKFieldNodePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.spritekit.SKNode
SKNode.SKNodePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
Nested classes/interfaces inherited from class org.robovm.objc.ObjCObject
org.robovm.objc.ObjCObject.ObjCObjectPtr, org.robovm.objc.ObjCObject.Super
-
Nested classes/interfaces inherited from interface org.robovm.apple.uikit.UIAccessibility
UIAccessibility.Notifications
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description SKFieldNode()
SKFieldNode(NSCoder decoder)
protected
SKFieldNode(NSObject.Handle h, long handle)
protected
SKFieldNode(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.spritekit.SKNode
addChild, calculateAccumulatedFrame, canBecomeFocused, containsPoint, convertPointFromNode, convertPointToNode, create, create, didHintFocusMovement, didUpdateFocus, encode, enumerateChildNodes, equalsTo, findNodesByName, getAction, getAlpha, getAttributeValues, getChild, getChildren, getConstraints, getFocusBehavior, getFocusItemContainer, getFrame, getName, getNodeAtPoint, getNodesAtPoint, getParent, getParentFocusEnvironment, getPhysicsBody, getPosition, getPreferredFocusedView, getPreferredFocusEnvironments, getReachConstraints, getScene, getSpeed, getUserData, getXScale, getYScale, getZPosition, getZRotation, hasActions, init, insertChild, intersectsNode, isHidden, isInParentHierarchy, isPaused, isUserInteractionEnabled, moveToParent, removeAction, removeAllActions, removeAllChildren, removeChildren, removeFromParent, runAction, runAction, runAction, setAlpha, setAttributeValues, setConstraints, setFocusBehavior, setHidden, setName, setNeedsFocusUpdate, setPaused, setPhysicsBody, setPosition, setReachConstraints, setScale, setSpeed, setUserData, setUserInteractionEnabled, setValue, setXScale, setYScale, setZPosition, setZRotation, shouldUpdateFocus, supportsSecureCoding, updateFocusIfNeeded, valueForAttributeNamed
-
Methods inherited from class org.robovm.apple.uikit.UIResponder
areAccessibilityElementsHidden, becomeFirstResponder, canBecomeFirstResponder, canPerformAction, canResignFirstResponder, clearTextInputContextIdentifier, getAccessibilityActivationPoint, getAccessibilityAttributedHint, getAccessibilityAttributedLabel, getAccessibilityAttributedValue, getAccessibilityFrame, getAccessibilityHint, getAccessibilityLabel, getAccessibilityLanguage, getAccessibilityNavigationStyle, getAccessibilityPath, getAccessibilityTraits, getAccessibilityValue, getActionTarget, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, isAccessibilityElement, isAccessibilityViewModal, isFirstResponder, motionBegan, motionCancelled, motionEnded, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedValue, setAccessibilityElement, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityTraits, setAccessibilityValue, setAccessibilityViewModal, setShouldGroupAccessibilityChildren, setUserActivity, shouldGroupAccessibilityChildren, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateUserActivityState
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
SKFieldNode
public SKFieldNode()
-
SKFieldNode
protected SKFieldNode(NSObject.Handle h, long handle)
-
SKFieldNode
protected SKFieldNode(NSObject.SkipInit skipInit)
-
SKFieldNode
public SKFieldNode(NSCoder decoder)
-
-
Method Detail
-
getRegion
public SKRegion getRegion()
-
setRegion
public void setRegion(SKRegion v)
-
getStrength
public float getStrength()
-
setStrength
public void setStrength(float v)
-
getFalloff
public float getFalloff()
-
setFalloff
public void setFalloff(float v)
-
getMinimumRadius
public float getMinimumRadius()
-
setMinimumRadius
public void setMinimumRadius(float v)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean v)
-
isExclusive
public boolean isExclusive()
-
setExclusive
public void setExclusive(boolean v)
-
getCategoryBitMask
public int getCategoryBitMask()
-
setCategoryBitMask
public void setCategoryBitMask(int v)
-
getDirection
public VectorFloat3 getDirection()
-
setDirection
public void setDirection(VectorFloat3 v)
-
getSmoothness
public float getSmoothness()
-
setSmoothness
public void setSmoothness(float v)
-
getAnimationSpeed
public float getAnimationSpeed()
-
setAnimationSpeed
public void setAnimationSpeed(float v)
-
getTexture
public SKTexture getTexture()
-
setTexture
public void setTexture(SKTexture v)
-
createDragField
public static SKFieldNode createDragField()
-
createVortexField
public static SKFieldNode createVortexField()
-
createRadialGravityField
public static SKFieldNode createRadialGravityField()
-
createLinearGravityField
public static SKFieldNode createLinearGravityField(VectorFloat3 direction)
-
createVelocityField
public static SKFieldNode createVelocityField(VectorFloat3 direction)
-
createVelocityField
public static SKFieldNode createVelocityField(SKTexture velocityTexture)
-
createNoiseField
public static SKFieldNode createNoiseField(double smoothness, double speed)
-
createTurbulenceField
public static SKFieldNode createTurbulenceField(double smoothness, double speed)
-
createSpringField
public static SKFieldNode createSpringField()
-
createElectricField
public static SKFieldNode createElectricField()
-
createMagneticField
public static SKFieldNode createMagneticField()
-
createCustomField
public static SKFieldNode createCustomField(org.robovm.objc.block.Block5<SKVector3,SKVector3,java.lang.Float,java.lang.Float,java.lang.Double,SKVector3> block)
-
-