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 beginTime

Discussion

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 timeOffset

Discussion

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 repeatCount

Discussion

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 repeatDuration

Discussion

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 duration

Discussion

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 speed

Discussion

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 autoreverses

Discussion

Determines if the receiver plays in the reverse upon completion.

Declared In

SCNAssimpAnimSettings.h

  fillMode

Determines if the receiver’s presentation is frozen or removed once its active duration has completed.

@property (copy) NSString *fillMode

Discussion

Determines if the receiver’s presentation is frozen or removed once its active duration has completed.

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 removedOnCompletion

Discussion

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 *timingFunction

Discussion

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> delegate

Discussion

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 usesSceneTimeBase

Discussion

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 fadeInDuration

Discussion

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 fadeOutDuration

Discussion

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*> *animationEvents

Discussion

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)init

Return Value

A settings object with the default values.

Discussion

Makes an animation settings object with the default values.

Declared In

SCNAssimpAnimSettings.m