SKAction.CreateChangeOcclusionTo(Single, Double) Method

Definition

Sets the occlusion of a SKAudioNode.

[Foundation.Export("changeOcclusionTo:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction CreateChangeOcclusionTo (float target, double duration);
static member CreateChangeOcclusionTo : single * double -> SpriteKit.SKAction

Parameters

target
Single
duration
Double

Returns

Attributes

Applies to