Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This message updates all properties of a resource of type TYPE_TRANSLATETRANSFORM. This resource represents a translation transform of an object in 2-D space.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
messageSize |
|||||||||||||||||||||||||||||||
controlCode |
|||||||||||||||||||||||||||||||
targetResource |
|||||||||||||||||||||||||||||||
X |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Y |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
hXAnimations |
|||||||||||||||||||||||||||||||
hYAnimations |
messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x00000024.
controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x00000085.
targetResource (4 bytes): A 32-bit unsigned integer. This field MUST be set to a valid resource handle referencing a resource of type TYPE_TRANSLATETRANSFORM. This handle identifies the resource that is the target for this message.
X (8 bytes): A 64-bit floating-point number. The translation along the X-axis.
Y (8 bytes): A 64-bit floating-point number. The translation along the Y-axis.
hXAnimations (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_DOUBLERESOURCE. If the value of this field is nonzero, the referenced resource animates the value of the X property; otherwise, the property is ignored and the horizontal offset is the value in the X field.
hYAnimations (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_DOUBLERESOURCE. If the value of this field is nonzero, the referenced resource animates the value of the Y property; otherwise, the property is ignored and the vertical offset is the value in the Y field.