Edit

Share via


MTKView.ActionForLayer(CALayer, String) Method

Definition

Returns the action for the specified layer and event key.

[Foundation.Export("actionForLayer:forKey:")]
public virtual Foundation.NSObject ActionForLayer (CoreAnimation.CALayer layer, string eventKey);
abstract member ActionForLayer : CoreAnimation.CALayer * string -> Foundation.NSObject
override this.ActionForLayer : CoreAnimation.CALayer * string -> Foundation.NSObject

Parameters

layer
CALayer
eventKey
String

Returns

Attributes

Applies to