Table of Contents

Class BuildingPlacementAnimationPlayer

Namespace
Root
Assembly
SPZGameAssembly.dll
public class BuildingPlacementAnimationPlayer : EntityPlacementAnimationPlayer<QueuedBuildingAnimation, BuildingAnimation>, IMapSubDrawer
Inheritance
object
BuildingPlacementAnimationPlayer
Implements
Inherited Members
Extension Methods

Constructors

BuildingPlacementAnimationPlayer(IMapModel, GameResources, EntityPlacementAnimationVisualResources)

public BuildingPlacementAnimationPlayer(IMapModel map, GameResources resources, EntityPlacementAnimationVisualResources visualResources)

Parameters

map IMapModel
resources GameResources
visualResources EntityPlacementAnimationVisualResources

Methods

CreateFromQueued(QueuedBuildingAnimation, float, float)

protected override BuildingAnimation CreateFromQueued(QueuedBuildingAnimation queuedAnimation, float startTime, float durationFactor)

Parameters

queuedAnimation QueuedBuildingAnimation
startTime float
durationFactor float

Returns

BuildingAnimation

Dispose()

public void Dispose()

Draw(FrameDrawOptions, BuildingAnimation, float3, MaterialReference, MaterialPropertyBlock, PlacementAllowability)

protected override void Draw(FrameDrawOptions options, BuildingAnimation animation, float3 scale, MaterialReference material, MaterialPropertyBlock propertyBlock, PlacementAllowability allowability)

Parameters

options FrameDrawOptions
animation BuildingAnimation
scale float3
material MaterialReference
propertyBlock MaterialPropertyBlock
allowability PlacementAllowability