Value

Inheritance diagram of rumba.Value
class Value

Base class of all Rumba values.

Constructors

__init__

Value(: bool) -> None

Methods

__eq__

Return self==value.

__ne__

Return self!=value.

as_Box3f()

Returns the value as a Box3f.

as_Color4f()

Returns the value as a Color4f.

as_M44d()

Returns the value as a M44d.

as_M44f()

Returns the value as a M44f.

as_Quatd()

Returns the value as a Quatd.

as_Quatf()

Returns the value as a Quatf.

as_V2d()

Returns the value as a V2d.

as_V2f()

Returns the value as a V2f.

as_V2i()

Returns the value as a V2i.

as_V3d()

Returns the value as a V3d.

as_V3f()

Returns the value as a V3f.

as_V3i()

Returns the value as a V3i.

as_V4d()

Returns the value as a V4d.

as_V4f()

Returns the value as a V4f.

as_V4i()

Returns the value as a V4i.

as_bool()

Returns the value as a bool.

as_double()

Returns the value as a double.

as_float()

Returns the value as a float.

as_int()

Returns the value as an integer.

as_string()

Returns the value as a string.

duplicate()

Duplicate the value.

is_instance(value_type_name)

Check if this type derives from another value type.

type_name()

Return the type name of the Value.