NativeArrayHelper
(
ovrArray
, length
)
|
Constructor that performs the conversion from array to Unity NativeArray.
Signature
NativeArrayHelper(T[] ovrArray, int length) Parameters ovrArray: T[]
Input array to convert.
length: int
Length of the input array.
|
UnityNativeArray
: NativeArray< T > |
Signature
NativeArray<T> UnityNativeArray |
Dispose
()
|
Safely disposes of allocated memory used when converting.
Signature
void Dispose() Returns void |
BoneWeights
: NativeArray< BoneWeight > |
Signature
NativeArray<BoneWeight> BoneWeights |
MeshBoneIndices
: NativeArray< OVRPlugin.Vector4s > |
Signature
NativeArray<OVRPlugin.Vector4s> MeshBoneIndices |
MeshBoneWeights
: NativeArray< OVRPlugin.Vector4f > |
Signature
NativeArray<OVRPlugin.Vector4f> MeshBoneWeights |
MeshNormals
: NativeArray< OVRPlugin.Vector3f > |
Signature
NativeArray<OVRPlugin.Vector3f> MeshNormals |
MeshUV
: NativeArray< OVRPlugin.Vector2f > |
Signature
NativeArray<OVRPlugin.Vector2f> MeshUV |
MeshVerticesPosition
: NativeArray< OVRPlugin.Vector3f > |
Signature
NativeArray<OVRPlugin.Vector3f> MeshVerticesPosition |
Normals
: NativeArray< Vector3 > |
Signature
NativeArray<Vector3> Normals |
UV
: NativeArray< Vector2 > |
Signature
NativeArray<Vector2> UV |
Vertices
: NativeArray< Vector3 > |
Signature
NativeArray<Vector3> Vertices |
Execute
(
index
)
|
Signature
void Execute(int index) Parameters index: intReturns void |
MeshIndices
: NativeArray< short > |
Signature
NativeArray<short> MeshIndices |
NumIndices
: int |
Signature
int NumIndices |
Triangles
: NativeArray< uint > |
Signature
NativeArray<uint> Triangles |
Execute
(
index
)
|
Signature
void Execute(int index) Parameters index: intReturns void |