diff --git a/api/graphics3d/SceneTypes.d.ts b/api/graphics3d/SceneTypes.d.ts index b4cb57d6593465aa786e769f4be28f342fd35f0a..114d27d876e20d75c22f47b59a816b9a52a72ae1 100644 --- a/api/graphics3d/SceneTypes.d.ts +++ b/api/graphics3d/SceneTypes.d.ts @@ -415,28 +415,6 @@ export declare class CustomGeometry extends GeometryDefinition { */ topology?: PrimitiveTopology; - /** - * How to form mesh triangles from the indexed vertices. - * - * @return { PrimitiveTopology | undefined } - * @default PrimitiveTopology.TRIANGLE_LIST - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - get topology(): PrimitiveTopology | undefined; - - /** - * How to form mesh triangles from the indexed vertices. - * - * @param { PrimitiveTopology | undefined } value - * @default PrimitiveTopology.TRIANGLE_LIST - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - set topology(value: PrimitiveTopology | undefined); - /** * An array of vertices. * @@ -474,46 +452,6 @@ export declare class CustomGeometry extends GeometryDefinition { */ indices?: int[]; - /** - * Indices of those vertices that form triangles. PrimitiveTopology is applied to the sequence defined by indices. - * - * An example of creating an identical pair of triangles, given vertices = [a, b, c, d]: - * topology = PrimitiveTopology.TRIANGLE_LIST - * indices = [0, 1, 2, 2, 1, 3] - * resulting triangles: abc, cbd - * - * topology = PrimitiveTopology.TRIANGLE_STRIP - * indices = [0, 1, 2, 3] - * resulting triangles: abc, cbd (b and c are reversed in cbd, to match the face direction of the first triangle) - * - * @return { int[] | undefined } - * @default indices: [0, 1 ,2,..., vertices.size() - 1] - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - get indices(): int[] | undefined; - - /** - * Indices of those vertices that form triangles. PrimitiveTopology is applied to the sequence defined by indices. - * - * An example of creating an identical pair of triangles, given vertices = [a, b, c, d]: - * topology = PrimitiveTopology.TRIANGLE_LIST - * indices = [0, 1, 2, 2, 1, 3] - * resulting triangles: abc, cbd - * - * topology = PrimitiveTopology.TRIANGLE_STRIP - * indices = [0, 1, 2, 3] - * resulting triangles: abc, cbd (b and c are reversed in cbd, to match the face direction of the first triangle) - * - * @param { int[] | undefined } value - * @default indices: [0, 1 ,2,..., vertices.size() - 1] - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - set indices(value: int[] | undefined); - /** * Vertex normal. If normals is not null. normals[N] is for vertices[N] and generateNormals is ignored. * @@ -523,26 +461,6 @@ export declare class CustomGeometry extends GeometryDefinition { */ normals?: Vec3[]; - /** - * Vertex normal. If normals is not null. normals[N] is for vertices[N] and generateNormals is ignored. - * - * @return { Vec3[] | undefined } - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - get normals(): Vec3[] | undefined; - - /** - * Vertex normal. If normals is not null. normals[N] is for vertices[N] and generateNormals is ignored. - * - * @param { Vec3[] | undefined } value - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - set normals(value: Vec3[] | undefined); - /** * Vertex texture mapping UV coordinate. If uvs is not null, uvs[N] is for vertices[N] * @@ -552,26 +470,6 @@ export declare class CustomGeometry extends GeometryDefinition { */ uvs?: Vec2[]; - /** - * Vertex texture mapping UV coordinate. If uvs is not null, uvs[N] is for vertices[N] - * - * @return { Vec2[] | undefined } - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - get uvs(): Vec2[] | undefined; - - /** - * Vertex texture mapping UV coordinate. If uvs is not null, uvs[N] is for vertices[N] - * - * @param { Vec2[] | undefined } value - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - set uvs(value: Vec2[] | undefined); - /** * Vertex color. If colors is not null, colors[N] is for vertices[N]. * @@ -580,26 +478,6 @@ export declare class CustomGeometry extends GeometryDefinition { * @since 18 */ colors?: Color[]; - - /** - * Vertex color. If colors is not null, colors[N] is for vertices[N]. - * - * @return { Color[] | undefined } - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - get colors(): Color[] | undefined; - - /** - * Vertex color. If colors is not null, colors[N] is for vertices[N]. - * - * @param { Color[] | undefined } value - * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 - */ - set colors(value: Color[] | undefined); } /**