Package org.robovm.apple.spritekit
Class SKSpriteNode
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.SKSpriteNode
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,SKWarpable,UIActivityItemsConfigurationProviding,UIFocusEnvironment,UIFocusItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIUserActivityRestoring,ObjCProtocol
public class SKSpriteNode extends SKNode implements SKWarpable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSKSpriteNode.SKSpriteNodePtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtrNested 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
-
Constructor Summary
Constructors Modifier Constructor Description SKSpriteNode()SKSpriteNode(String name)SKSpriteNode(String name, boolean generateNormalMap)SKSpriteNode(NSCoder aDecoder)protectedSKSpriteNode(NSObject.Handle h, long handle)protectedSKSpriteNode(NSObject.SkipInit skipInit)SKSpriteNode(SKTexture texture)SKSpriteNode(SKTexture texture, CGSize size)SKSpriteNode(SKTexture texture, SKTexture normalMap)SKSpriteNode(SKTexture texture, UIColor color, CGSize size)SKSpriteNode(UIColor color, CGSize size) -
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, getChild, getChildren, getConstraints, getFocusBehavior, getFocusEffect, getFocusGroupIdentifier, getFocusGroupPriority, getFocusItemContainer, getFrame, getName, getNodeAtPoint, getNodesAtPoint, getParent, getParentFocusEnvironment, getPhysicsBody, getPosition, getPreferredFocusedView, getPreferredFocusEnvironments, getReachConstraints, getScene, getSpeed, getUserData, getXScale, getYScale, getZPosition, getZRotation, hasActions, insertChild, intersectsNode, isHidden, isInParentHierarchy, isPaused, isTransparentFocusItem, isUserInteractionEnabled, moveToParent, removeAction, removeAllActions, removeAllChildren, removeChildren, removeFromParent, runAction, runAction, runAction, setAlpha, setConstraints, setFocusBehavior, setHidden, setName, setNeedsFocusUpdate, setPaused, setPhysicsBody, setPosition, setReachConstraints, setScale, setSpeed, setUserData, setUserInteractionEnabled, setValue, setXScale, setYScale, setZPosition, setZRotation, shouldUpdateFocus, updateFocusIfNeeded, valueForAttributeNamedMethods inherited from class org.robovm.apple.uikit.UIResponder
becomeFirstResponder, buildMenu, canBecomeFirstResponder, canPasteItemProviders, canPerformAction, canResignFirstResponder, captureTextFromCamera, clearTextInputContextIdentifier, copy, cut, decreaseSize, delete, getActionTarget, getActivityItemsConfiguration, getEditingInteractionConfiguration, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getPasteConfiguration, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, increaseSize, isFirstResponder, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBegan, motionCancelled, motionEnded, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteItemProviders, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, print, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, toggleBoldface, toggleItalics, toggleUnderline, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateTextAttributes, updateUserActivityState, validateCommandMethods 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, updateStrongRef
-
Constructor Details
-
Method Details
-
getTexture
-
setTexture
-
getNormalTexture
-
setNormalTexture
-
getLightingBitMask
public int getLightingBitMask() -
setLightingBitMask
public void setLightingBitMask(int v) -
getShadowCastBitMask
public int getShadowCastBitMask() -
setShadowCastBitMask
public void setShadowCastBitMask(int v) -
getShadowedBitMask
public int getShadowedBitMask() -
setShadowedBitMask
public void setShadowedBitMask(int v) -
getCenterRect
-
setCenterRect
-
getColorBlendFactor
public double getColorBlendFactor() -
setColorBlendFactor
public void setColorBlendFactor(double v) -
getColor
-
setColor
-
getBlendMode
-
setBlendMode
-
getAnchorPoint
-
setAnchorPoint
-
getSize
-
setSize
-
getShader
-
setShader
-
getAttributeValues
- Overrides:
getAttributeValuesin classSKNode- Since:
- Available in iOS 10.0 and later.
-
setAttributeValues
- Overrides:
setAttributeValuesin classSKNode- Since:
- Available in iOS 10.0 and later.
-
getWarpGeometry
- Specified by:
getWarpGeometryin interfaceSKWarpable
-
setWarpGeometry
- Specified by:
setWarpGeometryin interfaceSKWarpable
-
getSubdivisionLevels
public long getSubdivisionLevels()- Specified by:
getSubdivisionLevelsin interfaceSKWarpable
-
setSubdivisionLevels
public void setSubdivisionLevels(long v)- Specified by:
setSubdivisionLevelsin interfaceSKWarpable
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
-
init
-
init
-
init
-
init
-
scaleToSize
- Since:
- Available in iOS 10.0 and later.
-
valueForAttribute
- Since:
- Available in iOS 10.0 and later.
-
setValueForAttribute
- Since:
- Available in iOS 10.0 and later.
-
create
-
create
-
create
-