Table of Contents

Class IslandPlacementAnimationPlayer

Namespace
Root
Assembly
SPZGameAssembly.dll
public class IslandPlacementAnimationPlayer : EntityPlacementAnimationPlayer<QueuedIslandAnimation, IslandAnimation>, IMapSubDrawer
Inheritance
object
IslandPlacementAnimationPlayer
Implements
Inherited Members
Extension Methods

Constructors

IslandPlacementAnimationPlayer(IMapModel, GameResources, EntityPlacementAnimationVisualResources, Dictionary<IslandDefinitionId, IIslandPlatformDrawer>, CombinedIslandsMeshCache)

public IslandPlacementAnimationPlayer(IMapModel map, GameResources resources, EntityPlacementAnimationVisualResources visualResources, Dictionary<IslandDefinitionId, IIslandPlatformDrawer> islandsPlatformDrawers, CombinedIslandsMeshCache combinedIslandsMeshCache)

Parameters

map IMapModel
resources GameResources
visualResources EntityPlacementAnimationVisualResources
islandsPlatformDrawers Dictionary<IslandDefinitionId, IIslandPlatformDrawer>
combinedIslandsMeshCache CombinedIslandsMeshCache

Methods

CreateFromQueued(QueuedIslandAnimation, float, float)

protected override IslandAnimation CreateFromQueued(QueuedIslandAnimation queuedAnimation, float startTime, float durationFactor)

Parameters

queuedAnimation QueuedIslandAnimation
startTime float
durationFactor float

Returns

IslandAnimation

Dispose()

public void Dispose()

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

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

Parameters

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