当前位置: 首页>>代码示例>>Python>>正文


Python MovieCamera.chooseHealShot方法代码示例

本文整理汇总了Python中MovieCamera.chooseHealShot方法的典型用法代码示例。如果您正苦于以下问题:Python MovieCamera.chooseHealShot方法的具体用法?Python MovieCamera.chooseHealShot怎么用?Python MovieCamera.chooseHealShot使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在MovieCamera的用法示例。


在下文中一共展示了MovieCamera.chooseHealShot方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: doHeals

# 需要导入模块: import MovieCamera [as 别名]
# 或者: from MovieCamera import chooseHealShot [as 别名]
def doHeals(heals, hasInteractivePropHealBonus):
    if len(heals) == 0:
        return (None, None)
    track = Sequence()
    for h in heals:
        ival = __doHealLevel(h, hasInteractivePropHealBonus)
        if ival:
            track.append(ival)

    camDuration = track.getDuration()
    camTrack = MovieCamera.chooseHealShot(heals, camDuration)
    return (track, camTrack)
开发者ID:MasterLoopyBM,项目名称:c0d3,代码行数:14,代码来源:MovieHeal.py

示例2: doPetSOSs

# 需要导入模块: import MovieCamera [as 别名]
# 或者: from MovieCamera import chooseHealShot [as 别名]
def doPetSOSs(PetSOSs):
    if len(PetSOSs) == 0:
        return (None, None)
    track = Sequence()
    textTrack = Sequence()
    for p in PetSOSs:
        ival = __doPetSOS(p)
        if ival:
            track.append(ival)

    camDuration = track.getDuration()
    camTrack = MovieCamera.chooseHealShot(PetSOSs, camDuration)
    return (track, camTrack)
开发者ID:Keithybub,项目名称:ToonTownReviveOld,代码行数:15,代码来源:MoviePetSOS.py

示例3: doHeals

# 需要导入模块: import MovieCamera [as 别名]
# 或者: from MovieCamera import chooseHealShot [as 别名]
def doHeals(heals):
    if len(heals) == 0:
        return (None, None)
    
    ivals = []
    for h in heals:
        ival = __doHealLevel(h)
        if ival:
            ivals.append(ival)
        
    
    mtrack = Track(ivals)
    camDuration = mtrack.getDuration()
    camTrack = MovieCamera.chooseHealShot(heals, camDuration)
    return (mtrack, camTrack)
开发者ID:Toonerz,项目名称:Toontown-2003,代码行数:17,代码来源:MovieHeal.py

示例4: doNPCSOSs

# 需要导入模块: import MovieCamera [as 别名]
# 或者: from MovieCamera import chooseHealShot [as 别名]
def doNPCSOSs(NPCSOSs):
    if len(NPCSOSs) == 0:
        return (None, None)
    track = Sequence()
    textTrack = Sequence()
    for n in NPCSOSs:
        ival, textIval = __doNPCSOS(n)
        if ival:
            track.append(ival)
            textTrack.append(textIval)

    camDuration = track.getDuration()
    if camDuration > 0.0:
        camTrack = MovieCamera.chooseHealShot(NPCSOSs, camDuration)
    else:
        camTrack = Sequence()
    return (track, Parallel(camTrack, textTrack))
开发者ID:frogtongue,项目名称:tonguefrog,代码行数:19,代码来源:MovieNPCSOS.py


注:本文中的MovieCamera.chooseHealShot方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。