esp::assets::CapsulePrimitiveAttributes class

attributes describing primitive capsule objects

Base classes

class AbstractPrimitiveAttributes

Constructors, destructors, conversion operators

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

Public functions

void setHemisphereRings(int hemisphereRings)
auto getHemisphereRings() const -> int
void setCylinderRings(int cylinderRings)
auto getCylinderRings() 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

Function documentation

bool esp::assets::CapsulePrimitiveAttributes::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