目录
addvariablename —— 对属性添加局部变量映射
ch —— 计算float/string通道或参数并返回其值
chi —— 计算int通道或参数并返回其值
chf —— 计算float通道或参数并返回其值
chs —— 计算sting通道或参数并返回其值
chu —— 计算vector2通道或参数并返回其值
chv —— 计算vector通道或参数并返回其值
chp —— 计算vector4通道或参数并返回其值
ch2 —— 计算matrix2通道或参数并返回其值
ch3 —— 计算matrix3通道或参数并返回其值
ch4 —— 计算matrix通道或参数并返回其值
chramp —— 计算ramp通道或参数并返回其值
chrampderiv —— 计算ramp导数通道或参数并返回其值
chdict —— 计算dict导数通道或参数并返回其值
chsop —— 计算操作路径参数并返回路径
chsaw —— 返回原生字符串通道或参数
chid —— 解析字符串通道或参数并返回
chexpr —— 计算新段表达式通道
chexprf —— 计算新段表达式通道在给定的帧
chexprt —— 计算新段表达式通道在给定的时间
isconnected —— 判断输入端口是否被连接
opfullpath —— 返回相对路径的完全路径
cregioncapturetransform —— 返回捕获变换
cregiondeformtransform —— 返回变形变换
cregionoverridetransform —— 返回捕获或变形变换
optransform —— 返回变换
opparentbonetransform —— 返回父母骨骼变换
opparenttransform —— 返回父母变换
opparmtransform —— 返回parm变换
oppreconstrainttransform —— 返回preconstraint变换
oppreparmtransform —— 返回pre/parm变换
opprerawparmtransform —— 返回pre/raw parm变换
oppretransform —— 返回pre变换
oprawparmtransform —— 返回raw parm变换
addvariablename —— 对属性添加局部变量映射
//在当前几何体context void addvariablename(string aname, string vname)
int addvariablename(int geohandle, string aname, string vname)
ch —— 计算float/string通道或参数并返回其值
float ch(string channel) float ch(string channel, float time_in_sec) string ch(string channel) string ch(string channel, float time_in_sec) string ch(string channel, float time_in_sec) float ch(int op_id, int parm_index, int vector_index) float ch(int op_id, int parm_index, int vector_index, float time_in_sec)
- time单位为second,不是frame;如没有指定时间,返回当前时间值;
- 可针对float、string参数类型;
chi —— 计算int通道或参数并返回其值
int chi(string channel) int chi(string channel, float time)
chf —— 计算float通道或参数并返回其值
float chf(string channel) float chf(string channel, float time_in_sec) float chf(int op_id, int parm_index, int vector_index) float chf(int op_id, int parm_index, int vector_index, float time_in_sec)
chs —— 计算sting通道或参数并返回其值
string chs(string channel) string chs(string channel, float time)
chu —— 计算vector2通道或参数并返回其值
vector2 chu(string channel) vector2 chu(string channel, float time)
chv —— 计算vector通道或参数并返回其值
vector chv(string channel) vector chv(string channel, float time) vector chv(int opid, int pid) vector chv(int opid, int pid, float time)
chp —— 计算vector4通道或参数并返回其值
vector4 chp(string channel) vector4 chp(string channel, float time)
ch2 —— 计算matrix2通道或参数并返回其值
matrix2 ch2(string channel) matrix2 ch2(string channel, float time)
ch4 —— 计算matrix3通道或参数并返回其值
matrix3 ch3(string channel) matrix3 ch3(string channel, float time)
ch4 —— 计算matrix通道或参数并返回其值
matrix ch4(string channel) matrix ch4(string channel, float time)
chramp —— 计算ramp通道或参数并返回其值
float chramp(string channel, float ramppos) float chramp(string channel, float ramppos, float time) vector chramp(string channel, float ramppos) vector chramp(string channel, float ramppos, float time)
chrampderiv —— 计算ramp导数通道或参数并返回其值
float chrampderiv(string channel, float ramppos) float chrampderiv(string channel, float ramppos, float time) vector chrampderiv(string channel, float ramppos) vector chrampderiv(string channel, float ramppos, float time)
chdict —— 计算dict导数通道或参数并返回其值
dict chdict(string channel)
chsop —— 计算操作路径参数并返回路径
string chsop(string channel) string chsop(string channel, float time)
chsaw —— 返回原生字符串通道或参数
string chsraw(string channel)
chid —— 解析字符串通道或参数并返回
void chid(string channel_path, int &op_id, int &parm_index, int &vector_index) void chid(string op_path, string channel_name, int &op_id, int &parm_index, int &vector_index) int chid(int op_id, int parm_index, int vector_index)
chexpr —— 计算新段表达式通道
float chexpr(string channel, string new_expr_function)
chexprf —— 计算新段表达式通道在给定的帧
float chexprf(string channel, string new_expr_function, float frame)
chexprt —— 计算新段表达式通道在给定的时间
float chexprt(string channel, string new_expr_function, float time_in_seconds)
isconnected —— 判断输入端口是否被连接
int isconnected(int opinput)
opfullpath —— 返回相对路径的完全路径
string opfullpath(string relative_path)
opfullpath(".")
opfullpath("..")
cregioncapturetransform —— 返回捕获变换
matrix cregioncapturetransform(string path) matrix cregioncapturetransform(string path, float time) matrix cregioncapturetransform(int op_id) matrix cregioncapturetransform(int op_id, float time)
cregiondeformtransform —— 返回变形变换
matrix cregiondeformtransform(string path) matrix cregiondeformtransform(string path, float time) matrix cregiondeformtransform(int op_id) matrix cregiondeformtransform(int op_id, float time)
cregionoverridetransform —— 返回捕获或变形变换
matrix cregionoverridetransform(string path) matrix cregionoverridetransform(string path, float time) matrix cregionoverridetransform(int op_id) matrix cregionoverridetransform(int op_id, float time)
optransform —— 返回变换
matrix optransform(string path) matrix optransform(string path, float time) matrix optransform(int op_id) matrix optransform(int op_id, float time)
opparentbonetransform —— 返回父母骨骼变换
matrix opparentbonetransform(string path) matrix opparentbonetransform(string path, float time) matrix opparentbonetransform(int opid) matrix opparentbonetransform(int opid, float time)
opparenttransform —— 返回父母变换
matrix opparenttransform(string path) matrix opparenttransform(string path, float time) matrix opparenttransform(int opid) matrix opparenttransform(int opid, float time)
opparmtransform —— 返回parm变换
matrix opparmtransform(string path) matrix opparmtransform(string path, float time) matrix opparmtransform(int opid) matrix opparmtransform(int opid, float time)
oppreconstrainttransform —— 返回preconstraint变换
matrix oppreconstrainttransform(string path) matrix oppreconstrainttransform(string path, float time) matrix oppreconstrainttransform(int opid) matrix oppreconstrainttransform(int opid, float time)
oppreparmtransform —— 返回pre/parm变换
matrix oppreparmtransform(string path) matrix oppreparmtransform(string path, float time) matrix oppreparmtransform(int opid) matrix oppreparmtransform(int opid, float time)
opprerawparmtransform —— 返回pre/raw parm变换
matrix opprerawparmtransform(string path) matrix opprerawparmtransform(string path, float time) matrix opprerawparmtransform(int opid) matrix opprerawparmtransform(int opid, float time) matrix opprerawparmtransform(int opid, int trsorder, int xyzorder, int mask)
oppretransform —— 返回pre变换
matrix oppretransform(string path) matrix oppretransform(string path, float time) matrix oppretransform(int opid) matrix oppretransform(int opid, float time)
oprawparmtransform —— 返回raw parm变换
matrix oprawparmtransform(string path) matrix oprawparmtransform(string path, float time) matrix oprawparmtransform(int opid) matrix oprawparmtransform(int opid, float time) matrix oprawparmtransform(int opid, int trsorder, int xyzorder, int mask)