• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2024-2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @file Export 3D interfaces
18 * @kit ArkGraphics3D
19 */
20
21/**
22 * Export post processing settings
23 * @syscap SystemCapability.ArkUi.Graphics3D
24 * @since 12
25 */
26export { ToneMappingType, ToneMappingSettings, PostProcessSettings } from './graphics3d/ScenePostProcessSettings';
27
28/**
29 * Export scene types
30 * @syscap SystemCapability.ArkUi.Graphics3D
31 * @since 12
32 */
33export { Vec2, Vec3, Vec4, Color, Rect, Quaternion, Aabb, Position3, Rotation3, Scale3 } from './graphics3d/SceneTypes';
34
35/**
36 * Export scene resources
37 * @syscap SystemCapability.ArkUi.Graphics3D
38 * @since 12
39 */
40export { SceneResourceType, SceneResource, Shader, MaterialType, Material, ShaderMaterial,
41  SubMesh, Mesh, Animation, EnvironmentBackgroundType, Environment, Image } from './graphics3d/SceneResources';
42
43/**
44 * Export scene nodes
45 * @syscap SystemCapability.ArkUi.Graphics3D
46 * @since 12
47 */
48export { LayerMask, NodeType, Container, Node, Geometry, LightType, Light, SpotLight, DirectionalLight,
49  Camera } from './graphics3d/SceneNodes';
50
51/**
52 * Export scene
53 * @syscap SystemCapability.ArkUi.Graphics3D
54 * @since 12
55 */
56export { SceneResourceParameters, SceneNodeParameters, SceneResourceFactory, Scene, RenderParameters } from './graphics3d/Scene';
57