Class IslandPlacementAnimationPlayer
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class IslandPlacementAnimationPlayer : EntityPlacementAnimationPlayer<QueuedIslandAnimation, IslandAnimation>, IMapSubDrawer
- Inheritance
-
objectIslandPlacementAnimationPlayer
- 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
mapIMapModelresourcesGameResourcesvisualResourcesEntityPlacementAnimationVisualResourcesislandsPlatformDrawersDictionary<IslandDefinitionId, IIslandPlatformDrawer>combinedIslandsMeshCacheCombinedIslandsMeshCache
Methods
CreateFromQueued(QueuedIslandAnimation, float, float)
protected override IslandAnimation CreateFromQueued(QueuedIslandAnimation queuedAnimation, float startTime, float durationFactor)
Parameters
queuedAnimationQueuedIslandAnimationstartTimefloatdurationFactorfloat
Returns
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
optionsFrameDrawOptionsanimationIslandAnimationscalefloat3materialMaterialReferencepropertyBlockMaterialPropertyBlockallowabilityPlacementAllowability