2.2.7.78 MILCMD_MODEL3DGROUP
This message updates all properties of a resource of type TYPE_MODEL3DGROUP. This resource represents a group of 3-D model resources, which can be treated as a single, compound 3-D model.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
messageSize |
|||||||||||||||||||||||||||||||
controlCode |
|||||||||||||||||||||||||||||||
targetResource |
|||||||||||||||||||||||||||||||
htransform |
|||||||||||||||||||||||||||||||
ChildrenCollectionSize |
|||||||||||||||||||||||||||||||
ChildrenCollection (variable) |
|||||||||||||||||||||||||||||||
... |
messageSize (4 bytes): A 32-bit unsigned integer. The total size of this message and its payload in bytes. The value of this field MUST be set to a number divisible by four and greater than or equal to 0x00000014.
controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x0000007C.
targetResource (4 bytes): A 32-bit unsigned integer. This field MUST be set to a valid resource handle referencing a resource of type TYPE_MODEL3DGROUP. This handle identifies the resource that is the target for this message.
htransform (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_MATRIXTRANSFORM3D. This resource represents the transformation applied to the model. If this field is set to zero, then no transformation is applied to the model.
ChildrenCollectionSize (4 bytes): A 32-bit unsigned integer. The size in bytes of the ChildrenCollection array.
ChildrenCollection (variable): A variable-length array of handles to resources of type TYPE_GEOMETRYMODEL3D. This is the collection of 3-D models contained in this model 3-D group. The number of elements in this array MUST be equal to the value of the ChildrenCollectionSize field divided by four.