esp::metadata::attributes::IcospherePrimitiveAttributes class

Base classes

class AbstractPrimitiveAttributes

Constructors, destructors, conversion operators

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

Public functions

void setSubdivisions(int subdivisions)
auto getSubdivisions() const -> int
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
auto parseStringIntoConfigDetail(const std::string& configString) -> bool override

Function documentation

bool esp::metadata::attributes::IcospherePrimitiveAttributes::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