public void Start() { MeshAnimator animroot = _meshAnimRoot; if (animroot != null) { animroot.Enable(Engine.ACTIVE); animroot.Start(); } }
public void Record(bool record) { Scene scene = SharedWorld.MainScene; MeshAnimator animroot = _meshAnimRoot; if (animroot != null) { animroot.Stop(); if (record) { if (TimeInc > 0) { scene.TimeInc = TimeInc; } animroot.Enable(MeshAnimator.RECORD); } else { animroot.Disable(MeshAnimator.RECORD); scene.TimeInc = 0.0f; } } }