Package apple.quartzcore
Class CAEmitterCell
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.quartzcore.CAEmitterCell
-
- All Implemented Interfaces:
NSCoding,NSSecureCoding,NSObject,CAMediaTiming
public class CAEmitterCell extends NSObject implements NSSecureCoding, CAMediaTiming
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCAEmitterCell(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static CAEmitterCellalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)floatalphaRange()floatalphaSpeed()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)booleanautoreverses()When true, the object plays backwards after playing forwards.doublebeginTime()The begin time of the object, in relation to its parent object, if applicable.floatbirthRate()The number of emitted objects created every second.floatblueRange()floatblueSpeed()static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(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.ClassclassForKeyedUnarchiver()CGColorRefcolor()The mean color of each emitted object, and the range from that mean color.java.lang.Objectcontents()The cell contents, typically a CGImageRef.CGRectcontentsRect()The sub-rectangle of the contents image that will be drawn.doublecontentsScale()Defines the scale factor applied to the contents of the cell.static java.lang.StringdebugDescription_static()static java.lang.ObjectdefaultValueForKey(java.lang.String key)Emitter cells implement the same property model as defined by CALayer.static java.lang.Stringdescription_static()doubleduration()The basic duration of the object.doubleemissionLatitude()The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape.doubleemissionLongitude()doubleemissionRange()An angle (in radians) defining a cone around the emission angle.static CAEmitterCellemitterCell()NSArray<? extends CAEmitterCell>emitterCells()An array containing the sub-cells of this cell, or nil (the default value).voidencodeWithCoder(NSCoder coder)java.lang.StringfillMode()Defines how the timed object behaves outside its active duration.floatgreenRange()floatgreenSpeed()static longhash_static()CAEmitterCellinit()CAEmitterCellinitWithCoder(NSCoder coder)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)booleanisEnabled()Controls whether or not cells from this emitter are rendered.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)floatlifetime()The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean.floatlifetimeRange()java.lang.StringmagnificationFilter()java.lang.StringminificationFilter()The filter parameters used when rendering the `contents' image.floatminificationFilterBias()java.lang.Stringname()The name of the cell.static java.lang.Objectnew_objc()floatredRange()floatredSpeed()The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second.floatrepeatCount()The repeat count of the object.doublerepeatDuration()The repeat duration of the object.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)doublescale()The scale factor applied to each emitted object, defined as mean and range about the mean.doublescaleRange()doublescaleSpeed()voidsetAlphaRange(float value)voidsetAlphaSpeed(float value)voidsetAutoreverses(boolean value)When true, the object plays backwards after playing forwards.voidsetBeginTime(double value)The begin time of the object, in relation to its parent object, if applicable.voidsetBirthRate(float value)The number of emitted objects created every second.voidsetBlueRange(float value)voidsetBlueSpeed(float value)voidsetColor(CGColorRef value)The mean color of each emitted object, and the range from that mean color.voidsetContents(java.lang.Object value)The cell contents, typically a CGImageRef.voidsetContentsRect(CGRect value)The sub-rectangle of the contents image that will be drawn.voidsetContentsScale(double value)Defines the scale factor applied to the contents of the cell.voidsetDuration(double value)The basic duration of the object.voidsetEmissionLatitude(double value)The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape.voidsetEmissionLongitude(double value)voidsetEmissionRange(double value)An angle (in radians) defining a cone around the emission angle.voidsetEmitterCells(NSArray<? extends CAEmitterCell> value)An array containing the sub-cells of this cell, or nil (the default value).voidsetEnabled(boolean value)Controls whether or not cells from this emitter are rendered.voidsetFillMode(java.lang.String value)Defines how the timed object behaves outside its active duration.voidsetGreenRange(float value)voidsetGreenSpeed(float value)voidsetLifetime(float value)The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean.voidsetLifetimeRange(float value)voidsetMagnificationFilter(java.lang.String value)voidsetMinificationFilter(java.lang.String value)The filter parameters used when rendering the `contents' image.voidsetMinificationFilterBias(float value)voidsetName(java.lang.String value)The name of the cell.voidsetRedRange(float value)voidsetRedSpeed(float value)The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second.voidsetRepeatCount(float value)The repeat count of the object.voidsetRepeatDuration(double value)The repeat duration of the object.voidsetScale(double value)The scale factor applied to each emitted object, defined as mean and range about the mean.voidsetScaleRange(double value)voidsetScaleSpeed(double value)voidsetSpeed(float value)The rate of the layer.voidsetSpin(double value)The rotation speed applied to each emitted object, defined as mean and range about the mean.voidsetSpinRange(double value)voidsetStyle(NSDictionary<?,?> value)Inherited attributes similar to in layers.voidsetTimeOffset(double value)Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset.voidsetVelocity(double value)The initial mean velocity of each emitted object, and its range.voidsetVelocityRange(double value)static voidsetVersion_static(long aVersion)voidsetXAcceleration(double value)The acceleration vector applied to emitted objects.voidsetYAcceleration(double value)voidsetZAcceleration(double value)booleanshouldArchiveValueForKey(java.lang.String key)floatspeed()The rate of the layer.doublespin()The rotation speed applied to each emitted object, defined as mean and range about the mean.doublespinRange()NSDictionary<?,?>style()Inherited attributes similar to in layers.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()doubletimeOffset()Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset.doublevelocity()The initial mean velocity of each emitted object, and its range.doublevelocityRange()static longversion_static()doublexAcceleration()The acceleration vector applied to emitted objects.doubleyAcceleration()doublezAcceleration()-
Methods inherited from class apple.NSObject
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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CAEmitterCell alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
defaultValueForKey
public static java.lang.Object defaultValueForKey(java.lang.String key)
Emitter cells implement the same property model as defined by CALayer. See CALayer.h for more details.
-
description_static
public static java.lang.String description_static()
-
emitterCell
public static CAEmitterCell emitterCell()
-
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
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
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()
-
alphaRange
public float alphaRange()
-
alphaSpeed
public float alphaSpeed()
-
autoreverses
public boolean autoreverses()
Description copied from interface:CAMediaTimingWhen true, the object plays backwards after playing forwards. Defaults to NO.- Specified by:
autoreversesin interfaceCAMediaTiming
-
beginTime
public double beginTime()
Description copied from interface:CAMediaTimingThe begin time of the object, in relation to its parent object, if applicable. Defaults to 0.- Specified by:
beginTimein interfaceCAMediaTiming
-
birthRate
public float birthRate()
The number of emitted objects created every second. Default value is zero. Animatable.
-
blueRange
public float blueRange()
-
blueSpeed
public float blueSpeed()
-
color
public CGColorRef color()
The mean color of each emitted object, and the range from that mean color. `color' defaults to opaque white, `colorRange' to (0, 0, 0, 0). Animatable.
-
contents
public java.lang.Object contents()
The cell contents, typically a CGImageRef. Defaults to nil. Animatable.
-
contentsRect
public CGRect contentsRect()
The sub-rectangle of the contents image that will be drawn. See CALayer.h for more details. Defaults to the unit rectangle [0 0 1 1]. Animatable.
-
contentsScale
public double contentsScale()
Defines the scale factor applied to the contents of the cell. See CALayer.h for more details.
-
duration
public double duration()
Description copied from interface:CAMediaTimingThe basic duration of the object. Defaults to 0.- Specified by:
durationin interfaceCAMediaTiming
-
emissionLatitude
public double emissionLatitude()
The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape. Note that latitude here is what is typically called colatitude, the zenith or phi, the angle from the z-axis. Similarly longitude is the angle in the xy-plane from the x-axis, often referred to as the azimuth or theta. Both values default to zero, which translates to no change relative to the emission shape's direction. Both values are animatable.
-
emissionLongitude
public double emissionLongitude()
-
emissionRange
public double emissionRange()
An angle (in radians) defining a cone around the emission angle. Emitted objects are uniformly distributed across this cone. Defaults to zero. Animatable.
-
emitterCells
public NSArray<? extends CAEmitterCell> emitterCells()
An array containing the sub-cells of this cell, or nil (the default value). When non-nil each particle emitted by the cell will act as an emitter for each of the cell's sub-cells. The emission point is the current particle position and the emission angle is relative to the current direction of the particle. Animatable.
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding
-
fillMode
public java.lang.String fillMode()
Description copied from interface:CAMediaTimingDefines how the timed object behaves outside its active duration. Local time may be clamped to either end of the active duration, or the element may be removed from the presentation. The legal values are `backwards', `forwards', `both' and `removed'. Defaults to `removed'.- Specified by:
fillModein interfaceCAMediaTiming
-
greenRange
public float greenRange()
-
greenSpeed
public float greenSpeed()
-
init
public CAEmitterCell init()
-
initWithCoder
public CAEmitterCell initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
isEnabled
public boolean isEnabled()
Controls whether or not cells from this emitter are rendered.
-
setEnabled
public void setEnabled(boolean value)
Controls whether or not cells from this emitter are rendered.
-
lifetime
public float lifetime()
The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean. Both values default to zero. Animatable.
-
lifetimeRange
public float lifetimeRange()
-
magnificationFilter
public java.lang.String magnificationFilter()
-
minificationFilter
public java.lang.String minificationFilter()
The filter parameters used when rendering the `contents' image. See CALayer.h for more details.
-
minificationFilterBias
public float minificationFilterBias()
-
name
public java.lang.String name()
The name of the cell. Used to construct key paths. Defaults to nil.
-
redRange
public float redRange()
-
redSpeed
public float redSpeed()
The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second. Defaults to (0, 0, 0, 0). Animatable.
-
repeatCount
public float repeatCount()
Description copied from interface:CAMediaTimingThe repeat count of the object. May be fractional. Defaults to 0.- Specified by:
repeatCountin interfaceCAMediaTiming
-
repeatDuration
public double repeatDuration()
Description copied from interface:CAMediaTimingThe repeat duration of the object. Defaults to 0.- Specified by:
repeatDurationin interfaceCAMediaTiming
-
scale
public double scale()
The scale factor applied to each emitted object, defined as mean and range about the mean. Scale defaults to one, range to zero. Animatable.
-
scaleRange
public double scaleRange()
-
scaleSpeed
public double scaleSpeed()
-
setAlphaRange
public void setAlphaRange(float value)
-
setAlphaSpeed
public void setAlphaSpeed(float value)
-
setAutoreverses
public void setAutoreverses(boolean value)
Description copied from interface:CAMediaTimingWhen true, the object plays backwards after playing forwards. Defaults to NO.- Specified by:
setAutoreversesin interfaceCAMediaTiming
-
setBeginTime
public void setBeginTime(double value)
Description copied from interface:CAMediaTimingThe begin time of the object, in relation to its parent object, if applicable. Defaults to 0.- Specified by:
setBeginTimein interfaceCAMediaTiming
-
setBirthRate
public void setBirthRate(float value)
The number of emitted objects created every second. Default value is zero. Animatable.
-
setBlueRange
public void setBlueRange(float value)
-
setBlueSpeed
public void setBlueSpeed(float value)
-
setColor
public void setColor(CGColorRef value)
The mean color of each emitted object, and the range from that mean color. `color' defaults to opaque white, `colorRange' to (0, 0, 0, 0). Animatable.
-
setContents
public void setContents(java.lang.Object value)
The cell contents, typically a CGImageRef. Defaults to nil. Animatable.
-
setContentsRect
public void setContentsRect(CGRect value)
The sub-rectangle of the contents image that will be drawn. See CALayer.h for more details. Defaults to the unit rectangle [0 0 1 1]. Animatable.
-
setContentsScale
public void setContentsScale(double value)
Defines the scale factor applied to the contents of the cell. See CALayer.h for more details.
-
setDuration
public void setDuration(double value)
Description copied from interface:CAMediaTimingThe basic duration of the object. Defaults to 0.- Specified by:
setDurationin interfaceCAMediaTiming
-
setEmissionLatitude
public void setEmissionLatitude(double value)
The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape. Note that latitude here is what is typically called colatitude, the zenith or phi, the angle from the z-axis. Similarly longitude is the angle in the xy-plane from the x-axis, often referred to as the azimuth or theta. Both values default to zero, which translates to no change relative to the emission shape's direction. Both values are animatable.
-
setEmissionLongitude
public void setEmissionLongitude(double value)
-
setEmissionRange
public void setEmissionRange(double value)
An angle (in radians) defining a cone around the emission angle. Emitted objects are uniformly distributed across this cone. Defaults to zero. Animatable.
-
setEmitterCells
public void setEmitterCells(NSArray<? extends CAEmitterCell> value)
An array containing the sub-cells of this cell, or nil (the default value). When non-nil each particle emitted by the cell will act as an emitter for each of the cell's sub-cells. The emission point is the current particle position and the emission angle is relative to the current direction of the particle. Animatable.
-
setFillMode
public void setFillMode(java.lang.String value)
Description copied from interface:CAMediaTimingDefines how the timed object behaves outside its active duration. Local time may be clamped to either end of the active duration, or the element may be removed from the presentation. The legal values are `backwards', `forwards', `both' and `removed'. Defaults to `removed'.- Specified by:
setFillModein interfaceCAMediaTiming
-
setGreenRange
public void setGreenRange(float value)
-
setGreenSpeed
public void setGreenSpeed(float value)
-
setLifetime
public void setLifetime(float value)
The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean. Both values default to zero. Animatable.
-
setLifetimeRange
public void setLifetimeRange(float value)
-
setMagnificationFilter
public void setMagnificationFilter(java.lang.String value)
-
setMinificationFilter
public void setMinificationFilter(java.lang.String value)
The filter parameters used when rendering the `contents' image. See CALayer.h for more details.
-
setMinificationFilterBias
public void setMinificationFilterBias(float value)
-
setName
public void setName(java.lang.String value)
The name of the cell. Used to construct key paths. Defaults to nil.
-
setRedRange
public void setRedRange(float value)
-
setRedSpeed
public void setRedSpeed(float value)
The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second. Defaults to (0, 0, 0, 0). Animatable.
-
setRepeatCount
public void setRepeatCount(float value)
Description copied from interface:CAMediaTimingThe repeat count of the object. May be fractional. Defaults to 0.- Specified by:
setRepeatCountin interfaceCAMediaTiming
-
setRepeatDuration
public void setRepeatDuration(double value)
Description copied from interface:CAMediaTimingThe repeat duration of the object. Defaults to 0.- Specified by:
setRepeatDurationin interfaceCAMediaTiming
-
setScale
public void setScale(double value)
The scale factor applied to each emitted object, defined as mean and range about the mean. Scale defaults to one, range to zero. Animatable.
-
setScaleRange
public void setScaleRange(double value)
-
setScaleSpeed
public void setScaleSpeed(double value)
-
setSpeed
public void setSpeed(float value)
Description copied from interface:CAMediaTimingThe rate of the layer. Used to scale parent time to local time, e.g. if rate is 2, local time progresses twice as fast as parent time. Defaults to 1.- Specified by:
setSpeedin interfaceCAMediaTiming
-
setSpin
public void setSpin(double value)
The rotation speed applied to each emitted object, defined as mean and range about the mean. Defaults to zero. Animatable.
-
setSpinRange
public void setSpinRange(double value)
-
setStyle
public void setStyle(NSDictionary<?,?> value)
Inherited attributes similar to in layers.
-
setTimeOffset
public void setTimeOffset(double value)
Description copied from interface:CAMediaTimingAdditional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. One use of this is to "pause" a layer by setting `speed' to zero and `offset' to a suitable value. Defaults to 0.- Specified by:
setTimeOffsetin interfaceCAMediaTiming
-
setVelocity
public void setVelocity(double value)
The initial mean velocity of each emitted object, and its range. Both values default to zero. Animatable.
-
setVelocityRange
public void setVelocityRange(double value)
-
setXAcceleration
public void setXAcceleration(double value)
The acceleration vector applied to emitted objects. Defaults to (0, 0, 0). Animatable.
-
setYAcceleration
public void setYAcceleration(double value)
-
setZAcceleration
public void setZAcceleration(double value)
-
shouldArchiveValueForKey
public boolean shouldArchiveValueForKey(java.lang.String key)
-
speed
public float speed()
Description copied from interface:CAMediaTimingThe rate of the layer. Used to scale parent time to local time, e.g. if rate is 2, local time progresses twice as fast as parent time. Defaults to 1.- Specified by:
speedin interfaceCAMediaTiming
-
spin
public double spin()
The rotation speed applied to each emitted object, defined as mean and range about the mean. Defaults to zero. Animatable.
-
spinRange
public double spinRange()
-
style
public NSDictionary<?,?> style()
Inherited attributes similar to in layers.
-
timeOffset
public double timeOffset()
Description copied from interface:CAMediaTimingAdditional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. One use of this is to "pause" a layer by setting `speed' to zero and `offset' to a suitable value. Defaults to 0.- Specified by:
timeOffsetin interfaceCAMediaTiming
-
velocity
public double velocity()
The initial mean velocity of each emitted object, and its range. Both values default to zero. Animatable.
-
velocityRange
public double velocityRange()
-
xAcceleration
public double xAcceleration()
The acceleration vector applied to emitted objects. Defaults to (0, 0, 0). Animatable.
-
yAcceleration
public double yAcceleration()
-
zAcceleration
public double zAcceleration()
-
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
-
-