Package apple.spritekit
Class SKEmitterNode
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.spritekit.SKNode
-
- apple.spritekit.SKEmitterNode
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject,UIActivityItemsConfigurationProviding,UIFocusEnvironment,UIFocusItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIUserActivityRestoring
public class SKEmitterNode extends SKNode
An emitter of particle sprites.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.spritekit.SKNode
SKNode.Block_enumerateChildNodesWithNameUsingBlock, SKNode.Block_runActionCompletion
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSKEmitterNode(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()voidadvanceSimulationTime(double sec)The particle simulation is stepped automatically each frame when present in the scene.static SKEmitterNodealloc()static SKEmitterNodeallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@NotNull NSDictionary<java.lang.String,? extends SKAttributeValue>attributeValues()Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()doubleemissionAngle()The angle at which to emit each new particle, in radians.doubleemissionAngleRange()The random variance about the angle at which to emit each new particle, in radians.intfieldBitMask()Defines what logical 'categories' of fields this particles emitted respond to.static longhash_static()SKEmitterNodeinit()SKEmitterNodeinitWithCoder(@NotNull NSCoder aDecoder)NS_DESIGNATED_INITIALIZERstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static SKEmitterNodenew_objc()static SKEmitterNodenode()static SKEmitterNodenodeWithFileNamed(@NotNull java.lang.String filename)static SKEmitterNodenodeWithFileNamedSecurelyWithClassesAndError(@NotNull java.lang.String filename, @NotNull NSSet<? extends org.moe.natj.objc.Class> classes, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)longnumParticlesToEmit()The number of particles that will be emitted.static @NotNull NSArray<? extends GKPolygonObstacle>obstaclesFromNodeBounds(@NotNull NSArray<? extends SKNode> nodes)static @NotNull NSArray<? extends GKPolygonObstacle>obstaclesFromNodePhysicsBodies(@NotNull NSArray<? extends SKNode> nodes)static @NotNull NSArray<? extends GKPolygonObstacle>obstaclesFromSpriteTexturesAccuracy(@NotNull NSArray<? extends SKNode> sprites, float accuracy)@Nullable SKActionparticleAction()Specifies an action executed by new particles.doubleparticleAlpha()The starting alpha for each particle.doubleparticleAlphaRange()The random variance about the starting alpha for each particle.@Nullable SKKeyframeSequenceparticleAlphaSequence()doubleparticleAlphaSpeed()The rate at which to modify the alpha for each particle.doubleparticleBirthRate()The rate at which new particles are generated, in particles per second.longparticleBlendMode()The blend mode for each particle.@NotNull UIColorparticleColor()The starting color for each particle.doubleparticleColorAlphaRange()doubleparticleColorAlphaSpeed()doubleparticleColorBlendFactor()The starting color blend for each particle.doubleparticleColorBlendFactorRange()The random variance about the starting color blend for each particle.@Nullable SKKeyframeSequenceparticleColorBlendFactorSequence()doubleparticleColorBlendFactorSpeed()The rate at which to modify the color blend for each particle.doubleparticleColorBlueRange()doubleparticleColorBlueSpeed()doubleparticleColorGreenRange()doubleparticleColorGreenSpeed()doubleparticleColorRedRange()The random variance about each color component for each particle.doubleparticleColorRedSpeed()The rate at which to modify each color component for each particle (per second).@Nullable SKKeyframeSequenceparticleColorSequence()doubleparticleLifetime()The lifetime of each particle, in seconds.doubleparticleLifetimeRange()The random variance about the lifetime of each particle, in seconds.CGPointparticlePosition()The starting position for each particle in the emitter's coordinate space.CGVectorparticlePositionRange()The random variance about the starting position for each particle in the emitter's coordinate space.longparticleRenderOrder()The order in which particles will be rendered.doubleparticleRotation()The starting z-rotation for each particle.doubleparticleRotationRange()The random variance about the starting z-rotation for each particle.doubleparticleRotationSpeed()The rate at which to modify the z-rotation for each particle.doubleparticleScale()The starting scale for each particle.doubleparticleScaleRange()The random variance about the starting scale for each particle.@Nullable SKKeyframeSequenceparticleScaleSequence()doubleparticleScaleSpeed()The rate at which to modify the scale for each particle.CGSizeparticleSize()The starting size for each particle.doubleparticleSpeed()The starting speed for each particle along its emission vector.doubleparticleSpeedRange()The random variance about the starting speed for each particle along its emission vector.@Nullable SKTextureparticleTexture()The texture to be used for the particles.doubleparticleZPosition()The starting z-position for each particle.doubleparticleZPositionRange()Deprecated.doubleparticleZPositionSpeed()Deprecated.voidresetSimulation()Removes all particles and restarts the emitterstatic booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAttributeValues(@NotNull NSDictionary<java.lang.String,? extends SKAttributeValue> value)Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders.voidsetEmissionAngle(double value)The angle at which to emit each new particle, in radians.voidsetEmissionAngleRange(double value)The random variance about the angle at which to emit each new particle, in radians.voidsetFieldBitMask(int value)Defines what logical 'categories' of fields this particles emitted respond to.voidsetNumParticlesToEmit(long value)The number of particles that will be emitted.voidsetParticleAction(@Nullable SKAction value)Specifies an action executed by new particles.voidsetParticleAlpha(double value)The starting alpha for each particle.voidsetParticleAlphaRange(double value)The random variance about the starting alpha for each particle.voidsetParticleAlphaSequence(@Nullable SKKeyframeSequence value)voidsetParticleAlphaSpeed(double value)The rate at which to modify the alpha for each particle.voidsetParticleBirthRate(double value)The rate at which new particles are generated, in particles per second.voidsetParticleBlendMode(long value)The blend mode for each particle.voidsetParticleColor(@NotNull UIColor value)The starting color for each particle.voidsetParticleColorAlphaRange(double value)voidsetParticleColorAlphaSpeed(double value)voidsetParticleColorBlendFactor(double value)The starting color blend for each particle.voidsetParticleColorBlendFactorRange(double value)The random variance about the starting color blend for each particle.voidsetParticleColorBlendFactorSequence(@Nullable SKKeyframeSequence value)voidsetParticleColorBlendFactorSpeed(double value)The rate at which to modify the color blend for each particle.voidsetParticleColorBlueRange(double value)voidsetParticleColorBlueSpeed(double value)voidsetParticleColorGreenRange(double value)voidsetParticleColorGreenSpeed(double value)voidsetParticleColorRedRange(double value)The random variance about each color component for each particle.voidsetParticleColorRedSpeed(double value)The rate at which to modify each color component for each particle (per second).voidsetParticleColorSequence(@Nullable SKKeyframeSequence value)voidsetParticleLifetime(double value)The lifetime of each particle, in seconds.voidsetParticleLifetimeRange(double value)The random variance about the lifetime of each particle, in seconds.voidsetParticlePosition(CGPoint value)The starting position for each particle in the emitter's coordinate space.voidsetParticlePositionRange(CGVector value)The random variance about the starting position for each particle in the emitter's coordinate space.voidsetParticleRenderOrder(long value)The order in which particles will be rendered.voidsetParticleRotation(double value)The starting z-rotation for each particle.voidsetParticleRotationRange(double value)The random variance about the starting z-rotation for each particle.voidsetParticleRotationSpeed(double value)The rate at which to modify the z-rotation for each particle.voidsetParticleScale(double value)The starting scale for each particle.voidsetParticleScaleRange(double value)The random variance about the starting scale for each particle.voidsetParticleScaleSequence(@Nullable SKKeyframeSequence value)voidsetParticleScaleSpeed(double value)The rate at which to modify the scale for each particle.voidsetParticleSize(CGSize value)The starting size for each particle.voidsetParticleSpeed(double value)The starting speed for each particle along its emission vector.voidsetParticleSpeedRange(double value)The random variance about the starting speed for each particle along its emission vector.voidsetParticleTexture(@Nullable SKTexture value)The texture to be used for the particles.voidsetParticleZPosition(double value)The starting z-position for each particle.voidsetParticleZPositionRange(double value)Deprecated.voidsetParticleZPositionSpeed(double value)Deprecated.voidsetShader(@Nullable SKShader value)voidsetTargetNode(@Nullable SKNode value)Normally the particles are rendered as if they were a child of the SKEmitterNode, they can also be rendered as if they were a child of any other node in the scene by setting the targetNode property.voidsetTargetNode_unsafe(@Nullable SKNode value)Normally the particles are rendered as if they were a child of the SKEmitterNode, they can also be rendered as if they were a child of any other node in the scene by setting the targetNode property.voidsetValueForAttributeNamed(@NotNull SKAttributeValue value, @NotNull java.lang.String key)API-Since: 10.0static voidsetVersion_static(long aVersion)voidsetXAcceleration(double value)The acceleration to apply to each particles velocity.voidsetYAcceleration(double value)@Nullable SKShadershader()static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()@Nullable SKNodetargetNode()Normally the particles are rendered as if they were a child of the SKEmitterNode, they can also be rendered as if they were a child of any other node in the scene by setting the targetNode property.static booleanuseStoredAccessor()Deprecated.@Nullable SKAttributeValuevalueForAttributeNamed(@NotNull java.lang.String key)API-Since: 10.0static longversion_static()doublexAcceleration()The acceleration to apply to each particles velocity.doubleyAcceleration()-
Methods inherited from class apple.spritekit.SKNode
actionForKey, addChild, alpha, 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, setConstraints, setEntity, setEntity_unsafe, setFocusBehavior, setHidden, setName, setNeedsFocusUpdate, setPaused, setPhysicsBody, setPosition, setReachConstraints, setScale, setSpeed, setUserData, setUserInteractionEnabled, setXScale, setYScale, setZPosition, setZRotation, shouldUpdateFocusInContext, speed, updateFocusIfNeeded, userData, xScale, yScale, zPosition, zRotation
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, duplicate, editingInteractionConfiguration, export, find, findAndReplace, findNext, findPrevious, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, move, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, rename, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, useSelectionForFind, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static SKEmitterNode alloc()
-
allocWithZone
public static SKEmitterNode allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static SKEmitterNode new_objc()
-
node
public static SKEmitterNode node()
-
nodeWithFileNamed
public static SKEmitterNode nodeWithFileNamed(@NotNull @NotNull java.lang.String filename)
-
obstaclesFromNodeBounds
@NotNull public static @NotNull NSArray<? extends GKPolygonObstacle> obstaclesFromNodeBounds(@NotNull @NotNull NSArray<? extends SKNode> nodes)
-
obstaclesFromNodePhysicsBodies
@NotNull public static @NotNull NSArray<? extends GKPolygonObstacle> obstaclesFromNodePhysicsBodies(@NotNull @NotNull NSArray<? extends SKNode> nodes)
-
obstaclesFromSpriteTexturesAccuracy
@NotNull public static @NotNull NSArray<? extends GKPolygonObstacle> obstaclesFromSpriteTexturesAccuracy(@NotNull @NotNull NSArray<? extends SKNode> sprites, float accuracy)
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
advanceSimulationTime
public void advanceSimulationTime(double sec)
The particle simulation is stepped automatically each frame when present in the scene. This allows the user to manually advance the simulation by a fixed amount of time. Useful for pre-populating particles before adding them to the scene.
-
attributeValues
@NotNull public @NotNull NSDictionary<java.lang.String,? extends SKAttributeValue> attributeValues()
Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders. API-Since: 10.0- Overrides:
attributeValuesin classSKNode
-
emissionAngle
public double emissionAngle()
The angle at which to emit each new particle, in radians. Defaults to 0.0.
-
emissionAngleRange
public double emissionAngleRange()
The random variance about the angle at which to emit each new particle, in radians. Defaults to 0.0.
-
fieldBitMask
public int fieldBitMask()
Defines what logical 'categories' of fields this particles emitted respond to. Defaults to all bits set (all categories). Can be forced off via affectedByGravity.
-
init
public SKEmitterNode init()
-
initWithCoder
public SKEmitterNode initWithCoder(@NotNull @NotNull NSCoder aDecoder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classSKNode
-
numParticlesToEmit
public long numParticlesToEmit()
The number of particles that will be emitted. If set to 0, there is no limit. Defaults to 0.
-
particleAction
@Nullable public @Nullable SKAction particleAction()
Specifies an action executed by new particles.
-
particleAlpha
public double particleAlpha()
The starting alpha for each particle. Defaults to 1.0.
-
particleAlphaRange
public double particleAlphaRange()
The random variance about the starting alpha for each particle. Defaults to 1.0.
-
particleAlphaSequence
@Nullable public @Nullable SKKeyframeSequence particleAlphaSequence()
-
particleAlphaSpeed
public double particleAlphaSpeed()
The rate at which to modify the alpha for each particle. Defaults to 1.0.
-
particleBirthRate
public double particleBirthRate()
The rate at which new particles are generated, in particles per second. Defaults to 0.0.
-
particleBlendMode
public long particleBlendMode()
The blend mode for each particle. Defaults to SKBlendModeAlpha.
-
particleColor
@NotNull public @NotNull UIColor particleColor()
The starting color for each particle. Defaults to clear.
-
particleColorAlphaRange
public double particleColorAlphaRange()
-
particleColorAlphaSpeed
public double particleColorAlphaSpeed()
-
particleColorBlendFactor
public double particleColorBlendFactor()
The starting color blend for each particle. Behaves the same as SKSpriteNode. Defaults to 0.0.
-
particleColorBlendFactorRange
public double particleColorBlendFactorRange()
The random variance about the starting color blend for each particle. Defaults to 0.0.
-
particleColorBlendFactorSequence
@Nullable public @Nullable SKKeyframeSequence particleColorBlendFactorSequence()
-
particleColorBlendFactorSpeed
public double particleColorBlendFactorSpeed()
The rate at which to modify the color blend for each particle. Defaults to 0.0.
-
particleColorBlueRange
public double particleColorBlueRange()
-
particleColorBlueSpeed
public double particleColorBlueSpeed()
-
particleColorGreenRange
public double particleColorGreenRange()
-
particleColorGreenSpeed
public double particleColorGreenSpeed()
-
particleColorRedRange
public double particleColorRedRange()
The random variance about each color component for each particle. Defaults to 0.0.
-
particleColorRedSpeed
public double particleColorRedSpeed()
The rate at which to modify each color component for each particle (per second).
-
particleColorSequence
@Nullable public @Nullable SKKeyframeSequence particleColorSequence()
-
particleLifetime
public double particleLifetime()
The lifetime of each particle, in seconds. Defaults to 0.0.
-
particleLifetimeRange
public double particleLifetimeRange()
The random variance about the lifetime of each particle, in seconds. Defaults to 0.0.
-
particlePosition
public CGPoint particlePosition()
The starting position for each particle in the emitter's coordinate space. Defaults to (0.0, 0,0).
-
particlePositionRange
public CGVector particlePositionRange()
The random variance about the starting position for each particle in the emitter's coordinate space. Defaults to (0.0, 0,0).
-
particleRenderOrder
public long particleRenderOrder()
The order in which particles will be rendered. Defaults to SKParticleRenderOrderOldestLast. API-Since: 9.0
-
particleRotation
public double particleRotation()
The starting z-rotation for each particle. Defaults to 0.0.
-
particleRotationRange
public double particleRotationRange()
The random variance about the starting z-rotation for each particle. Defaults to 0.0.
-
particleRotationSpeed
public double particleRotationSpeed()
The rate at which to modify the z-rotation for each particle. Defaults to 0.0.
-
particleScale
public double particleScale()
The starting scale for each particle. Defaults to 1.0.
-
particleScaleRange
public double particleScaleRange()
The random variance about the starting scale for each particle. Defaults to 0.0.
-
particleScaleSequence
@Nullable public @Nullable SKKeyframeSequence particleScaleSequence()
-
particleScaleSpeed
public double particleScaleSpeed()
The rate at which to modify the scale for each particle. Defaults to 0.0.
-
particleSize
public CGSize particleSize()
The starting size for each particle. If set to CGSizeZero (the default) the particles will start at the size of the texture assigned to particleTexture. Note that particleScale and particleScaleRange will also have an effect on the effective size of each new particle.
-
particleSpeed
public double particleSpeed()
The starting speed for each particle along its emission vector. Defaults to 0.0.
-
particleSpeedRange
public double particleSpeedRange()
The random variance about the starting speed for each particle along its emission vector. Defaults to 0.0.
-
particleTexture
@Nullable public @Nullable SKTexture particleTexture()
The texture to be used for the particles.
-
particleZPosition
public double particleZPosition()
The starting z-position for each particle. Defaults to 0.0.
-
particleZPositionRange
@Deprecated public double particleZPositionRange()
Deprecated.The random variance about the starting z-position for each particle. Defaults to 0.0. API-Since: 7.0 Deprecated-Since: 8.0
-
particleZPositionSpeed
@Deprecated public double particleZPositionSpeed()
Deprecated.The rate at which to modify the z-position for each particle. Defaults to 0.0. API-Since: 7.0 Deprecated-Since: 8.0
-
resetSimulation
public void resetSimulation()
Removes all particles and restarts the emitter
-
setAttributeValues
public void setAttributeValues(@NotNull @NotNull NSDictionary<java.lang.String,? extends SKAttributeValue> value)Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders. API-Since: 10.0- Overrides:
setAttributeValuesin classSKNode
-
setEmissionAngle
public void setEmissionAngle(double value)
The angle at which to emit each new particle, in radians. Defaults to 0.0.
-
setEmissionAngleRange
public void setEmissionAngleRange(double value)
The random variance about the angle at which to emit each new particle, in radians. Defaults to 0.0.
-
setFieldBitMask
public void setFieldBitMask(int value)
Defines what logical 'categories' of fields this particles emitted respond to. Defaults to all bits set (all categories). Can be forced off via affectedByGravity.
-
setNumParticlesToEmit
public void setNumParticlesToEmit(long value)
The number of particles that will be emitted. If set to 0, there is no limit. Defaults to 0.
-
setParticleAction
public void setParticleAction(@Nullable @Nullable SKAction value)Specifies an action executed by new particles.
-
setParticleAlpha
public void setParticleAlpha(double value)
The starting alpha for each particle. Defaults to 1.0.
-
setParticleAlphaRange
public void setParticleAlphaRange(double value)
The random variance about the starting alpha for each particle. Defaults to 1.0.
-
setParticleAlphaSequence
public void setParticleAlphaSequence(@Nullable @Nullable SKKeyframeSequence value)
-
setParticleAlphaSpeed
public void setParticleAlphaSpeed(double value)
The rate at which to modify the alpha for each particle. Defaults to 1.0.
-
setParticleBirthRate
public void setParticleBirthRate(double value)
The rate at which new particles are generated, in particles per second. Defaults to 0.0.
-
setParticleBlendMode
public void setParticleBlendMode(long value)
The blend mode for each particle. Defaults to SKBlendModeAlpha.
-
setParticleColor
public void setParticleColor(@NotNull @NotNull UIColor value)The starting color for each particle. Defaults to clear.
-
setParticleColorAlphaRange
public void setParticleColorAlphaRange(double value)
-
setParticleColorAlphaSpeed
public void setParticleColorAlphaSpeed(double value)
-
setParticleColorBlendFactor
public void setParticleColorBlendFactor(double value)
The starting color blend for each particle. Behaves the same as SKSpriteNode. Defaults to 0.0.
-
setParticleColorBlendFactorRange
public void setParticleColorBlendFactorRange(double value)
The random variance about the starting color blend for each particle. Defaults to 0.0.
-
setParticleColorBlendFactorSequence
public void setParticleColorBlendFactorSequence(@Nullable @Nullable SKKeyframeSequence value)
-
setParticleColorBlendFactorSpeed
public void setParticleColorBlendFactorSpeed(double value)
The rate at which to modify the color blend for each particle. Defaults to 0.0.
-
setParticleColorBlueRange
public void setParticleColorBlueRange(double value)
-
setParticleColorBlueSpeed
public void setParticleColorBlueSpeed(double value)
-
setParticleColorGreenRange
public void setParticleColorGreenRange(double value)
-
setParticleColorGreenSpeed
public void setParticleColorGreenSpeed(double value)
-
setParticleColorRedRange
public void setParticleColorRedRange(double value)
The random variance about each color component for each particle. Defaults to 0.0.
-
setParticleColorRedSpeed
public void setParticleColorRedSpeed(double value)
The rate at which to modify each color component for each particle (per second).
-
setParticleColorSequence
public void setParticleColorSequence(@Nullable @Nullable SKKeyframeSequence value)
-
setParticleLifetime
public void setParticleLifetime(double value)
The lifetime of each particle, in seconds. Defaults to 0.0.
-
setParticleLifetimeRange
public void setParticleLifetimeRange(double value)
The random variance about the lifetime of each particle, in seconds. Defaults to 0.0.
-
setParticlePosition
public void setParticlePosition(CGPoint value)
The starting position for each particle in the emitter's coordinate space. Defaults to (0.0, 0,0).
-
setParticlePositionRange
public void setParticlePositionRange(CGVector value)
The random variance about the starting position for each particle in the emitter's coordinate space. Defaults to (0.0, 0,0).
-
setParticleRenderOrder
public void setParticleRenderOrder(long value)
The order in which particles will be rendered. Defaults to SKParticleRenderOrderOldestLast. API-Since: 9.0
-
setParticleRotation
public void setParticleRotation(double value)
The starting z-rotation for each particle. Defaults to 0.0.
-
setParticleRotationRange
public void setParticleRotationRange(double value)
The random variance about the starting z-rotation for each particle. Defaults to 0.0.
-
setParticleRotationSpeed
public void setParticleRotationSpeed(double value)
The rate at which to modify the z-rotation for each particle. Defaults to 0.0.
-
setParticleScale
public void setParticleScale(double value)
The starting scale for each particle. Defaults to 1.0.
-
setParticleScaleRange
public void setParticleScaleRange(double value)
The random variance about the starting scale for each particle. Defaults to 0.0.
-
setParticleScaleSequence
public void setParticleScaleSequence(@Nullable @Nullable SKKeyframeSequence value)
-
setParticleScaleSpeed
public void setParticleScaleSpeed(double value)
The rate at which to modify the scale for each particle. Defaults to 0.0.
-
setParticleSize
public void setParticleSize(CGSize value)
The starting size for each particle. If set to CGSizeZero (the default) the particles will start at the size of the texture assigned to particleTexture. Note that particleScale and particleScaleRange will also have an effect on the effective size of each new particle.
-
setParticleSpeed
public void setParticleSpeed(double value)
The starting speed for each particle along its emission vector. Defaults to 0.0.
-
setParticleSpeedRange
public void setParticleSpeedRange(double value)
The random variance about the starting speed for each particle along its emission vector. Defaults to 0.0.
-
setParticleTexture
public void setParticleTexture(@Nullable @Nullable SKTexture value)The texture to be used for the particles.
-
setParticleZPosition
public void setParticleZPosition(double value)
The starting z-position for each particle. Defaults to 0.0.
-
setParticleZPositionRange
@Deprecated public void setParticleZPositionRange(double value)
Deprecated.The random variance about the starting z-position for each particle. Defaults to 0.0. API-Since: 7.0 Deprecated-Since: 8.0
-
setParticleZPositionSpeed
@Deprecated public void setParticleZPositionSpeed(double value)
Deprecated.The rate at which to modify the z-position for each particle. Defaults to 0.0. API-Since: 7.0 Deprecated-Since: 8.0
-
setShader
public void setShader(@Nullable @Nullable SKShader value)
-
setTargetNode_unsafe
public void setTargetNode_unsafe(@Nullable @Nullable SKNode value)Normally the particles are rendered as if they were a child of the SKEmitterNode, they can also be rendered as if they were a child of any other node in the scene by setting the targetNode property. Defaults to nil (standard behavior).
-
setTargetNode
public void setTargetNode(@Nullable @Nullable SKNode value)Normally the particles are rendered as if they were a child of the SKEmitterNode, they can also be rendered as if they were a child of any other node in the scene by setting the targetNode property. Defaults to nil (standard behavior).
-
setValueForAttributeNamed
public void setValueForAttributeNamed(@NotNull @NotNull SKAttributeValue value, @NotNull @NotNull java.lang.String key)API-Since: 10.0- Overrides:
setValueForAttributeNamedin classSKNode
-
setXAcceleration
public void setXAcceleration(double value)
The acceleration to apply to each particles velocity. Useful for simulating effects such as wind or gravity. Defaults to 0.0.
-
setYAcceleration
public void setYAcceleration(double value)
-
shader
@Nullable public @Nullable SKShader shader()
-
targetNode
@Nullable public @Nullable SKNode targetNode()
Normally the particles are rendered as if they were a child of the SKEmitterNode, they can also be rendered as if they were a child of any other node in the scene by setting the targetNode property. Defaults to nil (standard behavior).
-
valueForAttributeNamed
@Nullable public @Nullable SKAttributeValue valueForAttributeNamed(@NotNull @NotNull java.lang.String key)
API-Since: 10.0- Overrides:
valueForAttributeNamedin classSKNode
-
xAcceleration
public double xAcceleration()
The acceleration to apply to each particles velocity. Useful for simulating effects such as wind or gravity. Defaults to 0.0.
-
yAcceleration
public double yAcceleration()
-
nodeWithFileNamedSecurelyWithClassesAndError
public static SKEmitterNode nodeWithFileNamedSecurelyWithClassesAndError(@NotNull @NotNull java.lang.String filename, @NotNull @NotNull NSSet<? extends org.moe.natj.objc.Class> classes, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding- Overrides:
_supportsSecureCodingin classSKNode
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-