|
My Project v1
Project
|


Public 成员函数 | |
| void | FindBodiesAroundPoint (Vector2 point, float radius, DynamicArray< ComponentBody > result) |
| void | FindBodiesInArea (Vector2 corner1, Vector2 corner2, DynamicArray< ComponentBody > result) |
| BodyRaycastResult? | Raycast (Vector3 start, Vector3 end, float inflateAmount, Func< ComponentBody, float, bool > action) |
| override void | OnEntityAdded (Entity entity) |
| override void | OnEntityRemoved (Entity entity) |
| void | Update (float dt) |
| void | AddBody (ComponentBody componentBody) |
| void | RemoveBody (ComponentBody componentBody) |
| void | UpdateBody (ComponentBody componentBody) |
| void | ComponentBody_PositionChanged (ComponentFrame componentFrame) |
Public 成员函数 继承自 Game.IUpdateable | |
Public 属性 | |
| DynamicArray< ComponentBody > | m_componentBodies = [] |
| Dictionary< ComponentBody, Point2 > | m_areaByComponentBody = [] |
| Dictionary< Point2, DynamicArray< ComponentBody > > | m_componentBodiesByArea = [] |
静态 Public 属性 | |
| const float | m_areaSize = 8f |
属性 | |
| Dictionary< ComponentBody, Point2 >.KeyCollection | Bodies [get] |
| UpdateOrder | UpdateOrder [get] |
属性 继承自 Game.IUpdateable | |
| float | FloatUpdateOrder [get] |
| void Game.SubsystemBodies.AddBody | ( | ComponentBody | componentBody | ) |


| void Game.SubsystemBodies.ComponentBody_PositionChanged | ( | ComponentFrame | componentFrame | ) |


| void Game.SubsystemBodies.FindBodiesAroundPoint | ( | Vector2 | point, |
| float | radius, | ||
| DynamicArray< ComponentBody > | result ) |

| void Game.SubsystemBodies.FindBodiesInArea | ( | Vector2 | corner1, |
| Vector2 | corner2, | ||
| DynamicArray< ComponentBody > | result ) |

| override void Game.SubsystemBodies.OnEntityAdded | ( | Entity | entity | ) |

| override void Game.SubsystemBodies.OnEntityRemoved | ( | Entity | entity | ) |

| BodyRaycastResult? Game.SubsystemBodies.Raycast | ( | Vector3 | start, |
| Vector3 | end, | ||
| float | inflateAmount, | ||
| Func< ComponentBody, float, bool > | action ) |


| void Game.SubsystemBodies.RemoveBody | ( | ComponentBody | componentBody | ) |


| void Game.SubsystemBodies.Update | ( | float | dt | ) |
| void Game.SubsystemBodies.UpdateBody | ( | ComponentBody | componentBody | ) |

| Dictionary<ComponentBody, Point2> Game.SubsystemBodies.m_areaByComponentBody = [] |
|
static |
| DynamicArray<ComponentBody> Game.SubsystemBodies.m_componentBodies = [] |
| Dictionary<Point2, DynamicArray<ComponentBody> > Game.SubsystemBodies.m_componentBodiesByArea = [] |
|
get |
|
get |
实现了 Game.IUpdateable.