Method RemoveInstances
RemoveInstances(Predicate<GGrassInstance>)
Remove grass instances from this patch that match a condition. It's recommended to use Polaris.RemoveGrassInstances() instead.
public int RemoveInstances(Predicate<GGrassInstance> match)
Parameters
matchPredicate<GGrassInstance>The condition to test against every instances. An instance will be removed if condition returns true.
Returns
- int
Number of removed instances.