ImageDimensions
NameSpace: Android
Inherits from:
IEnumerable
Public Methods
NativeArray< T > CreateNativeArray< T >
public NativeArray< T > CreateNativeArray< T >(
Allocator allocator,
NativeArrayOptions options =NativeArrayOptions.ClearMemory
)
Parameters
Type | Name | Description |
---|---|---|
Allocator | allocator | |
NativeArrayOptions | options |
ImageCoordinates GetCoordinatesFromIndex
public ImageCoordinates GetCoordinatesFromIndex(
int index
)
Parameters
Type | Name | Description |
---|---|---|
int | index |
IEnumerator IEnumerable. GetEnumerator
public IEnumerator IEnumerable. GetEnumerator()
Enumerator GetEnumerator
public Enumerator GetEnumerator()
ImageDimensions
public ImageDimensions(
int width,
int height
)
Parameters
Type | Name | Description |
---|---|---|
int | width | |
int | height |
Public Attributes
Height
public readonly int Height;
Size
public int Size => Width * Height;
Width
public readonly int Width;