One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNPhysicsField

class · SDK 27.1

class SCNPhysicsField

Members (32)

static

drag

TypeScript
static drag(): SCNPhysicsField
Swift declaration
class func drag() -> SCNPhysicsField
static

electric

TypeScript
static electric(): SCNPhysicsField
Swift declaration
class func electric() -> SCNPhysicsField
static

linearGravity

TypeScript
static linearGravity(): SCNPhysicsField
Swift declaration
class func linearGravity() -> SCNPhysicsField
static

magnetic

TypeScript
static magnetic(): SCNPhysicsField
Swift declaration
class func magnetic() -> SCNPhysicsField
static

noiseField

TypeScript
static noiseField(smoothness: number, speed: number): SCNPhysicsField
Swift declaration
class func noiseField(smoothness: CGFloat, animationSpeed speed: CGFloat) -> SCNPhysicsField
static

radialGravity

TypeScript
static radialGravity(): SCNPhysicsField
Swift declaration
class func radialGravity() -> SCNPhysicsField
static

spring

TypeScript
static spring(): SCNPhysicsField
Swift declaration
class func spring() -> SCNPhysicsField
static

turbulenceField

TypeScript
static turbulenceField(smoothness: number, speed: number): SCNPhysicsField
Swift declaration
class func turbulenceField(smoothness: CGFloat, animationSpeed speed: CGFloat) -> SCNPhysicsField
static

vortex

TypeScript
static vortex(): SCNPhysicsField
Swift declaration
class func vortex() -> SCNPhysicsField
init

init

TypeScript
static init(): SCNPhysicsField
Swift declaration
init()
get

isActive

TypeScript
get isActive(): boolean
Swift declaration
var isActive: Bool { get set }
set

isActive

TypeScript
set isActive(value: boolean)
Swift declaration
var isActive: Bool { get set }
get

categoryBitMask

TypeScript
get categoryBitMask(): number
Swift declaration
var categoryBitMask: Int { get set }
set

categoryBitMask

TypeScript
set categoryBitMask(value: number)
Swift declaration
var categoryBitMask: Int { get set }
get

direction

TypeScript
get direction(): SCNVector3
Swift declaration
var direction: SCNVector3 { get set }
set

direction

TypeScript
set direction(value: SCNVector3)
Swift declaration
var direction: SCNVector3 { get set }
get

isExclusive

TypeScript
get isExclusive(): boolean
Swift declaration
var isExclusive: Bool { get set }
set

isExclusive

TypeScript
set isExclusive(value: boolean)
Swift declaration
var isExclusive: Bool { get set }
get

falloffExponent

TypeScript
get falloffExponent(): number
Swift declaration
var falloffExponent: CGFloat { get set }
set

falloffExponent

TypeScript
set falloffExponent(value: number)
Swift declaration
var falloffExponent: CGFloat { get set }
get

halfExtent

TypeScript
get halfExtent(): SCNVector3
Swift declaration
var halfExtent: SCNVector3 { get set }
set

halfExtent

TypeScript
set halfExtent(value: SCNVector3)
Swift declaration
var halfExtent: SCNVector3 { get set }
get

minimumDistance

TypeScript
get minimumDistance(): number
Swift declaration
var minimumDistance: CGFloat { get set }
set

minimumDistance

TypeScript
set minimumDistance(value: number)
Swift declaration
var minimumDistance: CGFloat { get set }
get

offset

TypeScript
get offset(): SCNVector3
Swift declaration
var offset: SCNVector3 { get set }
set

offset

TypeScript
set offset(value: SCNVector3)
Swift declaration
var offset: SCNVector3 { get set }
get

scope

TypeScript
get scope(): SCNPhysicsFieldScope
Swift declaration
var scope: SCNPhysicsFieldScope { get set }
set

scope

TypeScript
set scope(value: SCNPhysicsFieldScope)
Swift declaration
var scope: SCNPhysicsFieldScope { get set }
get

strength

TypeScript
get strength(): number
Swift declaration
var strength: CGFloat { get set }
set

strength

TypeScript
set strength(value: number)
Swift declaration
var strength: CGFloat { get set }
get

usesEllipsoidalExtent

TypeScript
get usesEllipsoidalExtent(): boolean
Swift declaration
var usesEllipsoidalExtent: Bool { get set }
set

usesEllipsoidalExtent

TypeScript
set usesEllipsoidalExtent(value: boolean)
Swift declaration
var usesEllipsoidalExtent: Bool { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SCNPhysicsField.customField(evaluationBlock:)

callback cannot propagate synchronous failure

All SceneKit types →