private IEnumerable <PropertyNativeBase> GetPropertyNatives() { return(_effectType.GetTypeInfo() .DeclaredProperties .Select(x => (property: x, attribute: x.GetCustomAttribute <CustomEffectPropertyAttribute>())) .Where(x => x.attribute != null) .OrderBy(x => x.attribute.Order) .Select(x => PropertyNative <int> .Create(x.property))); }
public static extern MLResult.Code MLFoundObjectGetProperty(ulong handle, MLUUID id, uint index, ref PropertyNative property);