SCNAssimpAnimSettings Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SCNAssimpAnimSettings.h SCNAssimpAnimSettings.m |
Overview
SCNAssimpAnimSettings provides support for CAMediaTiming protocol, animation attributes and animating scenekit content.
CAMediaTiming
beginTime
Specifies the begin time of the receiver in relation to its parent object, if applicable.
@property CFTimeInterval beginTimeDiscussion
Specifies the begin time of the receiver in relation to its parent object, if applicable.
Declared In
SCNAssimpAnimSettings.h
timeOffset
Specifies an additional time offset in active local time.
@property CFTimeInterval timeOffsetDiscussion
Specifies an additional time offset in active local time.
Declared In
SCNAssimpAnimSettings.h
repeatCount
Determines the number of times the animation will repeat.
@property float repeatCountDiscussion
Determines the number of times the animation will repeat.
Declared In
SCNAssimpAnimSettings.h
repeatDuration
Determines how many seconds the animation will repeat for.
@property CFTimeInterval repeatDurationDiscussion
Determines how many seconds the animation will repeat for.
Declared In
SCNAssimpAnimSettings.h
duration
Specifies the basic duration of the animation, in seconds.
@property CFTimeInterval durationDiscussion
Specifies the basic duration of the animation, in seconds.
Declared In
SCNAssimpAnimSettings.h
speed
Specifies how time is mapped to receiver’s time space from the parent time space.
@property float speedDiscussion
Specifies how time is mapped to receiver’s time space from the parent time space.
Declared In
SCNAssimpAnimSettings.h
autoreverses
Determines if the receiver plays in the reverse upon completion.
@property BOOL autoreversesDiscussion
Determines if the receiver plays in the reverse upon completion.
Declared In
SCNAssimpAnimSettings.h
Animation attributes
removedOnCompletion
Determines if the animation is removed from the target layer’s animations upon completion.
@property (getter=isRemovedOnCompletion) BOOL removedOnCompletionDiscussion
Determines if the animation is removed from the target layer’s animations upon completion.
Declared In
SCNAssimpAnimSettings.h
timingFunction
An optional timing function defining the pacing of the animation.
@property (strong) CAMediaTimingFunction *timingFunctionDiscussion
An optional timing function defining the pacing of the animation.
Declared In
SCNAssimpAnimSettings.h
Getting and setting the delegate
delegate
Specifies the receiver’s delegate object.
@property (strong) id<CAAnimationDelegate> delegateDiscussion
Specifies the receiver’s delegate object.
Declared In
SCNAssimpAnimSettings.h
usesSceneTimeBase
For animations attached to SceneKit objects, a Boolean value that determines whether the animation is evaluated using the scene time or the system time.
@property BOOL usesSceneTimeBaseDiscussion
For animations attached to SceneKit objects, a Boolean value that determines whether the animation is evaluated using the scene time or the system time.
Declared In
SCNAssimpAnimSettings.h
fadeInDuration
For animations attached to SceneKit objects, the duration for transitioning into the animation’s effect as it begins.
@property CGFloat fadeInDurationDiscussion
For animations attached to SceneKit objects, the duration for transitioning into the animation’s effect as it begins.
Declared In
SCNAssimpAnimSettings.h
fadeOutDuration
For animations attached to SceneKit objects, the duration for transitioning out of the animation’s effect as it ends.
@property CGFloat fadeOutDurationDiscussion
For animations attached to SceneKit objects, the duration for transitioning out of the animation’s effect as it ends.
Declared In
SCNAssimpAnimSettings.h
animationEvents
For animations attached to SceneKit objects, a list of events attached to an animation.
@property (nonatomic, copy) NSArray<SCNAnimationEvent*> *animationEventsDiscussion
For animations attached to SceneKit objects, a list of events attached to an animation.
Declared In
SCNAssimpAnimSettings.h
Other Methods
– init
Makes an animation settings object with the default values.
- (id)initReturn Value
A settings object with the default values.
Discussion
Makes an animation settings object with the default values.
Declared In
SCNAssimpAnimSettings.m