GKRule.FromPredicateRetractingFact(NSPredicate, NSObject, Single) 方法

定义

用于创建的GKRule工厂方法,当它predicate满意时,通过 grade降低对 的fact置信度。

[Foundation.Export("ruleWithPredicate:retractingFact:grade:")]
public static GameplayKit.GKRule FromPredicateRetractingFact (Foundation.NSPredicate predicate, Foundation.NSObject fact, float grade);
static member FromPredicateRetractingFact : Foundation.NSPredicate * Foundation.NSObject * single -> GameplayKit.GKRule

参数

predicate
NSPredicate
fact
NSObject
grade
Single

返回

属性

适用于