Table of Contents

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 FilterData

Inheritance

Derived

Inherited Members

Fields

DisabledOnCategories

Disable the logic on specific categories. Category.None by default.

public Category DisabledOnCategories

Field Value

Category

DisabledOnGroup

Disable the logic on specific groups

public int DisabledOnGroup

Field Value

int

EnabledOnCategories

Enable the logic on specific categories Category.All by default.

public Category EnabledOnCategories

Field Value

Category

EnabledOnGroup

Enable the logic on specific groups.

public int EnabledOnGroup

Field Value

int

Methods

AddDisabledCategory(Category)

Adds the category.

public void AddDisabledCategory(Category category)

Parameters

category Category

The category.

AddEnabledCategory(Category)

Adds the category.

public void AddEnabledCategory(Category category)

Parameters

category Category

The category.

IsActiveOn(Body)

public virtual bool IsActiveOn(Body body)

Parameters

body Body

Returns

bool

IsInDisabledCategory(Category)

Determines whether this body ignores the the specified controller.

public bool IsInDisabledCategory(Category category)

Parameters

category Category

The category.

Returns

bool

true if 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

category Category

The category.

Returns

bool

true if the object has the specified category; otherwise, false.

RemoveDisabledCategory(Category)

Removes the category.

public void RemoveDisabledCategory(Category category)

Parameters

category Category

The category.

RemoveEnabledCategory(Category)

Removes the category.

public void RemoveEnabledCategory(Category category)

Parameters

category Category

The category.