• 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, BloomSettings } 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, GeometryType, GeometryDefinition,
34  PrimitiveTopology, CustomGeometry, CubeGeometry, PlaneGeometry, SphereGeometry } from './graphics3d/SceneTypes';
35
36/**
37 * Export scene resources
38 * @syscap SystemCapability.ArkUi.Graphics3D
39 * @since 12
40 */
41export { SceneResourceType, SceneResource, Shader, MaterialType, Material, ShaderMaterial,
42  SubMesh, Mesh, Animation, EnvironmentBackgroundType, Environment, Image, CullMode, Blend,
43  RenderSort, MaterialProperty, MetallicRoughnessMaterial, MeshResource, Morpher,
44  Sampler, SamplerFilter, SamplerAddressMode } from './graphics3d/SceneResources';
45
46/**
47 * Export scene nodes
48 * @syscap SystemCapability.ArkUi.Graphics3D
49 * @since 12
50 */
51export { LayerMask, NodeType, Container, Node, Geometry, LightType, Light, SpotLight, DirectionalLight,
52  Camera } from './graphics3d/SceneNodes';
53
54/**
55 * Export scene
56 * @syscap SystemCapability.ArkUi.Graphics3D
57 * @since 12
58 */
59export { SceneResourceParameters, SceneNodeParameters, SceneResourceFactory, Scene, RaycastResult, RaycastParameters,
60  RenderParameters, RenderResourceFactory, SceneComponent, RenderContext } from './graphics3d/Scene';
61