CubbyFlow::SurfaceSet2::Builder Class Referencefinal
Front-end to create SurfaceSet2 objects step by step. More...
#include <Core/Surface/SurfaceSet2.h>
Inheritance diagram for CubbyFlow::SurfaceSet2::Builder:
Public Member Functions | |
| Builder & | WithSurfaces (const std::vector< Surface2Ptr > &others) |
| Returns builder with other surfaces. More... | |
| SurfaceSet2 | Build () const |
| Builds SurfaceSet2. More... | |
| SurfaceSet2Ptr | MakeShared () const |
| Builds shared pointer of SurfaceSet2 instance. More... | |
Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase2< SurfaceSet2 > | |
| SurfaceSet2 & | WithIsNormalFlipped (bool isNormalFlipped) |
| Returns builder with flipped normal flag. More... | |
| SurfaceSet2 & | WithTranslation (const Vector2D &translation) |
| Returns builder with translation. More... | |
| SurfaceSet2 & | WithOrientation (double orientation) |
| Returns builder with orientation. More... | |
| SurfaceSet2 & | WithTransform (const Transform2 &transform) |
| Returns builder with transform. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase2< SurfaceSet2 > | |
| bool | m_isNormalFlipped |
| Transform2 | m_transform |
Detailed Description
Front-end to create SurfaceSet2 objects step by step.
Member Function Documentation
◆ Build()
| SurfaceSet2 CubbyFlow::SurfaceSet2::Builder::Build | ( | ) | const |
Builds SurfaceSet2.
◆ MakeShared()
| SurfaceSet2Ptr CubbyFlow::SurfaceSet2::Builder::MakeShared | ( | ) | const |
Builds shared pointer of SurfaceSet2 instance.
◆ WithSurfaces()
| Builder& CubbyFlow::SurfaceSet2::Builder::WithSurfaces | ( | const std::vector< Surface2Ptr > & | others | ) |
Returns builder with other surfaces.
The documentation for this class was generated from the following file:
- Core/Surface/SurfaceSet2.h
Public Member Functions inherited from
1.8.14