显示当前秒数的MaxScript
UnRegisterRedrawViewsCallback ShowCurrentTimeSecond
Fn ShowCurrentTimeSecond =
(
local tempString
GW.SetTransform(Matrix3 1)
tempString = "Second:" + (CurrentTime.Frame / FrameRate) as string
GW.hText [GW.GetWinSizeX()*0.45,30,0] tempString color:yellow
GW.EnlargeUpdateRect #Whole
)
RegisterRedrawViewsCallback ShowCurrentTimeSecond
在一个q群看到有人需要,所以写了一个