createSingleArray static method

IPropertyValue createSingleArray(
  1. int valueSize,
  2. Pointer<Float> value
)

Implementation

static IPropertyValue createSingleArray(int valueSize, Pointer<Float> value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createSingleArray(valueSize, value);
  } finally {
    free(activationFactory);
  }
}