示例#1
0
def GetValueAtTime(channel, time):
	clipstart = sessionutils.getCurrentShot().GetStartTime()
	start = channel.FindOwnerClipForChannel(sessionutils.getCurrentShot()).GetStartTime()
	return channel.GetLog().GetValue((time - clipstart) - start)
示例#2
0
def SetValueAtTime(channel, time, value):
	clipstart = sessionutils.getCurrentShot().GetStartTime()
	start = channel.FindOwnerClipForChannel(sessionutils.getCurrentShot()).GetStartTime()
	channel.GetLog().SetKey((time - clipstart) - start, value);
#end