public class Image : IEquatable<Image>, IDisposable
Constructors
Image(Texture, Boolean, Boolean, AssetBundle, Boolean)
Declaration
public Image(Texture texture, bool noDispose = false, bool isAsset = false, AssetBundle bundle = null, bool isDynamic = false)
Parameters
Type |
Name |
Description |
Texture |
texture |
|
Boolean |
noDispose |
|
Boolean |
isAsset |
|
AssetBundle |
bundle |
|
Boolean |
isDynamic |
|
Properties
Declaration
public int height { get; }
Property Value
Declaration
public bool isDynamic { get; }
Property Value
texture
Declaration
public Texture texture { get; }
Property Value
Declaration
public bool valid { get; }
Property Value
Declaration
public int width { get; }
Property Value
Methods
Declaration
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
public bool Equals(Image other)
Parameters
Type |
Name |
Description |
Image |
other |
|
Returns
Declaration
protected void Finalize()
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public override string ToString()
Returns
Overrides
Operators
Declaration
public static bool operator ==(Image left, Image right)
Parameters
Returns
Declaration
public static bool operator !=(Image left, Image right)
Parameters
Returns