Open Rails

AnimatedPart.UpdateState Method

[This is preliminary documentation and subject to change.]

Updates an animated part that toggles between two states (e.g. pantograph, doors, mirrors).

public void UpdateState(
   bool state,
   ElapsedTime elapsedTime
);

See Also

AnimatedPart Class | Orts.Viewer3D Namespace