_MovieStep

action中step 全部展开

属性展开

  • + anima : string

    动画的逻辑名

    • 示例

       step.name = 'idle'
  • + bindRole : string

    绑定的Role的逻辑名

    • 示例

       step.bindRole = 'man'
  • + bindSource : string

    被绑定的marker点

    • 示例

       step.bindSource = 'marker1'
  • + bindTarget : string

    绑定的marker点

    • 示例

       step.bindTarget = 'marker2'
  • + camera : _Camera

    摄像机

    • 示例

       step.camera = _Camera.new()
  • + cameraLinear : bool

    摄像机是否是匀速移动

    • 示例

       step.cameraLinear = true
  • + event : string

    动画的事件. 待查, _Movie中onEvent并未导出给lua

  • + fadeFrom : uint

    开始渐变的颜色值

    • 示例

       step.fadeFrom = _Color.Red
  • + fadeTo : uint

    结束渐变的颜色值

    • 示例

       step.fadeTo = _Color.Blue
  • + name : string

    pfx的逻辑名

    • 示例

       step.name = 'hit'
  • + onTerrain : int

    是否在地表上,-1为否,1为是

    • 示例

       step.onTerrain = 1
  • + pfx : string

    pfx的资源文件名

    • 示例

       step.pfx = 'hit.pfx'
  • + role : string

    Role的逻辑名

    • 示例

       step.role = 'man'
  • + sfx : string

    音效资源文件名,设置为"empty"字符串时表示停止

    • 示例

       step.sfx = 'empty'
  • + shake : number

    晃动摄像机的值, 参见_Camera:shake()

    • 示例

       step.shake = 0
  • + speed : number

    当有role和anima时为动画播放速度,没有是为全局速度,默认为0,即不影响

    • 示例

       step.speed = 0
  • + start : uint

    开始时间

    • 示例

       step.start = 0
  • + stop : uint

    结束时间

    • 示例

       step.stop = 1
  • + target : _Matrix3D

    目标点的transform

    • 示例

       step.target = mov.graData:getMarker(1)

构造方法展开

  • + function _MovieStep() : _MovieStep

    构造新的step

问题反馈(登录才可以发表哦!)