# cee::geo::EffectOpacity

class `EffectOpacity` : public Effect

  Effect describing the opacity to be used when drawing the associated triangle based part data.

  May be overridden by the following effects if found further up the stack:

  - EffectFrontAndBackOpacity
  - Any other EffectOpacity

  Supported by the following part data:

  - DataIndexedTriangles
  - DataTriangleFan
  - DataTriangleStrip

  See also

  Part, Effect, and PartSettings

  Public Functions

  `EffectOpacity`()

    Constructs an empty effect.

  `EffectOpacity`(float opacity)

    Constructs an effect.

  virtual Type `type`() const

    Returns Effect::OPACITY.

  virtual PtrRef<Effect> `clone`()

    Clones the effect.

  float `opacity`() const

    Returns how transparent the part is.

    1.0f is opaque 0.0f is max transparency

  void `setOpacity`(float opacity)

    Specifies how transparent the part is.

    1.0f is opaque 0.0f is max transparency

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...