AssetPart Struct
Namespace: Stride.Core.Assets
Assembly: Stride.Core.Assets.dll
[DataContract("AssetPart")]
[Obsolete("This struct might be removed soon")]
public struct AssetPart : IEquatable<AssetPart>
|
Improve this Doc
View Source
Constructors
AssetPart(Guid, BasePart, Action<BasePart>)
public AssetPart(Guid partId, BasePart basePart, Action<BasePart> baseUpdater)
Parameters
| Type |
Name |
Description |
| System.Guid |
partId |
|
| BasePart |
basePart |
|
| System.Action<BasePart> |
baseUpdater |
|
|
Improve this Doc
View Source
Fields
Base
public readonly BasePart Base
Field Value
PartId
public readonly Guid PartId
Field Value
| Type |
Description |
| System.Guid |
|
|
Improve this Doc
View Source
Methods
Equals(AssetPart)
public bool Equals(AssetPart other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Equals(Object)
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
UpdateBase(BasePart)
public void UpdateBase(BasePart newBase)
Parameters
|
Improve this Doc
View Source
Operators
Equality(AssetPart, AssetPart)
public static bool operator ==(AssetPart left, AssetPart right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(AssetPart, AssetPart)
public static bool operator !=(AssetPart left, AssetPart right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
System.ValueType.ToString()
Extension Methods