ClassesClasses | | Operators

serialize_quatT_serialize_quatSerializeQuatSerializeQuat (Operator)

Name

serialize_quatT_serialize_quatSerializeQuatSerializeQuat — Serialize a quaternion.

Signature

serialize_quat( : : Quaternion : SerializedItemHandle)

Herror T_serialize_quat(const Htuple Quaternion, Htuple* SerializedItemHandle)

void SerializeQuat(const HTuple& Quaternion, HTuple* SerializedItemHandle)

HSerializedItem HQuaternion::SerializeQuat() const

static void HOperatorSet.SerializeQuat(HTuple quaternion, out HTuple serializedItemHandle)

HSerializedItem HQuaternion.SerializeQuat()

Description

serialize_quatserialize_quatSerializeQuatSerializeQuatSerializeQuat serializes the data of the QuaternionQuaternionQuaternionQuaternionquaternion (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The serialized quaternion is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_quatdeserialize_quatDeserializeQuatDeserializeQuatDeserializeQuat.

Execution Information

Parameters

QuaternionQuaternionQuaternionQuaternionquaternion (input_control)  quaternion HQuaternion, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Quaternion.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_quatserialize_quatSerializeQuatSerializeQuatSerializeQuat returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_quatdeserialize_quatDeserializeQuatDeserializeQuatDeserializeQuat

Module

Foundation


ClassesClasses | | Operators