CubbyFlow::RigidBodyCollider3::Builder Class Referencefinal
Front-end to create RigidBodyCollider3 objects step by step. More...
#include <Core/Collider/RigidBodyCollider3.h>
Public Member Functions | |
Builder & | WithSurface (const Surface3Ptr &surface) |
Returns builder with surface. More... | |
Builder & | WithLinearVelocity (const Vector3D &linearVelocity) |
Returns builder with linear velocity. More... | |
Builder & | WithAngularVelocity (const Vector3D &angularVelocity) |
Returns builder with angular velocity. More... | |
RigidBodyCollider3 | Build () const |
Builds RigidBodyCollider3. More... | |
RigidBodyCollider3Ptr | MakeShared () const |
Builds shared pointer of RigidBodyCollider3 instance. More... | |
Detailed Description
Front-end to create RigidBodyCollider3 objects step by step.
Member Function Documentation
◆ Build()
RigidBodyCollider3 CubbyFlow::RigidBodyCollider3::Builder::Build | ( | ) | const |
Builds RigidBodyCollider3.
◆ MakeShared()
RigidBodyCollider3Ptr CubbyFlow::RigidBodyCollider3::Builder::MakeShared | ( | ) | const |
Builds shared pointer of RigidBodyCollider3 instance.
◆ WithAngularVelocity()
Builder& CubbyFlow::RigidBodyCollider3::Builder::WithAngularVelocity | ( | const Vector3D & | angularVelocity | ) |
Returns builder with angular velocity.
◆ WithLinearVelocity()
Builder& CubbyFlow::RigidBodyCollider3::Builder::WithLinearVelocity | ( | const Vector3D & | linearVelocity | ) |
Returns builder with linear velocity.
◆ WithSurface()
Builder& CubbyFlow::RigidBodyCollider3::Builder::WithSurface | ( | const Surface3Ptr & | surface | ) |
Returns builder with surface.
The documentation for this class was generated from the following file:
- Core/Collider/RigidBodyCollider3.h