/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics3d/ |
H A D | js-apis-inner-scene.md | 1 # Scene chapter 28 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 58 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 98 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 135 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 171 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 209 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 331 ## Scene section 368 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 397 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | js-apis-inner-scene-nodes.md | 38 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 39 scene.then(async (result: Scene) => { 71 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 72 scene.then(async (result: Scene) => { 116 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 147 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 176 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 210 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 234 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 263 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | js-apis-inner-scene-resources.md | 54 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 55 scene.then(async (result: Scene) => { 165 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 166 scene.then(async (result: Scene) => { 198 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 224 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 248 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 277 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 301 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 325 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | js-apis-scene.md | 3 Scene将自定义的二级模块API组织在一起,方便开发者进行导出使用。 4 - [Scene](js-apis-inner-scene.md):ArkGraphics 3D基础模块,提供SceneResourceParamters、SceneNodeParamters等通用… 55 Scene
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/api/ |
H A D | scene.h | 83 class Scene final : public META_NS::Internal::ObjectInterfaceAPI<Scene, ClassId::Scene> { 84 META_API(Scene) 86 META_API_CACHE_INTERFACE(IScene, Scene) in META_API_OBJECT_CONVERTIBLE() 92 META_API_INTERFACE_PROPERTY_CACHED(Scene, Asynchronous, bool) in META_API_OBJECT_CONVERTIBLE() 100 explicit Scene(const IScene::Ptr& scene) in META_API_OBJECT_CONVERTIBLE() 109 Scene& CreateEmpty() in CreateEmpty() 122 Scene& Load(const BASE_NS::string_view& uri) in Load() 198 return META_API_CACHED_INTERFACE(Scene)->OnLoaded(); in OnLoaded() 220 static Scene GetScene(nodeClass& node) in GetScene() 223 return Scene(nodeInterface->GetScene()); in GetScene() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics3d/ |
H A D | js-apis-inner-scene.md | 1 # Scene chapter 29 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 59 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 99 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 136 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 172 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 210 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 332 ## Scene section 360 | Promise\<[Scene](#scene)> | Promise used to return the **Scene** object created.| 369 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | js-apis-inner-scene-nodes.md | 39 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 40 scene.then(async (result: Scene) => { 72 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 73 scene.then(async (result: Scene) => { 117 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 148 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 177 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 211 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 235 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 264 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | js-apis-inner-scene-resources.md | 55 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 56 scene.then(async (result: Scene) => { 166 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 167 scene.then(async (result: Scene) => { 197 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 223 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 247 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 276 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 300 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 324 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | js-apis-scene.md | 3 The **Scene** module houses all the APIs provided by the custom level-2 modules so that you can exp… 4 - [Scene](js-apis-inner-scene.md): basic module of ArkGraphics 3D. It provides common data types su… 55 Scene
|
/ohos5.0/docs/zh-cn/application-dev/graphics3d/ |
H A D | arkgraphics3D-scene.md | 17 glTF模型可用Scene提供的[load](../reference/apis-arkgraphics3d/js-apis-inner-scene.md#load)接口加载,示例代码如下: 20 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 24 let scene: Promise<Scene> = Scene.load($rawfile("gltf/DamagedHelmet/glTF/DamagedHelmet.gltf")); 25 scene.then(async (result: Scene) => {}); 40 scene: Scene | null = null; 51 Scene.load($rawfile('gltf/DamagedHelmet/glTF/DamagedHelmet.gltf')) 52 .then(async (result: Scene) => { 94 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 95 scene.then(async (result: Scene) => { 133 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | arkgraphics3D-animation.md | 8 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 11 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 12 scene.then(async (result: Scene) => { 32 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 35 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 36 scene.then(async (result: Scene) => { 59 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 62 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 63 scene.then(async (result: Scene) => {
|
H A D | arkgraphics3D-resource.md | 14 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 18 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 19 scene.then(async (result: Scene) => { 33 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 37 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 38 scene.then(async (result: Scene) => { 64 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 68 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 69 scene.then(async (result: Scene) => { 98 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | arkgraphics3D-overview.md | 7 - 提供加载并解析glTF模型的能力,支持开发者将glTF模型文件置于应用文件沙盒中,通过ArkGraphics 3D提供的异步接口完成模型的加载以及渲染。具体可见[Scene (场景管理)](..… 8 …以及通用节点(Node)的能力,可支撑开发者自定义场景灯光、渲染视角等信息,同时支撑用户动态地调整场景树结构以及节点属性进而调整3D场景。具体可见[Scene (场景管理)](../referen… 9 …撑开发者通过调用ArkGraphics 3D提供的能力来创建3D场景中使用的各种资源,支撑开发者自定义着色器,完成自定义3D材质渲染。具体可以参见[Scene (场景管理)](../referen…
|
/ohos5.0/docs/en/application-dev/graphics3d/ |
H A D | arkgraphics3D-animation.md | 1 # Controlling and Managing ArkGraphics 3D Scene Animations 8 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 11 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 12 scene.then(async (result: Scene) => { 32 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 35 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 36 scene.then(async (result: Scene) => { 59 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 62 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 63 scene.then(async (result: Scene) => {
|
H A D | arkgraphics3D-scene.md | 20 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 24 let scene: Promise<Scene> = Scene.load($rawfile("gltf/DamagedHelmet/glTF/DamagedHelmet.gltf")); 25 scene.then(async (result: Scene) => {}); 35 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 40 scene: Scene | null = null; 51 Scene.load($rawfile('gltf/DamagedHelmet/glTF/DamagedHelmet.gltf')) 52 .then(async (result: Scene) => { 94 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 95 scene.then(async (result: Scene) => { 133 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
H A D | arkgraphics3D-resource.md | 14 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 18 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 19 scene.then(async (result: Scene) => { 33 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 37 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 38 scene.then(async (result: Scene) => { 64 …LightType, Light, Camera, SceneResourceParameters, SceneResourceFactory, Scene, Node } from '@kit.… 68 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); 69 scene.then(async (result: Scene) => { 98 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf")); [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.43/ |
H A D | changelogs-arkui.md | 40 2、 Scene中uri变量数据类型由Resource变更为ResourceStr; 46 5、 Scene中load接口的入参由Resource类型变更为ResourceStr类型; 51 import { Scene, Image, SceneResourceParameters, SceneResourceFactory } from '@kit.ArkGraphics3D' 62 scene: Scene | null = null; 78 Scene.load($rawfile("default_path")) 79 .then(async (result: Scene) => {
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/dfx/include/ |
H A D | rdb_radar_reporter.h | 23 enum Scene : int { enum 46 RdbRadar(Scene scene, const char *funcName, std::string bundleName); 54 Scene scene_;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-component3d.md | 38 | scene | [ResourceStr](ts-types.md#resourcestr) \| [Scene](#scene12) | 否 | 3D模型资源… 52 ## Scene<sup>12+</sup> 54 type Scene = Scene 64 | [Scene](../../apis-arkgraphics3d/js-apis-inner-scene.md#scene-1) | 用于设置场景。 |
|
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/standard/ |
H A D | hst_engine_factory.cpp | 27 int32_t HstEngineFactory::Score(Scene scene, const std::string& uri) in Score() 30 if (scene == Scene::SCENE_PLAYBACK || scene == Scene::SCENE_RECORDER) { in Score()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/ |
H A D | avmetadatahelper_impl.cpp | 52 static std::map<Scene, long> SCENE_CODE_MAP = { { Scene::AV_META_SCENE_CLONE, 1 }, 53 { Scene::AV_META_SCENE_BATCH_HANDLE, 2 } }; 54 static std::map<Scene, int64_t> SCENE_TIMESTAMP_MAP = { { Scene::AV_META_SCENE_CLONE, 0 }, 55 { Scene::AV_META_SCENE_BATCH_HANDLE, 0 } }; 425 void AVMetadataHelperImpl::SetScene(Scene scene) in SetScene() 430 void AVMetadataHelperImpl::ReportSceneCode(Scene scene) in ReportSceneCode() 432 if (scene != Scene::AV_META_SCENE_CLONE && scene != Scene::AV_META_SCENE_BATCH_HANDLE) { in ReportSceneCode() 435 … if (scene == Scene::AV_META_SCENE_BATCH_HANDLE && concurrentWorkCount_ < HIGH_CONCRENT_WORK_NUM) { in ReportSceneCode()
|
/ohos5.0/foundation/multimedia/player_framework/services/services/engine_intf/ |
H A D | i_engine_factory.h | 39 enum class Scene { enum 49 virtual int32_t Score(Scene scene, const int32_t& appUid, const std::string &uri = "")
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | db_dfx_adapter.h | 30 enum class Scene { enum 65 Scene scene;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/ |
H A D | scene_demo.js | 19 import { Scene } from '../utils/Scene'; 37 let scene = new Scene(gl);
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/factory/ |
H A D | hst_engine_factory.cpp | 42 int32_t Score(Scene scene, const int32_t& appUid, const std::string& uri) override; 59 int32_t HstEngineFactory::Score(Scene scene, const int32_t& appUid, const std::string& uri) in Score()
|