feature: add support for color interpolation in converter (#10545) b0f6516eec

* feature: add support for color interpolation in converter

Co-authored-by: hernan <hernan@rive.app>
This commit is contained in:
bodymovin
2025-09-12 19:42:41 +00:00
parent 8ae897bb5e
commit 7d6e39affc
4 changed files with 5 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ typedef NS_ENUM(NSInteger, RiveDataBindingViewModelInstancePropertyDataType) {
RiveDataBindingViewModelInstancePropertyDataTypeSymbolListIndex,
RiveDataBindingViewModelInstancePropertyDataTypeAssetImage,
RiveDataBindingViewModelInstancePropertyDataTypeArtboard,
RiveDataBindingViewModelInstancePropertyDataTypeInput,
} NS_SWIFT_NAME(RiveDataBindingViewModelInstancePropertyData.DataType);
NS_ASSUME_NONNULL_BEGIN

View File

@@ -40,6 +40,8 @@ RiveDataBindingViewModelInstancePropertyDataTypeFromRuntime(rive::DataType type)
return RiveDataBindingViewModelInstancePropertyDataTypeAssetImage;
case rive::DataType::artboard:
return RiveDataBindingViewModelInstancePropertyDataTypeArtboard;
case rive::DataType::input:
return RiveDataBindingViewModelInstancePropertyDataTypeInput;
}
}