OpenMetaverse Protocol Library Developers API Documentation
ToBytes Method (dest, pos, inverted)
NamespacesOpenMetaverseColor4ToBytes( array< Byte > [] () [] [] , Int32, Boolean)
Serializes this color into four bytes in a byte array
Declaration Syntax
C#
public 
void 
ToBytes(
        
byte[] 
dest,
        
int 
pos,
        
bool 
inverted
)
Parameters
dest ( array< Byte > [] () [] [] )
Destination byte array
pos ( Int32)
Position in the destination array to start writing. Must be at least 4 bytes before the end of the array
inverted ( Boolean)
True to invert the output (1.0 becomes 0 instead of 255)

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0