public CgeActivityPreviewInternal(Action onClipRenderedFn, CgeEditorEffector editorEffector, CgeBlendTreeEffector blendTreeEffector, CgeMemoization memoization, int pictureWidth, int pictureHeight, EeRenderingCommands eeRenderingCommands) { _onClipRenderedFn = onClipRenderedFn; _editorEffector = editorEffector; _blendTreeEffector = blendTreeEffector; _memoization = memoization; _pictureWidth = pictureWidth; _pictureHeight = pictureHeight; _editorArbitraryAnimations = _editorEffector.GetActivity()?.editorArbitraryAnimations ?? new AnimationClip[] {}; _eeRenderingCommands = eeRenderingCommands; }
private Cge() { Memoization = new CgeMemoization(); }