neuray API Programmer's Manual

mi::IColor3 Class Reference

[Compounds]

Description

This interface represents RGB colors. It can be used to represent colors by an interface derived from mi::base::IInterface.

See also:

mi::Color_struct

Public Member Functions

virtual Color_struct get_value() const =0
Returns the color represented by this interface. More...
virtual void get_value( Color_struct& value) const =0
Returns the color represented by this interface. More...
virtual void set_value( const Color_struct& value) =0
Sets the color represented by this interface. More...

Member Functions

virtual Color_struct mi::​IColor3::get_value() const [pure virtual]

Returns the color represented by this interface. The alpha component of the return value is set to 1.0.

virtual void mi::​IColor3::get_value( Color_struct& value) const [pure virtual]

Returns the color represented by this interface. The alpha component of value is set to 1.0.

virtual void mi::​IColor3::set_value( const Color_struct& value) [pure virtual]

Sets the color represented by this interface. The alpha component of value is ignored.