setTransform method
- @ControllerProps(NodeProps.kTransform)
- T viewModel,
- VoltronArray? transformArray
Implementation
@ControllerProps(NodeProps.kTransform)
void setTransform(T viewModel, VoltronArray? transformArray) {
final transform = TransformUtil.getTransformMatrix4(transformArray);
viewModel.transform = transform;
}