tns-platform-declarations
Version:
Platform-specific TypeScript declarations for NativeScript for accessing native objects
2,063 lines (1,067 loc) • 116 kB
TypeScript
declare class SCNAccelerationConstraint extends SCNConstraint {
static accelerationConstraint(): SCNAccelerationConstraint;
static alloc(): SCNAccelerationConstraint; // inherited from NSObject
static new(): SCNAccelerationConstraint; // inherited from NSObject
damping: number;
decelerationDistance: number;
maximumLinearAcceleration: number;
maximumLinearVelocity: number;
}
declare class SCNAction extends NSObject implements NSCopying, NSSecureCoding {
static alloc(): SCNAction; // inherited from NSObject
static customActionWithDurationActionBlock(seconds: number, block: (p1: SCNNode, p2: number) => void): SCNAction;
static fadeInWithDuration(sec: number): SCNAction;
static fadeOpacityByDuration(factor: number, sec: number): SCNAction;
static fadeOpacityToDuration(opacity: number, sec: number): SCNAction;
static fadeOutWithDuration(sec: number): SCNAction;
static group(actions: NSArray<SCNAction> | SCNAction[]): SCNAction;
static hide(): SCNAction;
static javaScriptActionWithScriptDuration(script: string, seconds: number): SCNAction;
static moveByDuration(delta: SCNVector3, duration: number): SCNAction;
static moveByXYZDuration(deltaX: number, deltaY: number, deltaZ: number, duration: number): SCNAction;
static moveToDuration(location: SCNVector3, duration: number): SCNAction;
static new(): SCNAction; // inherited from NSObject
static playAudioSourceWaitForCompletion(source: SCNAudioSource, wait: boolean): SCNAction;
static removeFromParentNode(): SCNAction;
static repeatActionCount(action: SCNAction, count: number): SCNAction;
static repeatActionForever(action: SCNAction): SCNAction;
static rotateByAngleAroundAxisDuration(angle: number, axis: SCNVector3, duration: number): SCNAction;
static rotateByXYZDuration(xAngle: number, yAngle: number, zAngle: number, duration: number): SCNAction;
static rotateToAxisAngleDuration(axisAngle: SCNVector4, duration: number): SCNAction;
static rotateToXYZDuration(xAngle: number, yAngle: number, zAngle: number, duration: number): SCNAction;
static rotateToXYZDurationShortestUnitArc(xAngle: number, yAngle: number, zAngle: number, duration: number, shortestUnitArc: boolean): SCNAction;
static runBlock(block: (p1: SCNNode) => void): SCNAction;
static runBlockQueue(block: (p1: SCNNode) => void, queue: NSObject): SCNAction;
static scaleByDuration(scale: number, sec: number): SCNAction;
static scaleToDuration(scale: number, sec: number): SCNAction;
static sequence(actions: NSArray<SCNAction> | SCNAction[]): SCNAction;
static unhide(): SCNAction;
static waitForDuration(sec: number): SCNAction;
static waitForDurationWithRange(sec: number, durationRange: number): SCNAction;
duration: number;
speed: number;
timingFunction: (p1: number) => number;
timingMode: SCNActionTimingMode;
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
reversedAction(): SCNAction;
}
declare const enum SCNActionTimingMode {
Linear = 0,
EaseIn = 1,
EaseOut = 2,
EaseInEaseOut = 3
}
interface SCNActionable extends NSObjectProtocol {
actionKeys: NSArray<string>;
hasActions: boolean;
actionForKey(key: string): SCNAction;
removeActionForKey(key: string): void;
removeAllActions(): void;
runAction(action: SCNAction): void;
runActionCompletionHandler(action: SCNAction, block: () => void): void;
runActionForKey(action: SCNAction, key: string): void;
runActionForKeyCompletionHandler(action: SCNAction, key: string, block: () => void): void;
}
declare var SCNActionable: {
prototype: SCNActionable;
};
interface SCNAnimatable extends NSObjectProtocol {
animationKeys: NSArray<string>;
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
isAnimationForKeyPaused(key: string): boolean;
pauseAnimationForKey(key: string): void;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
resumeAnimationForKey(key: string): void;
setSpeedForAnimationKey(speed: number, key: string): void;
}
declare var SCNAnimatable: {
prototype: SCNAnimatable;
};
declare class SCNAnimation extends NSObject implements NSCopying, NSSecureCoding, SCNAnimationProtocol {
static alloc(): SCNAnimation; // inherited from NSObject
static animationNamed(animationName: string): SCNAnimation;
static animationWithCAAnimation(caAnimation: CAAnimation): SCNAnimation;
static animationWithContentsOfURL(animationUrl: NSURL): SCNAnimation;
static new(): SCNAnimation; // inherited from NSObject
additive: boolean;
animationDidStart: (p1: SCNAnimation, p2: SCNAnimatable) => void;
animationDidStop: (p1: SCNAnimation, p2: SCNAnimatable, p3: boolean) => void;
animationEvents: NSArray<SCNAnimationEvent>;
appliedOnCompletion: boolean;
autoreverses: boolean;
blendInDuration: number;
blendOutDuration: number;
cumulative: boolean;
duration: number;
fillsBackward: boolean;
fillsForward: boolean;
keyPath: string;
removedOnCompletion: boolean;
repeatCount: number;
startDelay: number;
timeOffset: number;
timingFunction: SCNTimingFunction;
usesSceneTimeBase: boolean;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class SCNAnimationEvent extends NSObject {
static alloc(): SCNAnimationEvent; // inherited from NSObject
static animationEventWithKeyTimeBlock(time: number, eventBlock: (p1: SCNAnimationProtocol, p2: any, p3: boolean) => void): SCNAnimationEvent;
static new(): SCNAnimationEvent; // inherited from NSObject
}
declare class SCNAnimationPlayer extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable {
static alloc(): SCNAnimationPlayer; // inherited from NSObject
static animationPlayerWithAnimation(animation: SCNAnimation): SCNAnimationPlayer;
static new(): SCNAnimationPlayer; // inherited from NSObject
readonly animation: SCNAnimation;
blendFactor: number;
paused: boolean;
speed: number;
readonly animationKeys: NSArray<string>; // inherited from SCNAnimatable
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
isAnimationForKeyPaused(key: string): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
pauseAnimationForKey(key: string): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
play(): void;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
respondsToSelector(aSelector: string): boolean;
resumeAnimationForKey(key: string): void;
retainCount(): number;
self(): this;
setSpeedForAnimationKey(speed: number, key: string): void;
stop(): void;
stopWithBlendOutDuration(duration: number): void;
}
interface SCNAnimationProtocol extends NSObjectProtocol {
}
declare var SCNAnimationProtocol: {
prototype: SCNAnimationProtocol;
};
declare const enum SCNAntialiasingMode {
None = 0,
Multisampling2X = 1,
Multisampling4X = 2
}
declare class SCNAudioPlayer extends NSObject {
static alloc(): SCNAudioPlayer; // inherited from NSObject
static audioPlayerWithAVAudioNode(audioNode: AVAudioNode): SCNAudioPlayer;
static audioPlayerWithSource(source: SCNAudioSource): SCNAudioPlayer;
static new(): SCNAudioPlayer; // inherited from NSObject
readonly audioNode: AVAudioNode;
readonly audioSource: SCNAudioSource;
didFinishPlayback: () => void;
willStartPlayback: () => void;
constructor(o: { AVAudioNode: AVAudioNode; });
constructor(o: { source: SCNAudioSource; });
initWithAVAudioNode(audioNode: AVAudioNode): this;
initWithSource(source: SCNAudioSource): this;
}
declare class SCNAudioSource extends NSObject implements NSCopying, NSSecureCoding {
static alloc(): SCNAudioSource; // inherited from NSObject
static audioSourceNamed(fileName: string): SCNAudioSource;
static new(): SCNAudioSource; // inherited from NSObject
loops: boolean;
positional: boolean;
rate: number;
reverbBlend: number;
shouldStream: boolean;
volume: number;
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
constructor(o: { fileNamed: string; });
constructor(o: { URL: NSURL; });
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
initWithFileNamed(name: string): this;
initWithURL(url: NSURL): this;
load(): void;
}
declare class SCNAvoidOccluderConstraint extends SCNConstraint {
static alloc(): SCNAvoidOccluderConstraint; // inherited from NSObject
static avoidOccluderConstraintWithTarget(target: SCNNode): SCNAvoidOccluderConstraint;
static new(): SCNAvoidOccluderConstraint; // inherited from NSObject
bias: number;
delegate: SCNAvoidOccluderConstraintDelegate;
occluderCategoryBitMask: number;
target: SCNNode;
}
interface SCNAvoidOccluderConstraintDelegate extends NSObjectProtocol {
avoidOccluderConstraintDidAvoidOccluderForNode?(constraint: SCNAvoidOccluderConstraint, occluder: SCNNode, node: SCNNode): void;
avoidOccluderConstraintShouldAvoidOccluderForNode?(constraint: SCNAvoidOccluderConstraint, occluder: SCNNode, node: SCNNode): boolean;
}
declare var SCNAvoidOccluderConstraintDelegate: {
prototype: SCNAvoidOccluderConstraintDelegate;
};
declare const enum SCNBillboardAxis {
X = 1,
Y = 2,
Z = 4,
All = 7
}
declare class SCNBillboardConstraint extends SCNConstraint {
static alloc(): SCNBillboardConstraint; // inherited from NSObject
static billboardConstraint(): SCNBillboardConstraint;
static new(): SCNBillboardConstraint; // inherited from NSObject
freeAxes: SCNBillboardAxis;
}
declare const enum SCNBlendMode {
Alpha = 0,
Add = 1,
Subtract = 2,
Multiply = 3,
Screen = 4,
Replace = 5,
Max = 6
}
interface SCNBoundingVolume extends NSObjectProtocol {
getBoundingBoxMinMax(min: interop.Pointer | interop.Reference<SCNVector3>, max: interop.Pointer | interop.Reference<SCNVector3>): boolean;
getBoundingSphereCenterRadius(center: interop.Pointer | interop.Reference<SCNVector3>, radius: interop.Pointer | interop.Reference<number>): boolean;
setBoundingBoxMinMax(min: interop.Pointer | interop.Reference<SCNVector3>, max: interop.Pointer | interop.Reference<SCNVector3>): void;
}
declare var SCNBoundingVolume: {
prototype: SCNBoundingVolume;
};
declare class SCNBox extends SCNGeometry {
static alloc(): SCNBox; // inherited from NSObject
static boxWithWidthHeightLengthChamferRadius(width: number, height: number, length: number, chamferRadius: number): SCNBox;
static geometry(): SCNBox; // inherited from SCNGeometry
static geometryWithMDLMesh(mdlMesh: MDLMesh): SCNBox; // inherited from SCNGeometry
static geometryWithSourcesElements(sources: NSArray<SCNGeometrySource> | SCNGeometrySource[], elements: NSArray<SCNGeometryElement> | SCNGeometryElement[]): SCNBox; // inherited from SCNGeometry
static new(): SCNBox; // inherited from NSObject
chamferRadius: number;
chamferSegmentCount: number;
height: number;
heightSegmentCount: number;
length: number;
lengthSegmentCount: number;
width: number;
widthSegmentCount: number;
}
declare const enum SCNBufferFrequency {
PerFrame = 0,
PerNode = 1,
PerShadable = 2
}
interface SCNBufferStream extends NSObjectProtocol {
writeBytesLength(bytes: interop.Pointer | interop.Reference<any>, length: number): void;
}
declare var SCNBufferStream: {
prototype: SCNBufferStream;
};
declare class SCNCamera extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable, SCNTechniqueSupport {
static alloc(): SCNCamera; // inherited from NSObject
static camera(): SCNCamera;
static cameraWithMDLCamera(mdlCamera: MDLCamera): SCNCamera;
static new(): SCNCamera; // inherited from NSObject
aperture: number;
apertureBladeCount: number;
automaticallyAdjustsZRange: boolean;
averageGray: number;
bloomBlurRadius: number;
bloomIntensity: number;
bloomIterationCount: number;
bloomIterationSpread: number;
bloomThreshold: number;
categoryBitMask: number;
colorFringeIntensity: number;
colorFringeStrength: number;
readonly colorGrading: SCNMaterialProperty;
contrast: number;
exposureAdaptationBrighteningSpeedFactor: number;
exposureAdaptationDarkeningSpeedFactor: number;
exposureOffset: number;
fStop: number;
fieldOfView: number;
focalBlurRadius: number;
focalBlurSampleCount: number;
focalDistance: number;
focalLength: number;
focalSize: number;
focusDistance: number;
grainIntensity: number;
grainIsColored: boolean;
grainScale: number;
maximumExposure: number;
minimumExposure: number;
motionBlurIntensity: number;
name: string;
orthographicScale: number;
projectionDirection: SCNCameraProjectionDirection;
projectionTransform: SCNMatrix4;
saturation: number;
screenSpaceAmbientOcclusionBias: number;
screenSpaceAmbientOcclusionDepthThreshold: number;
screenSpaceAmbientOcclusionIntensity: number;
screenSpaceAmbientOcclusionNormalThreshold: number;
screenSpaceAmbientOcclusionRadius: number;
sensorHeight: number;
usesOrthographicProjection: boolean;
vignettingIntensity: number;
vignettingPower: number;
wantsDepthOfField: boolean;
wantsExposureAdaptation: boolean;
wantsHDR: boolean;
whiteBalanceTemperature: number;
whiteBalanceTint: number;
whitePoint: number;
xFov: number;
yFov: number;
zFar: number;
zNear: number;
readonly animationKeys: NSArray<string>; // inherited from SCNAnimatable
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
technique: SCNTechnique; // inherited from SCNTechniqueSupport
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
isAnimationForKeyPaused(key: string): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
pauseAnimationForKey(key: string): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
projectionTransformWithViewportSize(viewportSize: CGSize): SCNMatrix4;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
respondsToSelector(aSelector: string): boolean;
resumeAnimationForKey(key: string): void;
retainCount(): number;
self(): this;
setSpeedForAnimationKey(speed: number, key: string): void;
}
interface SCNCameraControlConfiguration extends NSObjectProtocol {
allowsTranslation: boolean;
autoSwitchToFreeCamera: boolean;
flyModeVelocity: number;
panSensitivity: number;
rotationSensitivity: number;
truckSensitivity: number;
}
declare var SCNCameraControlConfiguration: {
prototype: SCNCameraControlConfiguration;
};
declare class SCNCameraController extends NSObject {
static alloc(): SCNCameraController; // inherited from NSObject
static new(): SCNCameraController; // inherited from NSObject
automaticTarget: boolean;
delegate: SCNCameraControllerDelegate;
inertiaEnabled: boolean;
inertiaFriction: number;
readonly inertiaRunning: boolean;
interactionMode: SCNInteractionMode;
maximumHorizontalAngle: number;
maximumVerticalAngle: number;
minimumHorizontalAngle: number;
minimumVerticalAngle: number;
pointOfView: SCNNode;
target: SCNVector3;
worldUp: SCNVector3;
beginInteractionWithViewport(location: CGPoint, viewport: CGSize): void;
clearRoll(): void;
continueInteractionWithViewportSensitivity(location: CGPoint, viewport: CGSize, sensitivity: number): void;
dollyByOnScreenPointViewport(delta: number, point: CGPoint, viewport: CGSize): void;
dollyToTarget(delta: number): void;
endInteractionWithViewportVelocity(location: CGPoint, viewport: CGSize, velocity: CGPoint): void;
frameNodes(nodes: NSArray<SCNNode> | SCNNode[]): void;
rollAroundTarget(delta: number): void;
rollByAroundScreenPointViewport(delta: number, point: CGPoint, viewport: CGSize): void;
rotateByXY(deltaX: number, deltaY: number): void;
stopInertia(): void;
translateInCameraSpaceByXYZ(deltaX: number, deltaY: number, deltaX2: number): void;
}
interface SCNCameraControllerDelegate extends NSObjectProtocol {
cameraInertiaDidEndForController?(cameraController: SCNCameraController): void;
cameraInertiaWillStartForController?(cameraController: SCNCameraController): void;
}
declare var SCNCameraControllerDelegate: {
prototype: SCNCameraControllerDelegate;
};
declare const enum SCNCameraProjectionDirection {
Vertical = 0,
Horizontal = 1
}
declare class SCNCapsule extends SCNGeometry {
static alloc(): SCNCapsule; // inherited from NSObject
static capsuleWithCapRadiusHeight(capRadius: number, height: number): SCNCapsule;
static geometry(): SCNCapsule; // inherited from SCNGeometry
static geometryWithMDLMesh(mdlMesh: MDLMesh): SCNCapsule; // inherited from SCNGeometry
static geometryWithSourcesElements(sources: NSArray<SCNGeometrySource> | SCNGeometrySource[], elements: NSArray<SCNGeometryElement> | SCNGeometryElement[]): SCNCapsule; // inherited from SCNGeometry
static new(): SCNCapsule; // inherited from NSObject
capRadius: number;
capSegmentCount: number;
height: number;
heightSegmentCount: number;
radialSegmentCount: number;
}
declare const enum SCNChamferMode {
Both = 0,
Front = 1,
Back = 2
}
declare const enum SCNColorMask {
None = 0,
Red = 8,
Green = 4,
Blue = 2,
Alpha = 1,
All = 15
}
declare class SCNCone extends SCNGeometry {
static alloc(): SCNCone; // inherited from NSObject
static coneWithTopRadiusBottomRadiusHeight(topRadius: number, bottomRadius: number, height: number): SCNCone;
static geometry(): SCNCone; // inherited from SCNGeometry
static geometryWithMDLMesh(mdlMesh: MDLMesh): SCNCone; // inherited from SCNGeometry
static geometryWithSourcesElements(sources: NSArray<SCNGeometrySource> | SCNGeometrySource[], elements: NSArray<SCNGeometryElement> | SCNGeometryElement[]): SCNCone; // inherited from SCNGeometry
static new(): SCNCone; // inherited from NSObject
bottomRadius: number;
height: number;
heightSegmentCount: number;
radialSegmentCount: number;
topRadius: number;
}
declare var SCNConsistencyElementIDErrorKey: string;
declare var SCNConsistencyElementTypeErrorKey: string;
declare const SCNConsistencyInvalidArgumentError: number;
declare const SCNConsistencyInvalidCountError: number;
declare const SCNConsistencyInvalidURIError: number;
declare var SCNConsistencyLineNumberErrorKey: string;
declare const SCNConsistencyMissingAttributeError: number;
declare const SCNConsistencyMissingElementError: number;
declare const SCNConsistencyXMLSchemaValidationError: number;
declare class SCNConstraint extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable {
static alloc(): SCNConstraint; // inherited from NSObject
static new(): SCNConstraint; // inherited from NSObject
enabled: boolean;
incremental: boolean;
influenceFactor: number;
readonly animationKeys: NSArray<string>; // inherited from SCNAnimatable
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
isAnimationForKeyPaused(key: string): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
pauseAnimationForKey(key: string): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
respondsToSelector(aSelector: string): boolean;
resumeAnimationForKey(key: string): void;
retainCount(): number;
self(): this;
setSpeedForAnimationKey(speed: number, key: string): void;
}
declare const enum SCNCullMode {
Back = 0,
Front = 1
}
declare class SCNCylinder extends SCNGeometry {
static alloc(): SCNCylinder; // inherited from NSObject
static cylinderWithRadiusHeight(radius: number, height: number): SCNCylinder;
static geometry(): SCNCylinder; // inherited from SCNGeometry
static geometryWithMDLMesh(mdlMesh: MDLMesh): SCNCylinder; // inherited from SCNGeometry
static geometryWithSourcesElements(sources: NSArray<SCNGeometrySource> | SCNGeometrySource[], elements: NSArray<SCNGeometryElement> | SCNGeometryElement[]): SCNCylinder; // inherited from SCNGeometry
static new(): SCNCylinder; // inherited from NSObject
height: number;
heightSegmentCount: number;
radialSegmentCount: number;
radius: number;
}
declare const enum SCNDebugOptions {
None = 0,
ShowPhysicsShapes = 1,
ShowBoundingBoxes = 2,
ShowLightInfluences = 4,
ShowLightExtents = 8,
ShowPhysicsFields = 16,
ShowWireframe = 32,
RenderAsWireframe = 64,
ShowSkeletons = 128,
ShowCreases = 256,
ShowConstraints = 512,
ShowCameras = 1024
}
declare var SCNDetailedErrorsKey: string;
declare class SCNDistanceConstraint extends SCNConstraint {
static alloc(): SCNDistanceConstraint; // inherited from NSObject
static distanceConstraintWithTarget(target: SCNNode): SCNDistanceConstraint;
static new(): SCNDistanceConstraint; // inherited from NSObject
maximumDistance: number;
minimumDistance: number;
target: SCNNode;
}
declare var SCNErrorDomain: string;
declare function SCNExportJavaScriptModule(context: JSContext): void;
declare const enum SCNFillMode {
Fill = 0,
Lines = 1
}
declare const enum SCNFilterMode {
None = 0,
Nearest = 1,
Linear = 2
}
declare class SCNFloor extends SCNGeometry {
static alloc(): SCNFloor; // inherited from NSObject
static floor(): SCNFloor;
static geometry(): SCNFloor; // inherited from SCNGeometry
static geometryWithMDLMesh(mdlMesh: MDLMesh): SCNFloor; // inherited from SCNGeometry
static geometryWithSourcesElements(sources: NSArray<SCNGeometrySource> | SCNGeometrySource[], elements: NSArray<SCNGeometryElement> | SCNGeometryElement[]): SCNFloor; // inherited from SCNGeometry
static new(): SCNFloor; // inherited from NSObject
length: number;
reflectionCategoryBitMask: number;
reflectionFalloffEnd: number;
reflectionFalloffStart: number;
reflectionResolutionScaleFactor: number;
reflectivity: number;
width: number;
}
declare class SCNGeometry extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable, SCNBoundingVolume, SCNShadable {
static alloc(): SCNGeometry; // inherited from NSObject
static geometry(): SCNGeometry;
static geometryWithMDLMesh(mdlMesh: MDLMesh): SCNGeometry;
static geometryWithSourcesElements(sources: NSArray<SCNGeometrySource> | SCNGeometrySource[], elements: NSArray<SCNGeometryElement> | SCNGeometryElement[]): SCNGeometry;
static new(): SCNGeometry; // inherited from NSObject
edgeCreasesElement: SCNGeometryElement;
edgeCreasesSource: SCNGeometrySource;
firstMaterial: SCNMaterial;
readonly geometryElementCount: number;
readonly geometryElements: NSArray<SCNGeometryElement>;
readonly geometrySources: NSArray<SCNGeometrySource>;
levelsOfDetail: NSArray<SCNLevelOfDetail>;
materials: NSArray<SCNMaterial>;
name: string;
subdivisionLevel: number;
tessellator: SCNGeometryTessellator;
wantsAdaptiveSubdivision: boolean;
readonly animationKeys: NSArray<string>; // inherited from SCNAnimatable
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
program: SCNProgram; // inherited from SCNShadable
shaderModifiers: NSDictionary<string, string>; // inherited from SCNShadable
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
geometryElementAtIndex(elementIndex: number): SCNGeometryElement;
geometrySourcesForSemantic(semantic: string): NSArray<SCNGeometrySource>;
getBoundingBoxMinMax(min: interop.Pointer | interop.Reference<SCNVector3>, max: interop.Pointer | interop.Reference<SCNVector3>): boolean;
getBoundingSphereCenterRadius(center: interop.Pointer | interop.Reference<SCNVector3>, radius: interop.Pointer | interop.Reference<number>): boolean;
handleBindingOfSymbolUsingBlock(symbol: string, block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void): void;
handleUnbindingOfSymbolUsingBlock(symbol: string, block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void): void;
initWithCoder(coder: NSCoder): this;
insertMaterialAtIndex(material: SCNMaterial, index: number): void;
isAnimationForKeyPaused(key: string): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
materialWithName(name: string): SCNMaterial;
pauseAnimationForKey(key: string): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
removeMaterialAtIndex(index: number): void;
replaceMaterialAtIndexWithMaterial(index: number, material: SCNMaterial): void;
respondsToSelector(aSelector: string): boolean;
resumeAnimationForKey(key: string): void;
retainCount(): number;
self(): this;
setBoundingBoxMinMax(min: interop.Pointer | interop.Reference<SCNVector3>, max: interop.Pointer | interop.Reference<SCNVector3>): void;
setSpeedForAnimationKey(speed: number, key: string): void;
}
declare class SCNGeometryElement extends NSObject implements NSSecureCoding {
static alloc(): SCNGeometryElement; // inherited from NSObject
static geometryElementWithDataPrimitiveTypePrimitiveCountBytesPerIndex(data: NSData, primitiveType: SCNGeometryPrimitiveType, primitiveCount: number, bytesPerIndex: number): SCNGeometryElement;
static geometryElementWithMDLSubmesh(mdlSubMesh: MDLSubmesh): SCNGeometryElement;
static new(): SCNGeometryElement; // inherited from NSObject
readonly bytesPerIndex: number;
readonly data: NSData;
maximumPointScreenSpaceRadius: number;
minimumPointScreenSpaceRadius: number;
pointSize: number;
readonly primitiveCount: number;
primitiveRange: NSRange;
readonly primitiveType: SCNGeometryPrimitiveType;
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
}
declare const enum SCNGeometryPrimitiveType {
Triangles = 0,
TriangleStrip = 1,
Line = 2,
Point = 3,
Polygon = 4
}
declare class SCNGeometrySource extends NSObject implements NSSecureCoding {
static alloc(): SCNGeometrySource; // inherited from NSObject
static geometrySourceWithBufferVertexFormatSemanticVertexCountDataOffsetDataStride(mtlBuffer: MTLBuffer, vertexFormat: MTLVertexFormat, semantic: string, vertexCount: number, offset: number, stride: number): SCNGeometrySource;
static geometrySourceWithDataSemanticVectorCountFloatComponentsComponentsPerVectorBytesPerComponentDataOffsetDataStride(data: NSData, semantic: string, vectorCount: number, floatComponents: boolean, componentsPerVector: number, bytesPerComponent: number, offset: number, stride: number): SCNGeometrySource;
static geometrySourceWithNormalsCount(normals: interop.Pointer | interop.Reference<SCNVector3>, count: number): SCNGeometrySource;
static geometrySourceWithTextureCoordinatesCount(texcoord: interop.Pointer | interop.Reference<CGPoint>, count: number): SCNGeometrySource;
static geometrySourceWithVerticesCount(vertices: interop.Pointer | interop.Reference<SCNVector3>, count: number): SCNGeometrySource;
static new(): SCNGeometrySource; // inherited from NSObject
readonly bytesPerComponent: number;
readonly componentsPerVector: number;
readonly data: NSData;
readonly dataOffset: number;
readonly dataStride: number;
readonly floatComponents: boolean;
readonly semantic: string;
readonly vectorCount: number;
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
}
declare var SCNGeometrySourceSemanticBoneIndices: string;
declare var SCNGeometrySourceSemanticBoneWeights: string;
declare var SCNGeometrySourceSemanticColor: string;
declare var SCNGeometrySourceSemanticEdgeCrease: string;
declare var SCNGeometrySourceSemanticNormal: string;
declare var SCNGeometrySourceSemanticTangent: string;
declare var SCNGeometrySourceSemanticTexcoord: string;
declare var SCNGeometrySourceSemanticVertex: string;
declare var SCNGeometrySourceSemanticVertexCrease: string;
declare class SCNGeometryTessellator extends NSObject implements NSCopying, NSSecureCoding {
static alloc(): SCNGeometryTessellator; // inherited from NSObject
static new(): SCNGeometryTessellator; // inherited from NSObject
adaptive: boolean;
edgeTessellationFactor: number;
insideTessellationFactor: number;
maximumEdgeLength: number;
screenSpace: boolean;
smoothingMode: SCNTessellationSmoothingMode;
tessellationFactorScale: number;
tessellationPartitionMode: MTLTessellationPartitionMode;
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
}
declare var SCNHitTestBackFaceCullingKey: string;
declare var SCNHitTestBoundingBoxOnlyKey: string;
declare var SCNHitTestClipToZRangeKey: string;
declare var SCNHitTestFirstFoundOnlyKey: string;
declare var SCNHitTestIgnoreChildNodesKey: string;
declare var SCNHitTestIgnoreHiddenNodesKey: string;
declare var SCNHitTestOptionCategoryBitMask: string;
declare var SCNHitTestOptionIgnoreLightArea: string;
declare var SCNHitTestOptionSearchMode: string;
declare class SCNHitTestResult extends NSObject {
static alloc(): SCNHitTestResult; // inherited from NSObject
static new(): SCNHitTestResult; // inherited from NSObject
readonly boneNode: SCNNode;
readonly faceIndex: number;
readonly geometryIndex: number;
readonly localCoordinates: SCNVector3;
readonly localNormal: SCNVector3;
readonly modelTransform: SCNMatrix4;
readonly node: SCNNode;
readonly simdLocalCoordinates: interop.Reference<number>;
readonly simdLocalNormal: interop.Reference<number>;
readonly simdModelTransform: simd_float4x4;
readonly simdWorldCoordinates: interop.Reference<number>;
readonly simdWorldNormal: interop.Reference<number>;
readonly worldCoordinates: SCNVector3;
readonly worldNormal: SCNVector3;
textureCoordinatesWithMappingChannel(channel: number): CGPoint;
}
declare var SCNHitTestRootNodeKey: string;
declare const enum SCNHitTestSearchMode {
Closest = 0,
All = 1,
Any = 2
}
declare var SCNHitTestSortResultsKey: string;
declare class SCNIKConstraint extends SCNConstraint {
static alloc(): SCNIKConstraint; // inherited from NSObject
static inverseKinematicsConstraintWithChainRootNode(chainRootNode: SCNNode): SCNIKConstraint;
static new(): SCNIKConstraint; // inherited from NSObject
readonly chainRootNode: SCNNode;
targetPosition: SCNVector3;
constructor(o: { chainRootNode: SCNNode; });
initWithChainRootNode(chainRootNode: SCNNode): this;
maxAllowedRotationAngleForJoint(node: SCNNode): number;
setMaxAllowedRotationAngleForJoint(angle: number, node: SCNNode): void;
}
declare const enum SCNInteractionMode {
Fly = 0,
OrbitTurntable = 1,
OrbitAngleMapping = 2,
OrbitCenteredArcball = 3,
OrbitArcball = 4,
Pan = 5,
Truck = 6
}
declare class SCNLevelOfDetail extends NSObject implements NSCopying, NSSecureCoding {
static alloc(): SCNLevelOfDetail; // inherited from NSObject
static levelOfDetailWithGeometryScreenSpaceRadius(geometry: SCNGeometry, radius: number): SCNLevelOfDetail;
static levelOfDetailWithGeometryWorldSpaceDistance(geometry: SCNGeometry, distance: number): SCNLevelOfDetail;
static new(): SCNLevelOfDetail; // inherited from NSObject
readonly geometry: SCNGeometry;
readonly screenSpaceRadius: number;
readonly worldSpaceDistance: number;
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
}
declare class SCNLight extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable, SCNTechniqueSupport {
static alloc(): SCNLight; // inherited from NSObject
static light(): SCNLight;
static lightWithMDLLight(mdlLight: MDLLight): SCNLight;
static new(): SCNLight; // inherited from NSObject
IESProfileURL: NSURL;
areaExtents: interop.Reference<number>;
areaPolygonVertices: NSArray<NSValue>;
areaType: SCNLightAreaType;
attenuationEndDistance: number;
attenuationFalloffExponent: number;
attenuationStartDistance: number;
automaticallyAdjustsShadowProjection: boolean;
castsShadow: boolean;
categoryBitMask: number;
color: any;
doubleSided: boolean;
drawsArea: boolean;
forcesBackFaceCasters: boolean;
readonly gobo: SCNMaterialProperty;
intensity: number;
maximumShadowDistance: number;
name: string;
orthographicScale: number;
parallaxCenterOffset: interop.Reference<number>;
parallaxCorrectionEnabled: boolean;
parallaxExtentsFactor: interop.Reference<number>;
readonly probeEnvironment: SCNMaterialProperty;
probeExtents: interop.Reference<number>;
probeOffset: interop.Reference<number>;
probeType: SCNLightProbeType;
probeUpdateType: SCNLightProbeUpdateType;
sampleDistributedShadowMaps: boolean;
shadowBias: number;
shadowCascadeCount: number;
shadowCascadeSplittingFactor: number;
shadowColor: any;
shadowMapSize: CGSize;
shadowMode: SCNShadowMode;
shadowRadius: number;
shadowSampleCount: number;
readonly sphericalHarmonicsCoefficients: NSData;
spotInnerAngle: number;
spotOuterAngle: number;
temperature: number;
type: string;
zFar: number;
zNear: number;
readonly animationKeys: NSArray<string>; // inherited from SCNAnimatable
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
technique: SCNTechnique; // inherited from SCNTechniqueSupport
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
isAnimationForKeyPaused(key: string): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
pauseAnimationForKey(key: string): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
respondsToSelector(aSelector: string): boolean;
resumeAnimationForKey(key: string): void;
retainCount(): number;
self(): this;
setSpeedForAnimationKey(speed: number, key: string): void;
}
declare const enum SCNLightAreaType {
Rectangle = 1,
Polygon = 4
}
declare const enum SCNLightProbeType {
Irradiance = 0,
Radiance = 1
}
declare const enum SCNLightProbeUpdateType {
Never = 0,
Realtime = 1
}
declare var SCNLightTypeAmbient: string;
declare var SCNLightTypeArea: string;
declare var SCNLightTypeDirectional: string;
declare var SCNLightTypeIES: string;
declare var SCNLightTypeOmni: string;
declare var SCNLightTypeProbe: string;
declare var SCNLightTypeSpot: string;
declare var SCNLightingModelBlinn: string;
declare var SCNLightingModelConstant: string;
declare var SCNLightingModelLambert: string;
declare var SCNLightingModelPhong: string;
declare var SCNLightingModelPhysicallyBased: string;
declare var SCNLightingModelShadowOnly: string;
declare class SCNLookAtConstraint extends SCNConstraint {
static alloc(): SCNLookAtConstraint; // inherited from NSObject
static lookAtConstraintWithTarget(target: SCNNode): SCNLookAtConstraint;
static new(): SCNLookAtConstraint; // inherited from NSObject
gimbalLockEnabled: boolean;
localFront: SCNVector3;
target: SCNNode;
targetOffset: SCNVector3;
worldUp: SCNVector3;
setTarget(target: SCNNode): void;
}
declare class SCNMaterial extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable, SCNShadable {
static alloc(): SCNMaterial; // inherited from NSObject
static material(): SCNMaterial;
static materialWithMDLMaterial(mdlMaterial: MDLMaterial): SCNMaterial;
static new(): SCNMaterial; // inherited from NSObject
readonly ambient: SCNMaterialProperty;
readonly ambientOcclusion: SCNMaterialProperty;
blendMode: SCNBlendMode;
readonly clearCoat: SCNMaterialProperty;
readonly clearCoatNormal: SCNMaterialProperty;
readonly clearCoatRoughness: SCNMaterialProperty;
colorBufferWriteMask: SCNColorMask;
cullMode: SCNCullMode;
readonly diffuse: SCNMaterialProperty;
readonly displacement: SCNMaterialProperty;
doubleSided: boolean;
readonly emission: SCNMaterialProperty;
fillMode: SCNFillMode;
fresnelExponent: number;
lightingModelName: string;
litPerPixel: boolean;
locksAmbientWithDiffuse: boolean;
readonly metalness: SCNMaterialProperty;
readonly multiply: SCNMaterialProperty;
name: string;
readonly normal: SCNMaterialProperty;
readsFromDepthBuffer: boolean;
readonly reflective: SCNMaterialProperty;
readonly roughness: SCNMaterialProperty;
readonly selfIllumination: SCNMaterialProperty;
shininess: number;
readonly specular: SCNMaterialProperty;
transparency: number;
transparencyMode: SCNTransparencyMode;
readonly transparent: SCNMaterialProperty;
writesToDepthBuffer: boolean;
readonly animationKeys: NSArray<string>; // inherited from SCNAnimatable
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
program: SCNProgram; // inherited from SCNShadable
shaderModifiers: NSDictionary<string, string>; // inherited from SCNShadable
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
encodeWithCoder(coder: NSCoder): void;
handleBindingOfSymbolUsingBlock(symbol: string, block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void): void;
handleUnbindingOfSymbolUsingBlock(symbol: string, block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void): void;
initWithCoder(coder: NSCoder): this;
isAnimationForKeyPaused(key: string): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
pauseAnimationForKey(key: string): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
respondsToSelector(aSelector: string): boolean;
resumeAnimationForKey(key: string): void;
retainCount(): number;
self(): this;
setSpeedForAnimationKey(speed: number, key: string): void;
}
declare class SCNMaterialProperty extends NSObject implements NSSecureCoding, SCNAnimatable {
static alloc(): SCNMaterialProperty; // inherited from NSObject
static materialPropertyWithContents(contents: any): SCNMaterialProperty;
static new(): SCNMaterialProperty; // inherited from NSObject
borderColor: any;
contents: any;
contentsTransform: SCNMatrix4;
intensity: number;
magnificationFilter: SCNFilterMode;
mappingChannel: number;
maxAnisotropy: number;
minificationFilter: SCNFilterMode;
mipFilter: SCNFilterMode;
textureComponents: SCNColorMask;
wrapS: SCNWrapMode;
wrapT: SCNWrapMode;
readonly animationKeys: NSArray<string>; // inherited from SCNAnimatable
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
addAnimationForKey(animation: SCNAnimationProtocol, key: string): void;
addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string): void;
animationForKey(key: string): CAAnimation;
animationPlayerForKey(key: string): SCNAnimationPlayer;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
encodeWithCoder(coder: NSCoder): void;
initWithCoder(coder: NSCoder): this;
isAnimationForKeyPaused(key: string): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
pauseAnimationForKey(key: string): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
removeAllAnimations(): void;
removeAnimationForKey(key: string): void;
removeAnimationForKeyBlendOutDuration(key: string, duration: number): void;
removeAnimationForKeyFadeOutDuration(key: string, duration: number): void;
respondsToSelector(aSelector: string): boolean;
resumeAnimationForKey(key: string): void;
retainCount(): number;
self(): this;
setSpeedForAnimationKey(speed: number, key: string): void;
}
interface