Struct SpatialParentLossPolicy
- Namespace
- Shard.Gameplay.World
- Assembly
- Shard.Gameplay.World.dll
Immutable parent-loss choice owned by an actively parented entity.
public readonly record struct SpatialParentLossPolicy : IEquatable<SpatialParentLossPolicy>
- Implements
- Inherited Members
Properties
Behavior
public SpatialParentLossBehavior Behavior { get; }
Property Value
Delete
public static SpatialParentLossPolicy Delete { get; }
Property Value
DetachPreservingWorld
public static SpatialParentLossPolicy DetachPreservingWorld { get; }
Property Value
FreezePendingParent
public static SpatialParentLossPolicy FreezePendingParent { get; }
Property Value
ReparentMode
public SpatialReparentMode ReparentMode { get; }
Property Value
ReparentTarget
public StableEntityId ReparentTarget { get; }
Property Value
UnloadTogether
public static SpatialParentLossPolicy UnloadTogether { get; }
Property Value
Methods
ReparentTo(StableEntityId, SpatialReparentMode)
public static SpatialParentLossPolicy ReparentTo(StableEntityId target, SpatialReparentMode mode)
Parameters
targetStableEntityIdmodeSpatialReparentMode