C# Class FarseerPhysics.Common.PhysicsLogic.FilterData

Contains filter data that can determine whether an object should be processed or not.
显示文件 Open project: prime31/Nez Class Usage Examples

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.

isInEnabledInCategory ( 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 FarseerPhysics.Dynamics.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

isInEnabledInCategory() public method

Determines whether this body ignores the the specified controller.
public isInEnabledInCategory ( 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

Disable the logic on specific categories. Category.None by default.
public Category disabledOnCategories
return Category

disabledOnGroup public_oe property

Disable the logic on specific groups
public int disabledOnGroup
return int

enabledOnCategories public_oe property

Enable the logic on specific categories Category.All by default.
public Category enabledOnCategories
return Category

enabledOnGroup public_oe property

Enable the logic on specific groups.
public int enabledOnGroup
return int