esp::assets::CylinderPrimitiveAttributes class

Base classes

class AbstractPrimitiveAttributes

Constructors, destructors, conversion operators

CylinderPrimitiveAttributes(bool isWireframe, int primObjType, const std::string& primObjClassName)

Public functions

void setCapEnds(bool capEnds)
auto getCapEnds() const -> bool
auto isValidTemplate() -> bool override
This will determine if the stated template has the required quantities needed to instantiate a primitive properly of desired type.

Protected functions

auto buildHandleDetail() -> std::string override

Function documentation

bool esp::assets::CylinderPrimitiveAttributes::isValidTemplate() override

This will determine if the stated template has the required quantities needed to instantiate a primitive properly of desired type.

Returns whether or not the template holds valid data for desired primitive type