Aller au contenu

Message HrzProtocol.TransformSymbolElement

Defined in hrz/protocol/vector/symbol_repr.proto.

Visually transforms the child element using the transform given as an array of component applied in the order they are defined. 3D transforms are flattened.


child: HrzProtocol.SymbolElement

origin: HrzProtocol.Vec2fProperty

Transform center in absolute value with (0, 0) being the top-left corner. This can be used in addition to the alignment field.


alignment: HrzProtocol.Vec2fProperty

Transform center relative the the child size. (-1, -1) is the top-left corner. (1, 1) is bottom right. This can be used in addition to the origin field.


components: HrzProtocol.TransformSymbolComponent[]