BasePart Class
Namespace: Stride.Core.Assets
Assembly: Stride.Core.Assets.dll
System.Object →
BasePart
Derived from BasePart:
[DataContract]
[DataSerializer(typeof(BasePartDataSerializer))]
public sealed class BasePart : IEquatable<BasePart>
|
Improve this Doc
View Source
Constructors
BasePart(AssetReference, Guid, Guid)
public BasePart(AssetReference basePartAsset, Guid basePartId, Guid instanceId)
Parameters
Type |
Name |
Description |
AssetReference |
basePartAsset |
|
System.Guid |
basePartId |
|
System.Guid |
instanceId |
|
|
Improve this Doc
View Source
Properties
BasePartAsset
[DataMember(10)]
public AssetReference BasePartAsset { get; set; }
Property Value
BasePartId
[DataMember(20)]
public Guid BasePartId { get; }
Property Value
Type |
Description |
System.Guid |
|
InstanceId
[DataMember(30)]
public Guid InstanceId { get; }
Property Value
Type |
Description |
System.Guid |
|
|
Improve this Doc
View Source
Methods
Equals(BasePart)
public bool Equals(BasePart 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.Object.Equals(System.Object)
GetHashCode()
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
ResolvePart(PackageSession)
public IIdentifiable ResolvePart(PackageSession session)
Parameters
Returns
|
Improve this Doc
View Source
Operators
Equality(BasePart, BasePart)
public static bool operator ==(BasePart left, BasePart right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(BasePart, BasePart)
public static bool operator !=(BasePart left, BasePart right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods