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