像这样?
\documentclass[tikz,margin=1pt]{standalone}
\usetikzlibrary{3d}
\tikzset{my_rectangle/.style={draw,rectangle, minimum width=2cm, minimum height=1cm}}
\begin{document}
\begin{tikzpicture}
\node[my_rectangle,canvas is zy plane at x=0] {};
\end{tikzpicture}
\end{document}