现在的位置: 首页 > 综合 > 正文

显示当前秒数的MaxScript

2012年10月07日 ⁄ 综合 ⁄ 共 324字 ⁄ 字号 评论关闭
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群看到有人需要,所以写了一个

抱歉!评论已关闭.