PyMaterialXCore.Color4

class Color4

Bases: VectorBase

A four-component RGBA color value.

See:

https://materialx.org/docs/api/class_color4.html

Methods

__init__(*args, **kwargs)

Overloaded function.

asTuple(self)

copy(self)

dot(self, arg0)

getMagnitude(self)

getNormalized(self)

Methods

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyMaterialXCore.Color4) -> None

  2. __init__(self: PyMaterialXCore.Color4, arg0: float) -> None

  3. __init__(self: PyMaterialXCore.Color4, arg0: Annotated[list[float], FixedSize(4)]) -> None

  4. __init__(self: PyMaterialXCore.Color4, arg0: list[float]) -> None

  5. __init__(self: PyMaterialXCore.Color4, arg0: float, arg1: float, arg2: float, arg3: float) -> None

asTuple(self: Color4) tuple[float, float, float, float]
copy(self: Color4) Color4
dot(self: Color4, arg0: Color4) float
getMagnitude(self: Color4) float
getNormalized(self: Color4) Color4