serialize_quatT_serialize_quatSerializeQuatSerializeQuatserialize_quat (Operator)

Name

serialize_quatT_serialize_quatSerializeQuatSerializeQuatserialize_quat — 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()

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

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