public class SCNParticleSystem extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable
The SCNParticleSystem class represents a system of particles.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SCNParticleSystem.Block_addModifierForPropertiesAtStageWithBlock |
static interface |
SCNParticleSystem.Block_handleEventForPropertiesWithBlock |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
SCNParticleSystem(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.
|
SCNVector3 |
acceleration()
Specifies the acceleration applied to particles, in world coordinates.
|
static boolean |
accessInstanceVariablesDirectly() |
void |
addAnimationForKey(SCNAnimation animation,
java.lang.String key)
addAnimation:forKey:
|
void |
addAnimationPlayerForKey(SCNAnimationPlayer player,
java.lang.String key)
addAnimationPlayer:forKey:
|
void |
addModifierForPropertiesAtStageWithBlock(NSArray<java.lang.String> properties,
long stage,
SCNParticleSystem.Block_addModifierForPropertiesAtStageWithBlock block)
Modifications handling
"block" will be invoked at every simulation step at the specified stage.
|
boolean |
affectedByGravity()
Enables the use of the gravity defined in SCNPhysicsWorld
|
boolean |
affectedByPhysicsFields()
Enables the effect of the physics fields added to the SCNPhysicsWorld
|
static SCNParticleSystem |
alloc() |
static SCNParticleSystem |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
CAAnimation |
animationForKey(java.lang.String key)
animationForKey:
|
NSArray<java.lang.String> |
animationKeys()
[@property] animationKeys
|
SCNAnimationPlayer |
animationPlayerForKey(java.lang.String key)
animationPlayerForKey:
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
birthDirection()
Specifies the direction of newly created particles.
|
long |
birthLocation()
Specifies the location of newly created particles.
|
double |
birthRate()
Specifies the particle rate flow, in particles per emissionDuration.
|
double |
birthRateVariation()
Specifies the variation of the rate flow.
|
long |
blendMode()
Specifies the blend mode to use to render the particle system.
|
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() |
NSArray<? extends SCNNode> |
colliderNodes()
Specifies an array of SCNNode to collide with.
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
double |
dampingFactor()
Specifies the particle air resistance.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
double |
emissionDuration()
Specifies the duration of the emission.
|
double |
emissionDurationVariation()
Specifies the variation of the emission duration.
|
SCNGeometry |
emitterShape()
Specifies the shape of the emitter.
|
SCNVector3 |
emittingDirection()
Specifies the emitting direction of newly created particles, used in the SCNParticleBirthDirectionConstant mode.
|
void |
encodeWithCoder(NSCoder coder) |
double |
fresnelExponent()
Specifies the receiver's fresnel exponent value.
|
void |
handleEventForPropertiesWithBlock(long event,
NSArray<java.lang.String> properties,
SCNParticleSystem.Block_handleEventForPropertiesWithBlock block)
Events handling
"block" will be invoked for particles that trigger the specified event, with the data and dataStride that corresponds to "properties".
|
static long |
hash_static() |
double |
idleDuration()
Specifies the idle duration between two emissions.
|
double |
idleDurationVariation()
Specifies the variation of the idle duration.
|
long |
imageSequenceAnimationMode()
Specifies the texture animation mode.
|
long |
imageSequenceColumnCount()
Specifies the number of column in the image sequence.
|
double |
imageSequenceFrameRate()
Specifies the texture animation frame rate, in frames per second.
|
double |
imageSequenceFrameRateVariation()
Specifies the texture animation frame rate variation, in frames per second.
|
double |
imageSequenceInitialFrame()
Specifies the texture initial frame index.
|
double |
imageSequenceInitialFrameVariation()
Specifies the texture initial frame variation.
|
long |
imageSequenceRowCount()
Specifies the number of row in the image sequence.
|
SCNParticleSystem |
init() |
SCNParticleSystem |
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) |
boolean |
isAnimationForKeyPaused(java.lang.String key)
isAnimationForKeyPaused:
|
boolean |
isBlackPassEnabled()
Specifies whether a black pass is required or not when rendering the particle system.
|
boolean |
isLightingEnabled()
Enables the lighting of particle systems
|
boolean |
isLocal()
Specifies the rendering and simulation type of the system.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
boolean |
loops()
Specifies the looping behavior of the emission.
|
static SCNParticleSystem |
new_objc() |
SCNVector3 |
orientationDirection()
Specifies the orientation direction of newly created particles, used in the SCNParticleOrientationModeFree mode.
|
long |
orientationMode()
Specifies the orientation mode of the particles.
|
double |
particleAngle()
Specifies the initial angle of the particles at birth, in degrees.
|
double |
particleAngleVariation()
Specifies the variation of the initial angle of the particles at birth, in degrees.
|
double |
particleAngularVelocity()
Specifies the initial angular velocity of the particles at birth,
in degrees per second.
|
double |
particleAngularVelocityVariation()
Specifies the variation of the angular velocity, in degrees per second.
|
double |
particleBounce()
Specifies the particle bounce.
|
double |
particleBounceVariation()
Specifies the particle bounce variation.
|
double |
particleCharge()
Specifies the charge on the particle.
|
double |
particleChargeVariation()
Specifies the particle charge variation.
|
UIColor |
particleColor()
Specifies the initial color of the particle.
|
SCNVector4 |
particleColorVariation()
Specifies the normalized variation of the color.
|
boolean |
particleDiesOnCollision()
Specifies whether particles die on collision
|
double |
particleFriction()
Specifies the particle friction.
|
double |
particleFrictionVariation()
Specifies the particle friction variation.
|
java.lang.Object |
particleImage()
Specifies the image of the particle.
|
double |
particleIntensity()
Specifies the initial intensity of the particle.
|
double |
particleIntensityVariation()
Specifies the initial intensity variation of the particle.
|
double |
particleLifeSpan()
Specifies the life span of particles.
|
double |
particleLifeSpanVariation()
Specifies the life span variation of particles.
|
double |
particleMass()
Specifies the particle mass.
|
double |
particleMassVariation()
Specifies the particle mass variation.
|
double |
particleSize()
Specifies the initial size of the particle.
|
double |
particleSizeVariation()
Specifies the initial size variation of the particle.
|
static SCNParticleSystem |
particleSystem()
Create an instance of a particle system
|
static SCNParticleSystem |
particleSystemNamedInDirectory(java.lang.String name,
java.lang.String directory) |
double |
particleVelocity()
Specifies the initial velocity of the particles at birth,
in units per second.
|
double |
particleVelocityVariation()
Specifies the variation of the velocity.
|
void |
pauseAnimationForKey(java.lang.String key)
pauseAnimationForKey:
|
NSDictionary<java.lang.String,? extends SCNParticlePropertyController> |
propertyControllers()
Property controllers.
|
void |
removeAllAnimations()
removeAllAnimations
|
void |
removeAllAnimationsWithBlendOutDuration(double duration)
removeAllAnimationsWithBlendOutDuration
|
void |
removeAllModifiers() |
void |
removeAnimationForKey(java.lang.String key)
removeAnimationForKey
|
void |
removeAnimationForKeyBlendOutDuration(java.lang.String key,
double duration)
removeAnimationForKey:blendOutDuration:
|
void |
removeAnimationForKeyFadeOutDuration(java.lang.String key,
double duration)
removeAnimationForKey:fadeOutDuration:
|
void |
removeModifiersOfStage(long stage) |
void |
reset()
Remove all the already-emitted particles and restart the simulation.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
resumeAnimationForKey(java.lang.String key)
resumeAnimationForKey:
|
void |
setAcceleration(SCNVector3 value)
Specifies the acceleration applied to particles, in world coordinates.
|
void |
setAffectedByGravity(boolean value)
Enables the use of the gravity defined in SCNPhysicsWorld
|
void |
setAffectedByPhysicsFields(boolean value)
Enables the effect of the physics fields added to the SCNPhysicsWorld
|
void |
setBirthDirection(long value)
Specifies the direction of newly created particles.
|
void |
setBirthLocation(long value)
Specifies the location of newly created particles.
|
void |
setBirthRate(double value)
Specifies the particle rate flow, in particles per emissionDuration.
|
void |
setBirthRateVariation(double value)
Specifies the variation of the rate flow.
|
void |
setBlackPassEnabled(boolean value)
Specifies whether a black pass is required or not when rendering the particle system.
|
void |
setBlendMode(long value)
Specifies the blend mode to use to render the particle system.
|
void |
setColliderNodes(NSArray<? extends SCNNode> value)
Specifies an array of SCNNode to collide with.
|
void |
setDampingFactor(double value)
Specifies the particle air resistance.
|
void |
setEmissionDuration(double value)
Specifies the duration of the emission.
|
void |
setEmissionDurationVariation(double value)
Specifies the variation of the emission duration.
|
void |
setEmitterShape(SCNGeometry value)
Specifies the shape of the emitter.
|
void |
setEmittingDirection(SCNVector3 value)
Specifies the emitting direction of newly created particles, used in the SCNParticleBirthDirectionConstant mode.
|
void |
setFresnelExponent(double value)
Specifies the receiver's fresnel exponent value.
|
void |
setIdleDuration(double value)
Specifies the idle duration between two emissions.
|
void |
setIdleDurationVariation(double value)
Specifies the variation of the idle duration.
|
void |
setImageSequenceAnimationMode(long value)
Specifies the texture animation mode.
|
void |
setImageSequenceColumnCount(long value)
Specifies the number of column in the image sequence.
|
void |
setImageSequenceFrameRate(double value)
Specifies the texture animation frame rate, in frames per second.
|
void |
setImageSequenceFrameRateVariation(double value)
Specifies the texture animation frame rate variation, in frames per second.
|
void |
setImageSequenceInitialFrame(double value)
Specifies the texture initial frame index.
|
void |
setImageSequenceInitialFrameVariation(double value)
Specifies the texture initial frame variation.
|
void |
setImageSequenceRowCount(long value)
Specifies the number of row in the image sequence.
|
void |
setLightingEnabled(boolean value)
Enables the lighting of particle systems
|
void |
setLocal(boolean value)
Specifies the rendering and simulation type of the system.
|
void |
setLoops(boolean value)
Specifies the looping behavior of the emission.
|
void |
setOrientationDirection(SCNVector3 value)
Specifies the orientation direction of newly created particles, used in the SCNParticleOrientationModeFree mode.
|
void |
setOrientationMode(long value)
Specifies the orientation mode of the particles.
|
void |
setParticleAngle(double value)
Specifies the initial angle of the particles at birth, in degrees.
|
void |
setParticleAngleVariation(double value)
Specifies the variation of the initial angle of the particles at birth, in degrees.
|
void |
setParticleAngularVelocity(double value)
Specifies the initial angular velocity of the particles at birth,
in degrees per second.
|
void |
setParticleAngularVelocityVariation(double value)
Specifies the variation of the angular velocity, in degrees per second.
|
void |
setParticleBounce(double value)
Specifies the particle bounce.
|
void |
setParticleBounceVariation(double value)
Specifies the particle bounce variation.
|
void |
setParticleCharge(double value)
Specifies the charge on the particle.
|
void |
setParticleChargeVariation(double value)
Specifies the particle charge variation.
|
void |
setParticleColor(UIColor value)
Specifies the initial color of the particle.
|
void |
setParticleColorVariation(SCNVector4 value)
Specifies the normalized variation of the color.
|
void |
setParticleDiesOnCollision(boolean value)
Specifies whether particles die on collision
|
void |
setParticleFriction(double value)
Specifies the particle friction.
|
void |
setParticleFrictionVariation(double value)
Specifies the particle friction variation.
|
void |
setParticleImage(java.lang.Object value)
Specifies the image of the particle.
|
void |
setParticleIntensity(double value)
Specifies the initial intensity of the particle.
|
void |
setParticleIntensityVariation(double value)
Specifies the initial intensity variation of the particle.
|
void |
setParticleLifeSpan(double value)
Specifies the life span of particles.
|
void |
setParticleLifeSpanVariation(double value)
Specifies the life span variation of particles.
|
void |
setParticleMass(double value)
Specifies the particle mass.
|
void |
setParticleMassVariation(double value)
Specifies the particle mass variation.
|
void |
setParticleSize(double value)
Specifies the initial size of the particle.
|
void |
setParticleSizeVariation(double value)
Specifies the initial size variation of the particle.
|
void |
setParticleVelocity(double value)
Specifies the initial velocity of the particles at birth,
in units per second.
|
void |
setParticleVelocityVariation(double value)
Specifies the variation of the velocity.
|
void |
setPropertyControllers(NSDictionary<java.lang.String,? extends SCNParticlePropertyController> value)
Property controllers.
|
void |
setSortingMode(long value)
Specifies the sorting mode of the particles.
|
void |
setSpeedFactor(double value)
Specifies the simulation speed multiplier.
|
void |
setSpeedForAnimationKey(double speed,
java.lang.String key)
setSpeed:forAnimationKey:
|
void |
setSpreadingAngle(double value)
Specifies the spreading direction of newly created particles, in degrees.
|
void |
setStretchFactor(double value)
Specifies whether particles stretch along their direction.
|
void |
setSystemSpawnedOnCollision(SCNParticleSystem value)
Specifies an optional system to spawn new particles when a particle dies
|
void |
setSystemSpawnedOnDying(SCNParticleSystem value)
Specifies an optional system to spawn new particles when a particle dies
|
void |
setSystemSpawnedOnLiving(SCNParticleSystem value)
Specifies an optional system to spawn new particles when a particle is alive
|
static void |
setVersion_static(long aVersion) |
void |
setWarmupDuration(double value)
Specifies the time length during which particles are emit before the first rendering of the system.
|
void |
setWritesToDepthBuffer(boolean value)
[@property] writeToDepthBuffer
|
long |
sortingMode()
Specifies the sorting mode of the particles.
|
double |
speedFactor()
Specifies the simulation speed multiplier.
|
double |
spreadingAngle()
Specifies the spreading direction of newly created particles, in degrees.
|
double |
stretchFactor()
Specifies whether particles stretch along their direction.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
SCNParticleSystem |
systemSpawnedOnCollision()
Specifies an optional system to spawn new particles when a particle dies
|
SCNParticleSystem |
systemSpawnedOnDying()
Specifies an optional system to spawn new particles when a particle dies
|
SCNParticleSystem |
systemSpawnedOnLiving()
Specifies an optional system to spawn new particles when a particle is alive
|
static long |
version_static() |
double |
warmupDuration()
Specifies the time length during which particles are emit before the first rendering of the system.
|
boolean |
writesToDepthBuffer()
[@property] writeToDepthBuffer
|
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 SCNParticleSystem alloc()
public static SCNParticleSystem 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 java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
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 NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static SCNParticleSystem new_objc()
public static SCNParticleSystem particleSystem()
public static SCNParticleSystem particleSystemNamedInDirectory(java.lang.String name, java.lang.String directory)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public SCNVector3 acceleration()
public void addAnimationForKey(SCNAnimation animation, java.lang.String key)
SCNAnimatableAdds and runs an animation
Only SCNAnimation (preferred), CABasicAnimation, CAKeyframeAnimation and CAAnimationGroup are supported. The animation starts playing right away. The animation is automatically removed on completion unless if removedOnCompletion is explicitly set to NO.
addAnimationForKey in interface SCNAnimatableanimation - Added animation.key - May be any string such that only one animation per unique key is added per animatable object. removedOnCompletion] public void addModifierForPropertiesAtStageWithBlock(NSArray<java.lang.String> properties, long stage, SCNParticleSystem.Block_addModifierForPropertiesAtStageWithBlock block)
public boolean affectedByGravity()
public boolean affectedByPhysicsFields()
public CAAnimation animationForKey(java.lang.String key)
SCNAnimatableReturns the animation with the given identifier
This will return nil if no such animation exists. Attempting to modify any properties of the returned object will result in undefined behavior.
animationForKey in interface SCNAnimatablekey - The identifier for the animation to retrieve.public NSArray<java.lang.String> animationKeys()
SCNAnimatableReturns an array containing the keys of all animations currently attached to the receiver.
animationKeys in interface SCNAnimatablepublic long birthDirection()
public long birthLocation()
public double birthRate()
public double birthRateVariation()
public long blendMode()
public NSArray<? extends SCNNode> colliderNodes()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic double dampingFactor()
public double emissionDuration()
public double emissionDurationVariation()
public SCNGeometry emitterShape()
public SCNVector3 emittingDirection()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic double fresnelExponent()
public void handleEventForPropertiesWithBlock(long event,
NSArray<java.lang.String> properties,
SCNParticleSystem.Block_handleEventForPropertiesWithBlock block)
public double idleDuration()
public double idleDurationVariation()
public long imageSequenceAnimationMode()
public long imageSequenceColumnCount()
public double imageSequenceFrameRate()
public double imageSequenceFrameRateVariation()
public double imageSequenceInitialFrame()
public double imageSequenceInitialFrameVariation()
public long imageSequenceRowCount()
public SCNParticleSystem init()
public SCNParticleSystem initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic boolean isAnimationForKeyPaused(java.lang.String key)
SCNAnimatableReturns whether the animation for the specified identifier is paused.
isAnimationForKeyPaused in interface SCNAnimatablekey - The identifier for the animation to query.public boolean isBlackPassEnabled()
public void setBlackPassEnabled(boolean value)
public boolean isLightingEnabled()
public void setLightingEnabled(boolean value)
public boolean isLocal()
public void setLocal(boolean value)
public boolean loops()
public long orientationMode()
public double particleAngle()
public double particleAngleVariation()
public double particleAngularVelocity()
public double particleAngularVelocityVariation()
public double particleBounce()
public double particleBounceVariation()
public double particleCharge()
public double particleChargeVariation()
public UIColor particleColor()
public SCNVector4 particleColorVariation()
public boolean particleDiesOnCollision()
public double particleFriction()
public double particleFrictionVariation()
public java.lang.Object particleImage()
public double particleLifeSpan()
public double particleLifeSpanVariation()
public double particleMass()
public double particleMassVariation()
public double particleSize()
public double particleSizeVariation()
public double particleVelocity()
public double particleVelocityVariation()
public void pauseAnimationForKey(java.lang.String key)
SCNAnimatablePause the animation with the given identifier.
pauseAnimationForKey in interface SCNAnimatablekey - The identifier for the animation to pause.public NSDictionary<java.lang.String,? extends SCNParticlePropertyController> propertyControllers()
public void removeAllAnimations()
SCNAnimatableRemove all animations.
removeAllAnimations in interface SCNAnimatablepublic void removeAllModifiers()
public void removeAnimationForKey(java.lang.String key)
SCNAnimatableRemove the animation with the given identifier.
removeAnimationForKey in interface SCNAnimatablekey - The identifier for the animation to remove.public void removeAnimationForKeyFadeOutDuration(java.lang.String key,
double duration)
SCNAnimatableSmoothly remove the animation with the given identifier.
removeAnimationForKeyFadeOutDuration in interface SCNAnimatablekey - The identifier for the animation to remove.duration - The fade out duration used to remove the animation.public void removeModifiersOfStage(long stage)
public void reset()
public void resumeAnimationForKey(java.lang.String key)
SCNAnimatableResume the animation with the given identifier.
resumeAnimationForKey in interface SCNAnimatablekey - The identifier for the animation to resume.public void setAcceleration(SCNVector3 value)
public void setAffectedByGravity(boolean value)
public void setAffectedByPhysicsFields(boolean value)
public void setBirthDirection(long value)
public void setBirthLocation(long value)
public void setBirthRate(double value)
public void setBirthRateVariation(double value)
public void setBlendMode(long value)
public void setColliderNodes(NSArray<? extends SCNNode> value)
public void setDampingFactor(double value)
public void setEmissionDuration(double value)
public void setEmissionDurationVariation(double value)
public void setEmitterShape(SCNGeometry value)
public void setEmittingDirection(SCNVector3 value)
public void setFresnelExponent(double value)
public void setIdleDuration(double value)
public void setIdleDurationVariation(double value)
public void setImageSequenceAnimationMode(long value)
public void setImageSequenceColumnCount(long value)
public void setImageSequenceFrameRate(double value)
public void setImageSequenceFrameRateVariation(double value)
public void setImageSequenceInitialFrame(double value)
public void setImageSequenceInitialFrameVariation(double value)
public void setImageSequenceRowCount(long value)
public void setLoops(boolean value)
public void setOrientationMode(long value)
public void setParticleAngle(double value)
public void setParticleAngleVariation(double value)
public void setParticleAngularVelocity(double value)
public void setParticleAngularVelocityVariation(double value)
public void setParticleBounce(double value)
public void setParticleBounceVariation(double value)
public void setParticleCharge(double value)
public void setParticleChargeVariation(double value)
public void setParticleColor(UIColor value)
public void setParticleColorVariation(SCNVector4 value)
public void setParticleDiesOnCollision(boolean value)
public void setParticleFriction(double value)
public void setParticleFrictionVariation(double value)
public void setParticleImage(java.lang.Object value)
public void setParticleLifeSpan(double value)
public void setParticleLifeSpanVariation(double value)
public void setParticleMass(double value)
public void setParticleMassVariation(double value)
public void setParticleSize(double value)
public void setParticleSizeVariation(double value)
public void setParticleVelocity(double value)
public void setParticleVelocityVariation(double value)
public void setPropertyControllers(NSDictionary<java.lang.String,? extends SCNParticlePropertyController> value)
public void setSortingMode(long value)
public void setSpeedForAnimationKey(double speed,
java.lang.String key)
SCNAnimatableUpdate the animation speed of the animation with the given identifier.
setSpeedForAnimationKey in interface SCNAnimatablespeed - The new speed of the animation.key - The identifier for the animation to update.public void setSpeedFactor(double value)
public void setSpreadingAngle(double value)
public void setStretchFactor(double value)
public void setSystemSpawnedOnCollision(SCNParticleSystem value)
public void setSystemSpawnedOnDying(SCNParticleSystem value)
public void setSystemSpawnedOnLiving(SCNParticleSystem value)
public void setWarmupDuration(double value)
public long sortingMode()
public double speedFactor()
public double spreadingAngle()
public double stretchFactor()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic SCNParticleSystem systemSpawnedOnCollision()
public SCNParticleSystem systemSpawnedOnDying()
public SCNParticleSystem systemSpawnedOnLiving()
public double warmupDuration()
public void addAnimationPlayerForKey(SCNAnimationPlayer player, java.lang.String key)
SCNAnimatableAdd an animation player.
The animation player is not removed automatically on completion. The animation doesn't start playing immediatelly. Call "play" on the player to start playing it.
addAnimationPlayerForKey in interface SCNAnimatableplayer - Added animation player.key - May be any string such that only one animation per unique key is added per animatable object.play]public SCNAnimationPlayer animationPlayerForKey(java.lang.String key)
SCNAnimatableReturns the animation player with the given identifier
This will return nil if no such animation player exists.
animationPlayerForKey in interface SCNAnimatablekey - The identifier for the animation player to retrieve.public SCNVector3 orientationDirection()
public double particleIntensity()
public double particleIntensityVariation()
public void removeAnimationForKeyBlendOutDuration(java.lang.String key,
double duration)
SCNAnimatableSmoothly remove the animation with the given identifier.
removeAnimationForKeyBlendOutDuration in interface SCNAnimatablekey - The identifier for the animation to remove.duration - The blend out duration used to remove the animation.public void setOrientationDirection(SCNVector3 value)
public void setParticleIntensity(double value)
public void setParticleIntensityVariation(double value)
public void removeAllAnimationsWithBlendOutDuration(double duration)
SCNAnimatableSmoothly remove all animations.
removeAllAnimationsWithBlendOutDuration in interface SCNAnimatableduration - The blend out duration used to remove the animation.public void setWritesToDepthBuffer(boolean value)
Determines whether the receiver writes to the depth buffer when rendered. Defaults to NO.
public boolean writesToDepthBuffer()
Determines whether the receiver writes to the depth buffer when rendered. Defaults to NO.