C# Class Project290.Physics.Dynamics.FilterData

Contains filter data that can determine whether an object should be processed or not.
Exibir arquivo Open project: scastle/Solitude

Public Properties

Property Type Description
DisabledOnCategories Category
DisabledOnGroup int
EnabledOnCategories Category
EnabledOnGroup int

Public Methods

Method Description
AddDisabledCategory ( Category category ) : void

Adds the category.

AddEnabledCategory ( Category category ) : void

Adds the category.

IsActiveOn ( Body body ) : bool
IsInDisabledCategory ( Category category ) : bool

Determines whether this body ignores the the specified controller.

IsInEnbledCategory ( Category category ) : bool

Determines whether this body ignores the the specified controller.

RemoveDisabledCategory ( Category category ) : void

Removes the category.

RemoveEnabledCategory ( Category category ) : void

Removes the category.

Method Details

AddDisabledCategory() public method

Adds the category.
public AddDisabledCategory ( Category category ) : void
category Category The category.
return void

AddEnabledCategory() public method

Adds the category.
public AddEnabledCategory ( Category category ) : void
category Category The category.
return void

IsActiveOn() public method

public IsActiveOn ( Body body ) : bool
body Body
return bool

IsInDisabledCategory() public method

Determines whether this body ignores the the specified controller.
public IsInDisabledCategory ( Category category ) : bool
category Category The category.
return bool

IsInEnbledCategory() public method

Determines whether this body ignores the the specified controller.
public IsInEnbledCategory ( Category category ) : bool
category Category The category.
return bool

RemoveDisabledCategory() public method

Removes the category.
public RemoveDisabledCategory ( Category category ) : void
category Category The category.
return void

RemoveEnabledCategory() public method

Removes the category.
public RemoveEnabledCategory ( Category category ) : void
category Category The category.
return void

Property Details

DisabledOnCategories public_oe property

public Category DisabledOnCategories
return Category

DisabledOnGroup public_oe property

public int DisabledOnGroup
return int

EnabledOnCategories public_oe property

public Category EnabledOnCategories
return Category

EnabledOnGroup public_oe property

public int EnabledOnGroup
return int