C# Class Box2DX.Collision.BroadPhase

Afficher le fichier Open project: KrugerHeavyIndustries/box2d-unity Class Usage Examples

Méthodes publiques

Свойство Type Description
BROADPHASE_MAX ushort
Invalid ushort
IsValidate bool
NullEdge ushort
_bounds Box2DX.Collision.Bound[][]
_freeProxy ushort
_pairManager PairManager
_proxyCount int
_proxyPool Proxy[]
_quantizationFactor System.Vector2
_queryResultCount int
_queryResults ushort[]
_querySortKeys float[]
_timeStamp ushort
_worldAABB AABB

Méthodes publiques

Méthode Description
AddProxyResult ( ushort proxyId, Proxy proxy, int maxCount, SortKeyFunc sortKey ) : void
BroadPhase ( AABB worldAABB, PairCallback callback ) : System
Commit ( ) : void
CreateProxy ( AABB aabb, object userData ) : ushort
DestroyProxy ( int proxyId ) : void
GetProxy ( int proxyId ) : Proxy
InRange ( AABB aabb ) : bool
MoveProxy ( int proxyId, AABB aabb ) : void
Query ( AABB aabb, object userData, int maxCount ) : int
QuerySegment ( Segment segment, object userData, int maxCount, SortKeyFunc sortKey ) : int
Validate ( ) : void

Private Methods

Méthode Description
BinarySearch ( Bound bounds, int count, ushort value ) : int
ComputeBounds ( ushort &lowerValues, ushort &upperValues, AABB aabb ) : void
IncrementOverlapCount ( int proxyId ) : void
IncrementTimeStamp ( ) : void
Query ( int &lowerQueryOut, int &upperQueryOut, ushort lowerValue, ushort upperValue, Bound bounds, int boundCount, int axis ) : void
TestOverlap ( BoundValues b, Proxy p ) : bool
TestOverlap ( Proxy p1, Proxy p2 ) : bool

Method Details

AddProxyResult() public méthode

public AddProxyResult ( ushort proxyId, Proxy proxy, int maxCount, SortKeyFunc sortKey ) : void
proxyId ushort
proxy Proxy
maxCount int
sortKey SortKeyFunc
Résultat void

BroadPhase() public méthode

public BroadPhase ( AABB worldAABB, PairCallback callback ) : System
worldAABB AABB
callback PairCallback
Résultat System

Commit() public méthode

public Commit ( ) : void
Résultat void

CreateProxy() public méthode

public CreateProxy ( AABB aabb, object userData ) : ushort
aabb AABB
userData object
Résultat ushort

DestroyProxy() public méthode

public DestroyProxy ( int proxyId ) : void
proxyId int
Résultat void

GetProxy() public méthode

public GetProxy ( int proxyId ) : Proxy
proxyId int
Résultat Proxy

InRange() public méthode

public InRange ( AABB aabb ) : bool
aabb AABB
Résultat bool

MoveProxy() public méthode

public MoveProxy ( int proxyId, AABB aabb ) : void
proxyId int
aabb AABB
Résultat void

Query() public méthode

public Query ( AABB aabb, object userData, int maxCount ) : int
aabb AABB
userData object
maxCount int
Résultat int

QuerySegment() public méthode

public QuerySegment ( Segment segment, object userData, int maxCount, SortKeyFunc sortKey ) : int
segment Segment
userData object
maxCount int
sortKey SortKeyFunc
Résultat int

Validate() public méthode

public Validate ( ) : void
Résultat void

Property Details

BROADPHASE_MAX public_oe static_oe property

public static ushort BROADPHASE_MAX
Résultat ushort

Invalid public_oe static_oe property

public static ushort Invalid
Résultat ushort

IsValidate public_oe static_oe property

public static bool IsValidate
Résultat bool

NullEdge public_oe static_oe property

public static ushort NullEdge
Résultat ushort

_bounds public_oe property

public Bound[][],Box2DX.Collision _bounds
Résultat Box2DX.Collision.Bound[][]

_freeProxy public_oe property

public ushort _freeProxy
Résultat ushort

_pairManager public_oe property

public PairManager,Box2DX.Collision _pairManager
Résultat PairManager

_proxyCount public_oe property

public int _proxyCount
Résultat int

_proxyPool public_oe property

public Proxy[] _proxyPool
Résultat Proxy[]

_quantizationFactor public_oe property

public Vector2,System _quantizationFactor
Résultat System.Vector2

_queryResultCount public_oe property

public int _queryResultCount
Résultat int

_queryResults public_oe property

public ushort[] _queryResults
Résultat ushort[]

_querySortKeys public_oe property

public float[] _querySortKeys
Résultat float[]

_timeStamp public_oe property

public ushort _timeStamp
Résultat ushort

_worldAABB public_oe property

public AABB,Box2DX.Collision _worldAABB
Résultat AABB