CubbyFlow::Triangle3::Builder Class Referencefinal
Front-end to create Triangle3 objects step by step. More...
#include <Core/Geometry/Triangle3.h>
Inheritance diagram for CubbyFlow::Triangle3::Builder:
Public Member Functions | |
Builder & | WithPoints (const std::array< Vector3D, 3 > &points) |
Returns builder with points. More... | |
Builder & | WithNormals (const std::array< Vector3D, 3 > &normals) |
Returns builder with normals. More... | |
Builder & | WithUVs (const std::array< Vector2D, 3 > &uvs) |
Returns builder with uvs. More... | |
Triangle3 | Build () const |
Builds Triangle3. More... | |
Triangle3Ptr | MakeShared () const |
Builds shared pointer of Triangle3 instance. More... | |
Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase3< Triangle3::Builder > | |
Triangle3::Builder & | WithIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
Triangle3::Builder & | WithTranslation (const Vector3D &translation) |
Returns builder with translation. More... | |
Triangle3::Builder & | WithOrientation (const QuaternionD &orientation) |
Returns builder with orientation. More... | |
Triangle3::Builder & | WithTransform (const Transform3 &transform) |
Returns builder with transform. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase3< Triangle3::Builder > | |
bool | m_isNormalFlipped |
Transform3 | m_transform |
Detailed Description
Front-end to create Triangle3 objects step by step.
Member Function Documentation
◆ Build()
◆ MakeShared()
Triangle3Ptr CubbyFlow::Triangle3::Builder::MakeShared | ( | ) | const |
Builds shared pointer of Triangle3 instance.
◆ WithNormals()
Returns builder with normals.
◆ WithPoints()
Returns builder with points.
◆ WithUVs()
Returns builder with uvs.
The documentation for this class was generated from the following file:
- Core/Geometry/Triangle3.h