Class FilterData
- Namespace
- Alis.Core.Physic.Common.PhysicsLogic
- Assembly
- Alis.dll
Contains filter data that can determine whether an object should be processed or not.
public abstract class FilterDataInheritance
Derived
Inherited Members
Fields
DisabledOnCategories
Disable the logic on specific categories. Category.None by default.
public Category DisabledOnCategoriesField Value
DisabledOnGroup
Disable the logic on specific groups
public int DisabledOnGroupField Value
EnabledOnCategories
Enable the logic on specific categories Category.All by default.
public Category EnabledOnCategoriesField Value
EnabledOnGroup
Enable the logic on specific groups.
public int EnabledOnGroupField Value
Methods
AddDisabledCategory(Category)
Adds the category.
public void AddDisabledCategory(Category category)Parameters
categoryCategory-
The category.
AddEnabledCategory(Category)
Adds the category.
public void AddEnabledCategory(Category category)Parameters
categoryCategory-
The category.
IsActiveOn(Body)
public virtual bool IsActiveOn(Body body)Parameters
bodyBody
Returns
IsInDisabledCategory(Category)
Determines whether this body ignores the the specified controller.
public bool IsInDisabledCategory(Category category)Parameters
categoryCategory-
The category.
Returns
- bool
-
trueif the object has the specified category; otherwise,false.
IsInEnabledInCategory(Category)
Determines whether this body ignores the the specified controller.
public bool IsInEnabledInCategory(Category category)Parameters
categoryCategory-
The category.
Returns
- bool
-
trueif the object has the specified category; otherwise,false.
RemoveDisabledCategory(Category)
Removes the category.
public void RemoveDisabledCategory(Category category)Parameters
categoryCategory-
The category.
RemoveEnabledCategory(Category)
Removes the category.
public void RemoveEnabledCategory(Category category)Parameters
categoryCategory-
The category.