Table of Contents

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

SpatialParentLossBehavior

Delete

public static SpatialParentLossPolicy Delete { get; }

Property Value

SpatialParentLossPolicy

DetachPreservingWorld

public static SpatialParentLossPolicy DetachPreservingWorld { get; }

Property Value

SpatialParentLossPolicy

FreezePendingParent

public static SpatialParentLossPolicy FreezePendingParent { get; }

Property Value

SpatialParentLossPolicy

ReparentMode

public SpatialReparentMode ReparentMode { get; }

Property Value

SpatialReparentMode

ReparentTarget

public StableEntityId ReparentTarget { get; }

Property Value

StableEntityId

UnloadTogether

public static SpatialParentLossPolicy UnloadTogether { get; }

Property Value

SpatialParentLossPolicy

Methods

ReparentTo(StableEntityId, SpatialReparentMode)

public static SpatialParentLossPolicy ReparentTo(StableEntityId target, SpatialReparentMode mode)

Parameters

target StableEntityId
mode SpatialReparentMode

Returns

SpatialParentLossPolicy