# 首先要获得当前场景的帧数量:
def get_frame_count(fbx_scene):
globalsetting = get_globle_settings(fbx_scene)[0]
span = globalsetting.GetTimelineDefaultTimeSpan()
return span.GetStop().GetFrameCount()
# 这段代码中 item是你获得的Transform:
start_time = fbx.FbxTime()
end_time = fbx.FbxTime()
end_time.SetFrame(frame_count)
transform_start = item.EvaluateGlobalTransform(start_time)
t = transform_start.GetT()
print t[0]
print t[1]
print t[2]
r = transform_start.GetR()
print r[0]
print r[1]
print r[2]
transform_end = item.EvaluateGlobalTransform(end_time)
t = transform_end.GetT()
print t[0]
print t[1]
print t[2]
r = transform_end.GetR()
print r[0]
print r[1]
print r[2]