GKRule.FromPredicateRetractingFact(NSPredicate, NSObject, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Factory method to create a GKRule that, when it's predicate
is satisfied, decreases the confidence in fact
by grade
.
[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
Parameters
- predicate
- NSPredicate
- fact
- NSObject
- grade
- Single
Returns
- Attributes