References
Class Summary
Static Public Class Summary | ||
public |
|
|
public |
The AVAudioNode class is an abstract class for an audio generation, processing, or I/O block. |
|
public |
AjaxRequest class |
|
public |
BinaryRequest class |
|
public |
The abstract superclass for Core Animation animations. |
|
public |
An object that allows multiple animations to be grouped and run concurrently. |
|
public |
An object that provides basic, single-keyframe animation capabilities for a layer property. |
|
public |
An object that provides keyframe animation capabilities for a layer object. |
|
public |
A function that defines the pacing of an animation as a timing curve. |
|
public |
An abstract subclass of CAAnimation for creating animations that manipulate the value of layer properties. |
|
public |
Defines the standard transform matrix used throughout Core Animation. |
|
public |
A mutable graphics path: a mathematical description of shapes or lines to be drawn in a graphics context. |
|
public |
An immutable graphics path: a mathematical description of shapes or lines to be drawn in a graphics context. |
|
public |
A structure that contains a point in a two-dimensional coordinate system. |
|
public |
A structure that contains the location and dimensions of a rectangle. |
|
public |
A structure that contains width and height values. |
|
public |
A structure that contains a two-dimensional vector. |
|
public |
DispatchObject is the base class for many dispatch types, including DispatchQueue, DispatchGroup, and DispatchSource. |
|
public |
DispatchQueue manages the execution of work items. |
|
public |
DispatchTime represents a point in time relative to the default clock with nanosecond precision. |
|
public |
|
|
public |
|
|
public |
A representation of a physical game controller, connected to the device either physically or through a wireless connection. |
|
public |
A control element measuring movement along a particular axis. |
|
public |
A control element measuring a button press. |
|
public |
A control element associated with a directional pad or a thumbstick. |
|
public |
An input associated with a physical control, such as a button or thumbstick. |
|
public |
The extended set of gamepad controls. |
|
public |
The standard set of gamepad controls. |
|
public |
The controls provided by the Siri Remote. |
|
public |
A component that moves a game entity according to a set of goals and realistic constraints. |
|
public |
An agent that operates in a two-dimensional space. |
|
public |
A set of goals that together influence the movement of an agent. |
|
public |
The abstract superclass for creating objects that add specific gameplay functionality to an entity. |
|
public |
An object relevant to gameplay, with functionality entirely provided by a collection of component objects. |
|
public |
An influence that motivates the movement of one or more agents. |
|
public |
A polygonal path that can be followed by an agent. |
|
public |
|
|
public |
A container for associating GameplayKit objects with a SpriteKit scene. |
|
public |
dummy class for NSKeyedArchiver/Unarchiver |
|
public |
The NSCoder abstract class declares the interface used by concrete subclasses to transfer objects and other values between memory and some other format. |
|
public |
dummy class for NSKeyedArchiver/Unarchiver |
|
public |
dummy class for NSColorSpace |
|
public |
dummy class for NSKeyedArchiver/Unarchiver |
|
public |
dummy class for NSKeyedArchiver/Unarchiver |
|
public |
NSKeyedArchiver, a concrete subclass of NSCoder, provides a way to encode objects (and scalar values) into an architecture-independent format that can be stored in a file. |
|
public |
NSKeyedUnarchiver, a concrete subclass of NSCoder, defines methods for decoding a set of named objects (and scalar values) from a keyed archive. |
|
public |
dummy class for NSKeyedArchiver/Unarchiver |
|
public |
dummy class for NSKeyedArchiver/Unarchiver |
|
public |
dummy class for NSKeyedArchiver/Unarchiver |
|
public |
An object containing information broadcast to registered observers that bridges to Notification; use NSNotification when you need reference semantics or other Foundation-specific behavior. |
|
public |
The root class of most Objective-C class hierarchies, from which subclasses inherit a basic interface to the runtime system and the ability to behave as Objective-C objects. |
|
public |
dummy class for NSURL |
|
public |
An NSValue object is a simple container for a single C or Objective-C data item. |
|
public |
A notification dispatch mechanism that enables the broadcast of information to registered observers. |
|
public |
|
|
public |
A simple, reusable animation that changes attributes of any node you attach it to. |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
A container for a closure to be executed at a specific time during playback of an animation. |
|
public |
|
|
public |
A controller for playback of a positional audio source in a SceneKit scene. |
|
public |
A simple, reusable audio source—music or sound effects loaded from a file—for use in positional audio playback. |
|
public |
Options for locking the orientation of nodes affected by a billboard constraint. |
|
public |
A constraint that orients a node to always point toward the current camera. |
|
public |
A six-sided polyhedron geometry whose faces are all rectangles, optionally with rounded edges and corners. |
|
public |
A set of camera attributes that can be attached to a node to provide a point of view for displaying the scene. |
|
public |
A right circular cylinder geometry whose ends are capped with hemispheres. |
|
public |
A right circular cone or frustum geometry. |
|
public |
The abstract superclass for objects that automatically adjust the position, rotation, or scale of a node based on rules you define. |
|
public |
A right circular cylinder geometry. |
|
public |
Options for drawing overlays with SceneKit content that can aid in debugging, used with the debugOptions property. |
|
public |
|
|
public |
An infinite plane that can optionally display a reflection of the scene above it. |
|
public |
A three-dimensional shape (also called a model or mesh) that can be displayed in a scene, with attached materials that define its appearance. |
|
public |
A container for index data describing how vertices connect to define a three-dimensional object, or geometry. |
|
public |
A container for vertex data forming part of the definition for a three-dimensional object, or geometry. |
|
public |
|
|
public |
Detailed information about a result from searching for elements of a scene located at a specified point, or along a specified line segment (or ray). |
|
public |
A constraint that applies inverse kinematics to make a chain of nodes “reach” toward a target point. |
|
public |
A Core Animation layer that renders a SceneKit scene as its content. |
|
public |
An object that defines alternate resolutions for a geometry that SceneKit can automatically substitute to improve rendering performance. |
|
public |
A light source that can be attached to a node to illuminate the scene. |
|
public |
A constraint that orients a node to always point toward a specified other node. |
|
public |
A set of shading attributes that define the appearance of a geometry's surface when rendered. |
|
public |
A container for the color or texture of one of a material’s visual properties. |
|
public |
A representation of a 4 x 4 matrix. |
|
public |
An object that manages smooth transitions between a node's base geometry and one or more target geometries. |
|
public |
A structural element of a scene graph, representing a position and transform in a 3D coordinate space, to which you can attach geometry, lights, cameras, or other displayable content. |
|
public |
|
|
public |
An animation for a single property of the individual particles rendered by a particle system. |
|
public |
Manages the animation and rendering of a system of small image sprites, or particles, using a high-level simulation whose general behavior you specify. |
|
public |
A physics behavior that connects two physics bodies and allows them to pivot around each other in any direction. |
|
public |
The abstract superclass for joints, vehicle simulations, and other high-level behaviors that incorporate multiple physics bodies. |
|
public |
A set of physics simulation attributes attached to a scene graph node. |
|
public |
Default values for a physics body’s categoryBitMask and collisionBitMask properties. |
|
public |
Detailed information about a contact between two physics bodies in a scene’s physics simulation. |
|
public |
An object that applies forces, such as gravitation, electromagnetism, and turbulence, to physics bodies within a certain area of effect. |
|
public |
A physics behavior that connects two bodies and allows them to pivot around each other on a single axis. |
|
public |
|
|
public |
An abstraction of a physics body’s solid volume for use in tuning or optimizing collision detection. |
|
public |
A physics behavior that connects two bodies and allows them to slide against each other and rotate around their connecting points. |
|
public |
|
|
public |
A physics behavior that modifies a physics body to behave like a car, motorcycle, or other wheeled vehicle. |
|
public |
The appearance and physical characteristics of an individual wheel associated with an physics vehicle behavior. |
|
public |
The global simulation of collisions, gravity, joints, and other physics effects in a scene. |
|
public |
A rectangular, one-sided plane geometry of specified width and height. |
|
public |
A complete Metal or OpenGL shader program that replaces SceneKit's rendering of a geometry or material. |
|
public |
A right rectangular pyramid geometry. |
|
public |
A scene graph node that serves as a placeholder for content to be loaded from a separate scene file. |
|
public |
A renderer for displaying SceneKit scene in an an existing Metal workflow or OpenGL context. |
|
public |
A scene graph—a hierarchy of nodes with attached geometries, lights, cameras and other attributes that together form a displayable 3D scene. |
|
public |
Manages the data-reading tasks associated with loading scene contents from a file or data. |
|
public |
|
|
public |
A geometry based on a two-dimensional path, optionally extruded to create a three-dimensional object. |
|
public |
An object that manages the relationship between skeletal animations and the nodes and geometries they animate. |
|
public |
A sphere (or ball or globe) geometry. |
|
public |
A specification for augmenting or postprocessing SceneKit's rendering of a scene using additional drawing passes with custom Metal or OpenGL shaders. |
|
public |
A geometry based on a string of text, optionally extruded to create a three-dimensional object. |
|
public |
|
|
public |
A torus, or ring-shaped geometry. |
|
public |
The SCNTransaction class defines SceneKit’s mechanism for batching scene graph modifications into atomic updates. |
|
public |
A constraint that runs a specified closure to compute a new transform (position, rotation, and scale) for each node that the constraint affects. |
|
public |
A tube or pipe geometry—a right circular cylinder with a circular hole along its central axis. |
|
public |
A representation of a three-component vector. |
|
public |
A representation of a four-component vector. |
|
public |
A view for displaying 3D SceneKit content. |
|
public |
An object that is executed by an SKNode to change its structure or content. |
|
public |
An object that stores color data and sometimes opacity (that is, alpha value). |
|
public |
A node that can apply Core Image filters or SKWarpGeometry distortions to its children. |
|
public |
|
|
public |
|
|
public |
A node that displays a text label. |
|
public |
The SKNode class is the fundamental building block of most SpriteKit content. |
|
public |
|
|
public |
|
|
public |
The root node for all Sprite Kit objects displayed in a view. |
|
public |
|
|
public |
A node that renders a shape defined by a Core Graphics path. |
|
public |
A node that draws a rectangular texture, image or color. |
|
public |
A representation of an image for use in SpriteKit. |
|
public |
|
|
public |
TextReader class |
|
public |
BinaryReader class |
Interface Summary
Static Public Interface Summary | ||
public |
An interface that allows objects to respond to actions triggered by a CALayer. |
|
public |
Methods your app can implement to respond when animations start and stop. |
|
public |
Methods that model a hierarchical timing system, allowing objects to map time between their parent and local time. |
|
public |
Implement this protocol to synchronize the state of an agent with its visual representation in your game. |
|
public |
Methods for running actions on nodes. |
|
public |
The common interface for attaching animations to nodes, geometries, materials, and other SceneKit objects. |
|
public |
Properties for measuring an object's location and size, expressed as either a box or a sphere. |
|
public |
An object that manages a Metal buffer used by a custom shader program. |
|
public |
Methods you can implement to use your own custom Metal or OpenGL drawing code to render content for a node. |
|
public |
Methods you can implement to respond when a contact or collision occurs between two physics bodies in a scene. |
|
public |
The interface for tracking errors that occur when compiling shader source code. |
|
public |
Methods you can implement to participate in the process of exporting a scene to a file. |
|
public |
Methods and properties common to the SCNView, SCNLayer and SCNRenderer classes. |
|
public |
Methods your app can implement to participate in SceneKit’s animation loop or perform additional rendering. |
|
public |
Methods for customizing SceneKit's rendering of geometry and materials using Metal or OpenGL shader programs. |
|
public |
The common interface for SceneKit objects that support multipass rendering using SCNTechnique objects. |
Function Summary
Static Public Function Summary | ||
public |
BinaryParser(bigEndian: *, allowExceptions: *) |
|
public |
Returns the current absolute time, in seconds. |
|
public |
Absolute time is measured in seconds relative to the absolute reference date of Jan 1 2001 00:00:00 GMT. |
|
public |
CGPathApplierFunction(): void Defines a callback function that can view an element in a graphics path. |
|
public |
Check if the browser can use WebGL2. |
|
public |
EscapeEUCJP(str: *): * |
|
public |
EscapeJIS7(str: *): * |
|
public |
EscapeJIS8(str: *): * |
|
public |
EscapeSJIS(str: *): * |
|
public |
EscapeUTF16LE(str: *): * |
|
public |
EscapeUTF7(str: *): * |
|
public |
EscapeUTF8(str: *): * |
|
public |
EscapeUnicode(str: *): * |
|
public |
GetEscapeCodeType(str: *): * |
|
public |
SCNActionTimingFunction(time: number): number Your block must return a floating-point value between 0.0 and 1.0, where 0.0 represents the starting state of the action’s animation and 1.0 represents the end state. |
|
public |
SCNAnimationEventBlock(animation: CAAnimation, animatedObject: Object, playingBackward: boolean): void Signature for the block called when an animation event triggers. |
|
public |
SCNBindingBlock(programID: number, location: number, renderedNode: SCNNode, renderer: SCNRenderer): void Call handleBinding(ofSymbol:handler:) or handleUnbinding(ofSymbol:handler:) to associate a handler block with a GLSL symbol for a SceneKit geometry or material. |
|
public |
SCNBufferBindingBlock(buffer: SCNBufferStream, node: SCNNode, shadable: SCNShadable, renderer: SCNRenderer): void A block SceneKit calls at render time for working with buffers in a Metal shader, used by the handleBinding(ofBufferNamed:frequency:handler:) method. |
|
public |
SCNFieldForceEvaluator(position: SCNVector3, velocity: SCNVector3, mass: number, charge: number, time: number): SCNVector3 Your block uses these parameters to compute and return an SCNVector3 force vector, which SceneKit then applies to the object affected by the field. |
|
public |
This function performs a numeric (not bitwise) comparison of each pair of elements. |
|
public |
SCNMatrix4FromGLKMatrix4(mat: GLKMatrix4): SCNMatrix4 Returns a SceneKit matrix corresponding to a GLKit matrix. |
|
public |
SCNMatrix4FromMat4(m: number[][]): SCNMatrix4 |
|
public |
Returns the inverse of the specified matrix. |
|
public |
Returns a Boolean value that indicates whether the specified matrix is equal to the identity matrix. |
|
public |
SCNMatrix4MakeRotation(angle: number, x: number, y: number, z: number): SCNMatrix4 Returns a matrix describing a rotation transformation. |
|
public |
SCNMatrix4MakeScale(sx: number, sy: number, sz: number): SCNMatrix4 Returns a matrix describing a scale transformation. |
|
public |
SCNMatrix4MakeTranslation(tx: number, ty: number, tz: number): SCNMatrix4 Returns a matrix describing a translation transformation. |
|
public |
SCNMatrix4Mult(a: SCNMatrix4, b: SCNMatrix4): SCNMatrix4 Matrix multiplication is not commutative. |
|
public |
SCNMatrix4Rotate(m: SCNMatrix4, angle: number, x: number, y: number, z: number): SCNMatrix4 The resulting transformation consists of the specified rotation followed by the transformation represented by the mat parameter. |
|
public |
SCNMatrix4Scale(m: SCNMatrix4, sx: number, sy: number, sz: number): SCNMatrix4 The resulting transformation consists of the specified scale followed by the transformation represented by the mat parameter. |
|
public |
SCNMatrix4ToGLKMatrix4(mat: SCNMatrix4): GLKMatrix4 Returns a GLKit matrix corresponding to a SceneKit matrix. |
|
public |
SCNMatrix4ToMat4(m: SCNMatrix4): number[][] |
|
public |
SCNMatrix4Translate(m: SCNMatrix4, tx: number, ty: number, tz: number): SCNMatrix4 The resulting transformation consists of the specified translation followed by the transformation represented by the mat parameter. |
|
public |
SCNParticleEventBlock(data: UnsafeMutablePointer<UnsafeMutableRawPointer>, dataStride: UnsafeMutablePointer<Int>, indices: UnsafeMutablePointer<UInt32>, count: number): void Use this block to change properties of individual particles when they are spawned, when they collide with scene geometry, or when they die (that is, reach the end of their life spans and are removed from the scene). |
|
public |
SCNParticleModifierBlock(data: UnsafeMutablePointer<UnsafeMutableRawPointer>, dataStride: UnsafeMutablePointer<Int>, start: number, end: number, deltaTime: number): void Use this block to change properties of individual particles on each frame of simulation.ImportantRunning your own code to update particle properties every frame can have a severe impact on rendering performance. |
|
public |
SCNSceneExportProgressHandler(totalProgress: number, error: Error, stop: UnsafeMutablePointer<ObjCBool>): void stopSet *stop to true inside the block to cancel export. |
|
public |
SCNSceneSourceStatusHandler(totalProgress: number, status: SCNSceneSourceStatus, error: Error, stopLoading: UnsafeMutablePointer<ObjCBool>): void The signature for the block that SceneKit calls periodically to report progress while loading a scene. |
|
public |
This function performs a numeric (not bitwise) comparison of each pair of component values. |
|
public |
SCNVector3FromFloat3(v: number[]): SCNVector3 |
|
public |
SCNVector3FromGLKVector3(vector: GLKVector3): SCNVector3 Returns a three-element SceneKit vector structure corresponding to a GLKit vector structure. |
|
public |
SCNVector3Make(x: number, y: number, z: number): SCNVector3 Returns a new three-component vector created from individual component values. |
|
public |
SCNVector3ToFloat3(v: SCNVector3): number[] |
|
public |
SCNVector3ToGLKVector3(vector: SCNVector3): GLKVector3 Returns a three-element GLKit vector structure corresponding to a SceneKit vector structure. |
|
public |
This function performs a numeric (not bitwise) comparison of each pair of component values. |
|
public |
SCNVector4FromFloat4(v: number[]): SCNVector4 |
|
public |
SCNVector4FromGLKVector4(vector: GLKVector4): SCNVector4 Returns a four-element SceneKit vector structure corresponding to a GLKit vector structure. |
|
public |
SCNVector4Make(x: number, y: number, z: number, w: number): SCNVector4 Returns a new four-component vector created from individual component values. |
|
public |
SCNVector4ToFloat4(v: SCNVector4): number[] |
|
public |
SCNVector4ToGLKVector4(vector: SCNVector4): GLKVector4 Returns a four-element GLKit vector structure corresponding to a SceneKit vector structure. |
|
public |
UnescapeEUCJP(str: *): * |
|
public |
UnescapeJIS7(str: *): * |
|
public |
UnescapeJIS8(str: *): * |
|
public |
UnescapeSJIS(str: *): * |
|
public |
UnescapeUTF16LE(str: *): * |
|
public |
UnescapeUTF7(str: *): * |
|
public |
UnescapeUTF8(str: *): * |
|
public |
UnescapeUnicode(str: *): * |
Variable Summary
Static Public Variable Summary | ||
public |
JCT11280: * |
|
public |
JCT8836: * |
|
public |
A quaternion is a mathematical construct useful for describing rotations in three-dimensional space. |
Typedef Summary
Static Public Typedef Summary | ||
public |
Compositing operations for images. |
|
public |
Styles for rendering the endpoint of a stroked line. |
|
public |
Junction types for stroked lines. |
|
public |
Rules for determining which regions are interior to a path, used by the fillPath(using:) and clip(using:) methods. |
|
public |
DispatchTimeInterval represents a number of seconds, millisconds, microseconds, or nanoseconds. |
|
public |
The partitioning mode used by the tessellator to derive the number and spacing of segments used to subdivide a corresponding edge. |
|
public |
The type of the color-space mode constants listed in Color Space Models. |
|
public |
Constants affecting the animation curve of an action, used by the timingMode property. |
|
public |
Modes for antialiased rendering of the view’s scene, used by the SCNView property. |
|
public |
Modes that describe how SceneKit blends source colors rendered using a material with destination colors already in a rendering target, used by the blendMode property. |
|
public |
Options for how often SceneKit should execute the binding handler you provide with the handleBinding(ofBufferNamed:frequency:handler:) method. |
|
public |
|
|
public |
Options for which edges of an extruded shape are chamfered, used by the chamferMode property. |
|
public |
|
|
public |
The modes SceneKit uses to determine which polygons to render in a surface, used by the cullMode property. |
|
public |
|
|
public |
Texture filtering modes, used by the the minificationFilter, magnificationFilter, and mipFilter properties. |
|
public |
The drawing primitive that connects vertices when rendering a geometry element, used by the primitiveType property to specify how SceneKit interprets the geometry element’s data. |
|
public |
|
|
public |
The interpolation formulas for blending between target geometries. |
|
public |
Values that inform SceneKit’s rendering for movement-related effects, used by the movabilityHint property. |
|
public |
Options for the initial direction of each emitted particle, used by the birthDirection property. |
|
public |
Options for the initial location of each emitted particle, used by the birthLocation property. |
|
public |
Options for combining source and destination pixel colors when compositing particles during rendering, used by the blendMode property. |
|
public |
Significant events in the life spans of simulate particles, used by the handle(_:forProperties:handler:) method. |
|
public |
Options for animating each particle with a sequence of images, used by the imageSequenceAnimationMode property. |
|
public |
Options for the input value of the property controller’s animation, used by the inputMode property. |
|
public |
Stages of SceneKit’s particle simulation process into which you can insert modifier blocks, used by the addModifier(forProperties:at:modifier:) method. |
|
public |
Options for restricting the orientation of particles, used by the orientationMode property. |
|
public |
Options for the rendering order of particles, used by the sortingMode property. |
|
public |
Constants that determine how a physics body interacts with forces and other bodies, used by the type property and when creating a physics body. |
|
public |
Options for defining the region of space affected by a physics field, used by the scope property. |
|
public |
Options for when to load the reference node’s content, used by the loadingPolicy property. |
|
public |
Options for choosing the graphics technology for an SCNView object (or other SceneKit renderer) to use for drawing its contents. |
|
public |
Constants identifying phases of SceneKit’s scene loading process, used in a SCNSceneSourceStatusHandler block. |
|
public |
|
|
public |
Options for SceneKit’s rendering of shadows cast by a light, used by the shadowMode property. |
|
public |
|
|
public |
The modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property. |
|
public |
Modes to apply to texture wrapping, used by the wrapT and wrapS properties. |
|
public |
The modes that an action can use to adjust the apparent timing of the action. |
|
public |
The modes that describe how the source and destination pixel colors are used to calculate the new destination color. |
|
public |
Options for aligning text horizontally. |
|
public |
Options for aligning text vertically. |
|
public |
The modes that determine how the scene’s area is mapped to the view that presents it. |
|
public |
Texture filtering modes to use when the texture is drawn in a size other than its native size. |