Show / Hide Table of Contents

Class PeriodicUpdateSpatial

Updates only when a position changes sufficiently or time has changed.

Inheritance
System.Object
PeriodicUpdate
PeriodicUpdateSpatial
Inherited Members
PeriodicUpdate.GetSimTime
PeriodicUpdate.Period
PeriodicUpdate.NextTickTime
PeriodicUpdate.SetToTriggerNextTick()
PeriodicUpdate.Reset()
PeriodicUpdate.DoUpdate
PeriodicUpdate.Time
PeriodicUpdate.TimeTillNext
Namespace: Eco.Shared.Utils
Assembly: Eco.Shared.dll
Syntax
public class PeriodicUpdateSpatial : PeriodicUpdate

Constructors

PeriodicUpdateSpatial(Double, Single)

Declaration
public PeriodicUpdateSpatial(double time, float distance)
Parameters
Type Name Description
System.Double time
System.Single distance

Methods

DoSpatialUpdate(Vector3)

Declaration
public bool DoSpatialUpdate(Vector3 pos)
Parameters
Type Name Description
System.Numerics.Vector3 pos
Returns
Type Description
System.Boolean

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾