serialize_quatT_serialize_quatSerializeQuatSerializeQuatserialize_quat (Operator)
Name
serialize_quatT_serialize_quatSerializeQuatSerializeQuatserialize_quat
— Serialize a quaternion.
Signature
def serialize_quat(quaternion: Sequence[Union[float, int]]) -> HHandle
Description
serialize_quatserialize_quatSerializeQuatSerializeQuatSerializeQuatserialize_quat
serializes the data of the QuaternionQuaternionQuaternionQuaternionquaternionquaternion
(see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an introduction of the basic
principle of serialization). The serialized quaternion is returned by
the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_quatdeserialize_quatDeserializeQuatDeserializeQuatDeserializeQuatdeserialize_quat
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
QuaternionQuaternionQuaternionQuaternionquaternionquaternion
(input_control) quaternion →
HQuaternion, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Quaternion.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(output_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator serialize_quatserialize_quatSerializeQuatSerializeQuatSerializeQuatserialize_quat
returns the value TRUE. If necessary, an exception is raised.
Possible Predecessors
axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuataxis_angle_to_quat
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_quatdeserialize_quatDeserializeQuatDeserializeQuatDeserializeQuatdeserialize_quat
Module
Foundation