1{ Parsed from SceneKit.framework SCNMorpher.h } 2 3 4{$ifdef TYPES} 5type 6 SCNMorpherPtr = ^SCNMorpher; 7{$endif} 8 9{$ifdef TYPES} 10type 11 SCNMorpherCalculationMode = NSInteger; 12 SCNMorpherCalculationModePtr = ^SCNMorpherCalculationMode; 13 14const 15 SCNMorpherCalculationModeNormalized = 0; 16 SCNMorpherCalculationModeAdditive = 1; 17{$endif} 18 19{$ifdef CLASSES} 20 21type 22 SCNMorpher = objcclass external (NSObject, SCNAnimatableProtocol, NSSecureCodingProtocol) 23 private 24 _reserved: id; 25 public 26 procedure setTargets(newValue: NSArray); message 'setTargets:'; 27 function targets: NSArray; message 'targets'; 28 procedure setWeight_forTargetAtIndex (weight: CGFloat; targetIndex: NSUInteger); message 'setWeight:forTargetAtIndex:'; 29 function weightForTargetAtIndex (targetIndex: NSUInteger): CGFloat; message 'weightForTargetAtIndex:'; 30 procedure setCalculationMode(newValue: SCNMorpherCalculationMode); message 'setCalculationMode:'; 31 function calculationMode: SCNMorpherCalculationMode; message 'calculationMode'; 32 33 { Adopted protocols } 34 procedure addAnimation_forKey (animation: CAAnimation; key: NSString); message 'addAnimation:forKey:'; 35 function animationForKey (key: NSString): CAAnimation; message 'animationForKey:'; 36 function animationKeys: NSArray; message 'animationKeys'; 37 procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:'; 38 function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:'; 39 function isAnimationForKeyPaused (key: NSString): ObjCBOOL; message 'isAnimationForKeyPaused:'; { available in 10_9, 8_0 } 40 procedure pauseAnimationForKey (key: NSString); message 'pauseAnimationForKey:'; { available in 10_9, 8_0 } 41 procedure removeAllAnimations; message 'removeAllAnimations'; 42 procedure removeAnimationForKey (key: NSString); message 'removeAnimationForKey:'; 43 procedure removeAnimationForKey_fadeOutDuration (key: NSString; duration: CGFloat); message 'removeAnimationForKey:fadeOutDuration:'; { available in 10_10, 8_0 } 44 procedure resumeAnimationForKey (key: NSString); message 'resumeAnimationForKey:'; { available in 10_9, 8_0 } 45 class function supportsSecureCoding: ObjCBOOL; message 'supportsSecureCoding'; 46 end; 47{$endif} 48 49