Enums

Details

class Graphene.EulerOrder(value)

Bases: GLib.Enum

Specify the order of the rotations on each axis.

The Graphene.EulerOrder.DEFAULT value is special, and is used as an alias for one of the other orders.

New in version 1.2.

DEFAULT = -1

Rotate in the default order; the default order is one of the following enumeration values

XYZ = 0

Rotate in the X, Y, and Z order. Deprecated in Graphene 1.10, it’s an alias for Graphene.EulerOrder.SXYZ

YZX = 1

Rotate in the Y, Z, and X order. Deprecated in Graphene 1.10, it’s an alias for Graphene.EulerOrder.SYZX

SYZX = 10

Defines a static rotation along the Y, Z, and X axes

New in version 1.10.

SYZY = 11

Defines a static rotation along the Y, Z, and Y axes

New in version 1.10.

SYXZ = 12

Defines a static rotation along the Y, X, and Z axes

New in version 1.10.

SYXY = 13

Defines a static rotation along the Y, X, and Y axes

New in version 1.10.

SZXY = 14

Defines a static rotation along the Z, X, and Y axes

New in version 1.10.

SZXZ = 15

Defines a static rotation along the Z, X, and Z axes

New in version 1.10.

SZYX = 16

Defines a static rotation along the Z, Y, and X axes

New in version 1.10.

SZYZ = 17

Defines a static rotation along the Z, Y, and Z axes

New in version 1.10.

RZYX = 18

Defines a relative rotation along the Z, Y, and X axes

New in version 1.10.

RXYX = 19

Defines a relative rotation along the X, Y, and X axes

New in version 1.10.

ZXY = 2

Rotate in the Z, X, and Y order. Deprecated in Graphene 1.10, it’s an alias for Graphene.EulerOrder.SZXY

RYZX = 20

Defines a relative rotation along the Y, Z, and X axes

New in version 1.10.

RXZX = 21

Defines a relative rotation along the X, Z, and X axes

New in version 1.10.

RXZY = 22

Defines a relative rotation along the X, Z, and Y axes

New in version 1.10.

RYZY = 23

Defines a relative rotation along the Y, Z, and Y axes

New in version 1.10.

RZXY = 24

Defines a relative rotation along the Z, X, and Y axes

New in version 1.10.

RYXY = 25

Defines a relative rotation along the Y, X, and Y axes

New in version 1.10.

RYXZ = 26

Defines a relative rotation along the Y, X, and Z axes

New in version 1.10.

RZXZ = 27

Defines a relative rotation along the Z, X, and Z axes

New in version 1.10.

RXYZ = 28

Defines a relative rotation along the X, Y, and Z axes

New in version 1.10.

RZYZ = 29

Defines a relative rotation along the Z, Y, and Z axes

New in version 1.10.

XZY = 3

Rotate in the X, Z, and Y order. Deprecated in Graphene 1.10, it’s an alias for Graphene.EulerOrder.SXZY

YXZ = 4

Rotate in the Y, X, and Z order. Deprecated in Graphene 1.10, it’s an alias for Graphene.EulerOrder.SYXZ

ZYX = 5

Rotate in the Z, Y, and X order. Deprecated in Graphene 1.10, it’s an alias for Graphene.EulerOrder.SZYX

SXYZ = 6

Defines a static rotation along the X, Y, and Z axes

New in version 1.10.

SXYX = 7

Defines a static rotation along the X, Y, and X axes

New in version 1.10.

SXZY = 8

Defines a static rotation along the X, Z, and Y axes

New in version 1.10.

SXZX = 9

Defines a static rotation along the X, Z, and X axes

New in version 1.10.

class Graphene.RayIntersectionKind(value)

Bases: GLib.Enum

The type of intersection.

New in version 1.10.

NONE = 0

No intersection

ENTER = 1

The ray is entering the intersected object

LEAVE = 2

The ray is leaving the intersected object