Class Extensions
Static class that contains various extension methods.
Namespace: Unity.Kinematica
Assembly: solution.dll
Syntax
public static class Extensions
Methods
| Name | Description |
|---|---|
| At<T>(NativeArray<T>, int) | Retrieves a reference to an element of a native array. |
| At<T>(NativeList<T>, int) | Retrieves a reference to an element of a native list. |
| At<T>(NativeSlice<T>, int) | Retrieves a reference to an element of a native slice. |
| ReadAffineTransform(BinaryReader) | Reads a transform from the binary reader. |
| ReadComponent<T>(BinaryReader) | Reads a component from the binary reader. |
| ReadFromStream<T>(NativeList<T>, BinaryReader) | Reads a native list from the binary reader. |
| ReadQuaternion(BinaryReader) | Reads a quaternion from the binary reader. |
| ReadTransform(BinaryReader) | Reads a transform from the binary reader. |
| ReadVector3(BinaryReader) | Reads a vector3 from the binary reader. |
| Write(BinaryWriter, AffineTransform) | Writes a transform to the binary writer. |
| Write(BinaryWriter, Quaternion) | Writes a quaternion to the binary writer. |
| Write(BinaryWriter, Vector3) | Writes a vector3 to the binary writer. |
| WriteComponent<T>(BinaryWriter, T) | Writes a component path to the binary writer. |
| WriteToStream<T>(NativeList<T>, BinaryWriter) | Writes a native list to the binary writer. |
| WriteTransform(BinaryWriter, Transform) | Writes a transform to the binary writer. |