Class BuildingPlacementAnimationPlayer
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class BuildingPlacementAnimationPlayer : EntityPlacementAnimationPlayer<QueuedBuildingAnimation, BuildingAnimation>, IMapSubDrawer
- Inheritance
-
objectBuildingPlacementAnimationPlayer
- Implements
- Inherited Members
- Extension Methods
Constructors
BuildingPlacementAnimationPlayer(IMapModel, GameResources, EntityPlacementAnimationVisualResources)
public BuildingPlacementAnimationPlayer(IMapModel map, GameResources resources, EntityPlacementAnimationVisualResources visualResources)
Parameters
mapIMapModelresourcesGameResourcesvisualResourcesEntityPlacementAnimationVisualResources
Methods
CreateFromQueued(QueuedBuildingAnimation, float, float)
protected override BuildingAnimation CreateFromQueued(QueuedBuildingAnimation queuedAnimation, float startTime, float durationFactor)
Parameters
queuedAnimationQueuedBuildingAnimationstartTimefloatdurationFactorfloat
Returns
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
optionsFrameDrawOptionsanimationBuildingAnimationscalefloat3materialMaterialReferencepropertyBlockMaterialPropertyBlockallowabilityPlacementAllowability