Class EntityPlacementAnimationPlayer<TQueuedAnimation, TAnimation>
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public abstract class EntityPlacementAnimationPlayer<TQueuedAnimation, TAnimation> : IMapSubDrawer where TQueuedAnimation : IQueuedEntityAnimation where TAnimation : IEntityAnimation
Type Parameters
TQueuedAnimationTAnimation
- Inheritance
-
objectEntityPlacementAnimationPlayer<TQueuedAnimation, TAnimation>
- Implements
- Derived
- Extension Methods
Constructors
EntityPlacementAnimationPlayer(IMapModel, GameResources, EntityPlacementAnimationVisualResources)
public EntityPlacementAnimationPlayer(IMapModel map, GameResources resources, EntityPlacementAnimationVisualResources visualResources)
Parameters
mapIMapModelresourcesGameResourcesvisualResourcesEntityPlacementAnimationVisualResources
Fields
Map
protected readonly IMapModel Map
Field Value
QueuedDeletionAnimations
protected readonly Queue<TQueuedAnimation> QueuedDeletionAnimations
Field Value
- Queue<TQueuedAnimation>
QueuedPlacementAnimations
protected readonly Queue<TQueuedAnimation> QueuedPlacementAnimations
Field Value
- Queue<TQueuedAnimation>
Methods
CreateFromQueued(TQueuedAnimation, float, float)
protected abstract TAnimation CreateFromQueued(TQueuedAnimation queuedAnimation, float startTime, float durationFactor)
Parameters
queuedAnimationTQueuedAnimationstartTimefloatdurationFactorfloat
Returns
- TAnimation
Draw(FrameDrawOptions, TAnimation, float3, MaterialReference, MaterialPropertyBlock, PlacementAllowability)
protected abstract void Draw(FrameDrawOptions options, TAnimation animation, float3 scale, MaterialReference material, MaterialPropertyBlock propertyBlock, PlacementAllowability allowability)
Parameters
optionsFrameDrawOptionsanimationTAnimationscalefloat3materialMaterialReferencepropertyBlockMaterialPropertyBlockallowabilityPlacementAllowability
Draw(FrameDrawOptionsNoLOD, MapCullResult)
public void Draw(FrameDrawOptionsNoLOD options, MapCullResult cullResult)
Parameters
optionsFrameDrawOptionsNoLODcullResultMapCullResult