SCNAssimpAnimation Class Reference

Inherits from SCNScene
Declared in SCNAssimpAnimation.h
SCNAssimpAnimation.m

Overview

An object that contains the skeletal key frame animations for the bones which are a part of the animation.

Animation data

  key

The animation key.

@property (readonly, nonatomic) NSString *key

Discussion

The animation key.

Declared In

SCNAssimpAnimation.m

  frameAnims

The dictionary of CAKeyframeAnimation objects, where each key is a bone name.

@property (readonly, nonatomic) NSDictionary *frameAnims

Discussion

The dictionary of CAKeyframeAnimation objects, where each key is a bone name.

Declared In

SCNAssimpAnimation.h

Creating a scene animation

– initWithKey:frameAnims:

Create a scene animation with a name and a dictionary of key frame animations for the bones in the animation.

- (id)initWithKey:(NSString *)key frameAnims:(NSDictionary *)anims

Parameters

key

The animation key.

anims

The dictionary of key frame animations.

Return Value

A new scene animation object.

Discussion

Create a scene animation with a name and a dictionary of key frame animations for the bones in the animation.

Declared In

SCNAssimpAnimation.h