AnimChannel:GetKeyInterp(when, interpMode, val1, val2)
Version added: before 9.5
Gets basic information about a key
Arguments:
| Name | Type | Description | Default | Ver |
| when | int32 | < 9.5 | ||
| interpMode | int32 | < 9.5 | ||
| val1 | real | < 9.5 | ||
| val2 | real | < 9.5 |
Return value:
void The function appears to return interpMode, val1, val2
This returns the interpolation mode and the two "value" fields for a key at a given frame.
It is called with four arguments. "When" needs to be specified as the input.
interpMode, val1 and val2 need to be initialised with a numeric value (0 is appropriate in all cases). If these three arguments are not initialised, Moho will crash.
It appears that (Moho 14) these three fields are not overwritten. The following seems to work :
interpMode, val1, val2 = AnimChannel:GetKeyInterp(when, interpMode, val1, val2)
It is called with four arguments. "When" needs to be specified as the input.
interpMode, val1 and val2 need to be initialised with a numeric value (0 is appropriate in all cases). If these three arguments are not initialised, Moho will crash.
It appears that (Moho 14) these three fields are not overwritten. The following seems to work :
interpMode, val1, val2 = AnimChannel:GetKeyInterp(when, interpMode, val1, val2)
Search results
Usage of 'GetKeyInterp' is found in the following scripts:
AE Key Tools (Original Edition) by A.Evseeva
View Code
Merge skeletons (Original Edition) by A.Evseeva
View Code
Modified transform bone tool (Original Edition) by A.Evseeva
View Code
Calculate and mark bone keys (Original Edition) by A.Evseeva
View Code
Apply smart to grandchildren (Original Edition) by A.Evseeva
View Code
FO_Utilities (Original Edition) by Lukas
View Code