25#ifndef _SO_SF_COLORRGBA_
26#define _SO_SF_COLORRGBA_
75 void setValue(
float r,
float g,
float b,
float a);
93 static void initClass();
94 static void exitClass();
#define SO_SFIELD_HEADER(className, valueType, valueRef)
Field containing an RGBA color.
void setValue(const float rgba[4])
Convenience method for setting the value.
void setHSVAValue(float h, float s, float v, float a)
Convenience method for setting the value.
void setValue(const SbVec4f &vec)
Convenience method for setting the value.
void setValue(float r, float g, float b, float a)
Convenience method for setting the value.
void setHSVAValue(const float hsva[4])
Convenience method for setting the value.
Abstract base class for all single-value fields.