How do I integrate the built-in animationclip view into my own editor window?

.

assuming you’re after the little window that shows the animation playing, this might help:

thx, using Sample() is not a perfect way.
I thought it would be a class inherited from “AnimationPreview”(my imaginary class), and then do something …
by the way is it able to trigger animationevent in editorMode?