CastArray3DTFrom, TToSlice(Int32) Method
Gets a new
CastArray3DTFrom, TTo instance, which represents a subrange of planes of the current instance starting with the specified
startPlaneIndex.
Please note that the size of
TTo multiplied by
Width times
Height must be divisible by the size of
TFrom.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public CastArray3D<TFrom, TTo> Slice(
int startPlaneIndex
)
Public Function Slice (
startPlaneIndex As Integer
) As CastArray3D(Of TFrom, TTo)
public:
CastArray3D<TFrom, TTo> Slice(
int startPlaneIndex
)
member Slice :
startPlaneIndex : int -> CastArray3D<'TFrom, 'TTo>
- startPlaneIndex Int32
- The offset that points to the first plane of the returned CastArray3DTFrom, TTo.
CastArray3DTFrom,
TToThe subrange of planes of the current
CastArray3DTFrom, TTo instance starting with the specified
startPlaneIndex.