![]() |
Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
|
NDK class that represents the component for collision (meant for static objects) More...
Inherits Ndk::Component< ComponentType >.
Public Member Functions | |
| CollisionComponent3D (Nz::Collider3DRef geom=Nz::Collider3DRef()) | |
| Constructs a CollisionComponent3D object with a geometry. More... | |
| CollisionComponent3D (const CollisionComponent3D &collision) | |
| Constructs a CollisionComponent3D object by copy semantic. More... | |
| const Nz::Collider3DRef & | GetGeom () const |
| Gets the geometry representing the entity. More... | |
| void | SetGeom (Nz::Collider3DRef geom) |
| Sets geometry for the entity. More... | |
| CollisionComponent3D & | operator= (Nz::Collider3DRef geom) |
| Assigns the geometry to this component. More... | |
| CollisionComponent3D & | operator= (CollisionComponent3D &&collision)=default |
Static Public Attributes | |
| static ComponentIndex | componentIndex |
Friends | |
| class | PhysicsSystem3D |
NDK class that represents the component for collision (meant for static objects)
|
inline |
Constructs a CollisionComponent3D object with a geometry.
| geom | Reference to a geometry symbolizing the entity |
|
inline |
Constructs a CollisionComponent3D object by copy semantic.
| collision | CollisionComponent3D to copy |
|
inline |
Gets the geometry representing the entity.
|
inline |
Assigns the geometry to this component.
| geom | Reference to a geometry symbolizing the entity |
| void Ndk::CollisionComponent3D::SetGeom | ( | Nz::Collider3DRef | geom | ) |
Sets geometry for the entity.
| geom | Geometry used for collisions |