Class VectorOfCameraParams
Wrapped class of the C++ standard vector of CameraParams.
public class VectorOfCameraParams : UnmanagedVector, IDisposable, IAsyncDisposable
- Inheritance
-
VectorOfCameraParams
- Implements
- Inherited Members
Constructors
VectorOfCameraParams()
Create an empty standard vector of CameraParams
public VectorOfCameraParams()
VectorOfCameraParams(params CameraParams[])
Create an standard vector of CameraParams with the initial values
public VectorOfCameraParams(params CameraParams[] values)
Parameters
values
CameraParams[]The initial values
VectorOfCameraParams(int)
Create an standard vector of CameraParams of the specific size
public VectorOfCameraParams(int size)
Parameters
size
intThe size of the vector
Properties
this[int]
Get the item in the specific index
public CameraParams this[int index] { get; }
Parameters
index
intThe index
Property Value
- CameraParams
The item in the specific index
Length
The size of memory in bytes, that is needed to hold all the items in this vector
public override long Length { get; }
Property Value
Size
Get the size of the vector
public override int Size { get; }
Property Value
SizeOfItemInBytes
The size of the item in this Vector, counted as size in bytes.
public static int SizeOfItemInBytes { get; }
Property Value
StartAddress
The pointer to the first element on the vector. In case of an empty vector, IntPtr.Zero will be returned.
public override nint StartAddress { get; }
Property Value
Methods
Clear()
Clear the vector
public void Clear()
DisposeObject()
Release the standard vector
protected override void DisposeObject()
Push(CameraParams)
Push a value into the standard vector
public void Push(CameraParams value)
Parameters
value
CameraParamsThe value to be pushed to the vector
Push(CameraParams[])
Push multiple values into the standard vector
public void Push(CameraParams[] values)
Parameters
values
CameraParams[]The values to be pushed to the vector
Push(VectorOfCameraParams)
Push multiple values from the other vector into this vector
public void Push(VectorOfCameraParams other)
Parameters
other
VectorOfCameraParamsThe other vector, from which the values will be pushed to the current vector