API Referenceglobal
TextureInfoclass
A texture referenced by a material, with its compiled dimensions and format.
object→TextureInfo
Constructors1
Showing 1 constructors
public TextureInfo(string Param, string Path, int Width, int Height, string Format, long Bytes, int Mips, bool IsHdr)
A texture referenced by a material, with its compiled dimensions and format.
| Parameter | Type | Description |
|---|---|---|
| Param | string | — |
| Path | string | — |
| Width | int | — |
| Height | int | — |
| Format | string | — |
| Bytes | long | — |
| Mips | int | — |
| IsHdr | bool | — |
No results match this filter.
Methods1
Showing 1 methods
public void Deconstruct(string Param, string Path, int Width, int Height, string Format, long Bytes, int Mips, bool IsHdr)
| Parameter | Type | Description |
|---|---|---|
| Param | string | — |
| Path | string | — |
| Width | int | — |
| Height | int | — |
| Format | string | — |
| Bytes | long | — |
| Mips | int | — |
| IsHdr | bool | — |
Returns:
void—No results match this filter.
Properties8
Showing 8 properties
public long Sandbox.Package.MaterialMetaData.TextureInfo.Bytes { get; set; }
Returns:
long—public string Sandbox.Package.MaterialMetaData.TextureInfo.Format { get; set; }
Returns:
string—public int Sandbox.Package.MaterialMetaData.TextureInfo.Height { get; set; }
Returns:
int—public bool Sandbox.Package.MaterialMetaData.TextureInfo.IsHdr { get; set; }
Returns:
bool—public int Sandbox.Package.MaterialMetaData.TextureInfo.Mips { get; set; }
Returns:
int—public string Sandbox.Package.MaterialMetaData.TextureInfo.Param { get; set; }
Returns:
string—public string Sandbox.Package.MaterialMetaData.TextureInfo.Path { get; set; }
Returns:
string—public int Sandbox.Package.MaterialMetaData.TextureInfo.Width { get; set; }
Returns:
int—No results match this filter.