diff --git a/en/BabylonReactNative.md b/en/BabylonReactNative.md index 82b43a4bb1fc65ad1aaba7f55dc4ef5f5e0aac98..5ff90ae6578ccbee74de5504d6dd8248d93a88a2 100644 --- a/en/BabylonReactNative.md +++ b/en/BabylonReactNative.md @@ -389,7 +389,7 @@ Check the release version information in the release address of the third-party | `displayFrameRate` | Whether to display the FPS counter | boolean | No | iOS Android | Yes | | `isTransparent` | Whether to enable transparent background rendering | boolean | No | iOS Android | Yes | | `androidView` | The SurfaceView identifier used for native rendering binding on Android | string | No | iOS Android | Yes | -| `antiAliasing` | Anti-aliasing level. Available values: 0, 1, 2, 4, 8, 16. Higher values generally provide better anti-aliasing quality at the cost of performance. 0 and 1 indicate that anti-aliasing is disabled. If the specified anti-aliasing level exceeds the maximum level supported by the device, HarmonyOS will automatically apply the highest supported level instead. | number | No | iOS Android | Yes | +| `antiAliasing` | Anti-aliasing level. Available values: 0, 1, 2, 4, 8, 16. Higher values generally provide better anti-aliasing quality at the cost of performance. 0 and 1 indicate that anti-aliasing is disabled. If the specified anti-aliasing level exceeds the maximum level supported by the device, it will automatically apply the highest supported level instead. | number | No | iOS Android | Yes | | `onInitialized` | Callback invoked after the native engine has completed initialization | function | No | iOS Android | Yes | `NativeEngineView` is a native UI component bridged into React Native. @@ -397,7 +397,7 @@ Check the release version information in the release address of the third-party | Name | Description | Type | Required | Platform | HarmonyOS Support | | ------------------------ | ----------------------------------------------------------------------- | -------- | -------- | ------------ | ----------------- | | `isTransparent` | Whether to enable transparent background rendering | boolean | No | iOS Android | Yes | -| `antiAliasing` | Anti-aliasing level. Available values: 0, 1, 2, 4, 8, 16. Higher values generally provide better anti-aliasing quality at the cost of performance. 0 and 1 indicate that anti-aliasing is disabled. If the specified anti-aliasing level exceeds the maximum level supported by the device, HarmonyOS will automatically apply the highest supported level instead. | number | No | iOS Android | Yes | +| `antiAliasing` | Anti-aliasing level. Available values: 0, 1, 2, 4, 8, 16. Higher values generally provide better anti-aliasing quality at the cost of performance. 0 and 1 indicate that anti-aliasing is disabled. If the specified anti-aliasing level exceeds the maximum level supported by the device, it will automatically apply the highest supported level instead. | number | No | iOS Android | Yes | | `androidView` | The SurfaceView identifier used for native rendering binding on Android | string | No | iOS Android | Yes | | `onSnapshotDataReturned` | Callback returning screenshot data from the native side | function | No | iOS Android | Yes | diff --git a/zh-cn/BabylonReactNative.md b/zh-cn/BabylonReactNative.md index 2cbe8201abed0523d90f4b0f38ccd5ad0802691f..8e194eea96100adb0fa1c210ef78eeb71cd30a40 100644 --- a/zh-cn/BabylonReactNative.md +++ b/zh-cn/BabylonReactNative.md @@ -386,23 +386,23 @@ ohpm install `EngineView` 是一个 React Native 组件,用来渲染 Babylon.js 的 3D 场景。 -| Name | Description | Type | Required | Platform | HarmonyOS Support | -| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | -------- | ------------ | ----------------- | -| `camera` | 初始化时默认绑定的摄像机对象 | Camera | Yes | iOS Android | Yes | -| `displayFrameRate` | 是否显示 FPS 计数器 | boolean | No | iOS Android | Yes | -| `isTransparent` | 是否启用透明背景 | boolean | No | iOS Android | Yes | -| `androidView` | 用于 native 渲染绑定的SurfaceView ID | string | No | iOS Android | Yes | -| `antiAliasing` | 抗锯齿等级,可选值:0、1、2、4、8、16,值越大理论上消除锯齿越明显,但性能代价越高,0和1表示关闭抗锯齿。如果设置的抗锯齿等级超过设备支持的最大抗锯齿等级,HarmonyOS以设备实际支持的最大抗锯齿等级生效。 | number | No | iOS Android | Yes | -| `onInitialized` | 在原生引擎初始化完成后的回调 | function | No | iOS Android | Yes | +| Name | Description | Type | Required | Platform | HarmonyOS Support | +| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | ------------ | ----------------- | +| `camera` | 初始化时默认绑定的摄像机对象 | Camera | Yes | iOS Android | Yes | +| `displayFrameRate` | 是否显示 FPS 计数器 | boolean | No | iOS Android | Yes | +| `isTransparent` | 是否启用透明背景 | boolean | No | iOS Android | Yes | +| `androidView` | 用于 native 渲染绑定的SurfaceView ID | string | No | iOS Android | Yes | +| `antiAliasing` | 抗锯齿等级,可选值:0、1、2、4、8、16,值越大理论上消除锯齿越明显,但性能代价越高,0和1表示关闭抗锯齿。如果设置的抗锯齿等级超过设备支持的最大抗锯齿等级,以设备实际支持的最大抗锯齿等级生效。 | number | No | iOS Android | Yes | +| `onInitialized` | 在原生引擎初始化完成后的回调 | function | No | iOS Android | Yes | `NativeEngineView` 是 React Native 原生桥接的 Native UI 组件。 -| Name | Description | Type | Required | Platform | HarmonyOS Support | -| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | ------------ | ----------------- | -| `isTransparent` | 控制原生渲染背景是否透明 | boolean | No | iOS Android | Yes | -| `antiAliasing` | 抗锯齿等级,可选值:0、1、2、4、8、16,值越大理论上消除锯齿越明显,但性能代价越高,0和1表示关闭抗锯齿。如果设置的抗锯齿等级超过设备支持的最大抗锯齿等级,HarmonyOS以设备实际支持的最大抗锯齿等级生效。 | number | No | iOS Android | Yes | -| `androidView` | 用于 native 渲染绑定的SurfaceView ID | string | No | iOS Android | Yes | -| `onSnapshotDataReturned` | 原生返回截图数据的回调 | function | No | iOS Android | Yes | +| Name | Description | Type | Required | Platform | HarmonyOS Support | +| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | ------------ | ----------------- | +| `isTransparent` | 控制原生渲染背景是否透明 | boolean | No | iOS Android | Yes | +| `antiAliasing` | 抗锯齿等级,可选值:0、1、2、4、8、16,值越大理论上消除锯齿越明显,但性能代价越高,0和1表示关闭抗锯齿。如果设置的抗锯齿等级超过设备支持的最大抗锯齿等级,以设备实际支持的最大抗锯齿等级生效。 | number | No | iOS Android | Yes | +| `androidView` | 用于 native 渲染绑定的SurfaceView ID | string | No | iOS Android | Yes | +| `onSnapshotDataReturned` | 原生返回截图数据的回调 | function | No | iOS Android | Yes | # API