/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | _ark_u_i___rotation_options.md | 27 | float [perspective](#perspective) | 视距,即视点到z=0平面的距离。 | 73 ### perspective subsection 76 float ArkUI_RotationOptions::perspective
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 76 matrix.Set(3, i, decomp.perspective[i]); in BuildPerspectiveMatrix() 163 matrix = matrix * perspective; in ComposeTransform() 346 .append(std::to_string(perspective[0])) in ToString() 348 .append(std::to_string(perspective[1])) in ToString() 350 .append(std::to_string(perspective[2])) in ToString() 352 .append(std::to_string(perspective[3])) in ToString() 478 Combine<4>(ret.perspective, to.perspective, from.perspective, progress, 1.0 - progress); in BlendDecomposedTransforms() 507 out.perspective[i] = rhs[i]; in DecomposeTransform() 512 out.perspective[i] = 0.0; in DecomposeTransform() 513 out.perspective[3] = 1.0; in DecomposeTransform() [all …]
|
H A D | transform_util.h | 104 float perspective[4] = { 0.0f, 0.0f, 0.0f, 1.0f };
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | _ark_u_i___rotation_options.md | 27 | float [perspective](#perspective) | Distance from the user to the z=0 plane. | 73 ### perspective subsection 76 float ArkUI_RotationOptions::perspective
|
H A D | js-apis-matrix4.md | 46 | m03 | number | Yes | The fourth value, which is affected by perspective projection. … 50 | m13 | number | Yes | The eighth value, which is affected by perspective projection. … 54 | m23 | number | Yes | The 12th value, which is affected by perspective projection. … 58 | m33 | number | Yes | Valid in homogeneous coordinates, presenting the perspective projection e…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-transformation.md | 25 …br/>centerZ: 0,<br/>perspective: 0<br/>}<br/>单位:vp<br/> 228 
|
H A D | ts-transition-animation-component.md | 48 …)代表组件的左上角。<br/>-centerZ指z轴锚点,即3D旋转中心点的z轴分量,centerZ默认值是0。<br/>-perspective指视距,不支持perspective属性做转场动画…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | transition_property.h | 81 float perspective = 0.0f; member 85 …const float perspective = 0.0f) : xDirection(xDirection), yDirection(yDirection), zDirection(zDire… 86 … angle(angle), centerX(centerX), centerY(centerY), centerZ(centerZ), perspective(perspective) {} 93 NearEqual(centerZ, other.centerZ) && NearEqual(perspective, other.perspective); 100 std::to_string(perspective) + "]"; in ToString()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | render_transform.cpp | 303 auto& perspective = effect.perspectiveOperation_; in ParseTransformEffect() local 304 double distance = CovertDimensionToPxBySize(perspective.distance, 0.0); in ParseTransformEffect() 326 auto& perspective = effect.perspectiveOperation_; in ParseDimension() local 327 perspective.distance = Dimension(CovertDimensionToPxBySize(perspective.distance, 0.0)); in ParseDimension()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_transitioneffect.h | 59 float perspective; member 102 options.perspective); in Rotate()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_transition.cpp | 80 toEffectOption->rotate.perspective = effectOption->rotate->perspective; in ConvertToEffectOption()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | transform_util_test.cpp | 342 EXPECT_EQ(out.perspective[0] == 1.0f, true); 348 EXPECT_EQ(out.perspective[0] == 0.000001f, true); 354 EXPECT_EQ(out.perspective[0] == 0.000001f, true);
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/base/math/ |
H A D | math_utils.h | 57 return glm::perspective(fov, aspect, nearV, farV); in Perspective()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/ |
H A D | scene_demo.js | 38 scene.camera().perspective(30, gl.width / gl.height, 1, 100).eye(0, 1.5, 8).center(0, 0, 0);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-transformation.md | 25 …terZ: 0,<br>perspective: 0<br>}<br>Unit: vp<br><br>Since AP… 94 | perspective<sup>10+</sup> | number | No | Distance from the user to the z=0 …
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | inter-device-interaction-hop-overview.md | 19 …let to a smart TV. The video application on the tablet exits. From the perspective of application … 26 …. Then, you use the chat software to send it to the customer. From the perspective of application …
|
/ohos5.0/docs/en/application-dev/webgl/ |
H A D | webgl-2d-guidelines.md | 236 …- Erase the canvas with the background color, and then build a camera perspective projection matri… 247 // Create a perspective projection matrix to simulate perspective deformation in the camera. 253 mat4.perspective(projectionMatrix, fieldOfView, aspect, zNear, zFar);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/ |
H A D | Camera.js | 50 perspective(fovy = 60, aspect = 1, near = 0.1, far = 100) { method in Camera
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_exporter.cpp | 501 exportCamera->attributes.perspective.yfov = cameraComponent.yFov; in ExportGltfCameras() 502 exportCamera->attributes.perspective.zfar = cameraComponent.zFar; in ExportGltfCameras() 503 exportCamera->attributes.perspective.znear = cameraComponent.zNear; in ExportGltfCameras() 1485 if (camera->attributes.perspective.aspect > 0.f) { in ExportCameras() 1486 jsonPerspective["aspectRatio"] = camera->attributes.perspective.aspect; in ExportCameras() 1488 jsonPerspective["yfov"] = camera->attributes.perspective.yfov; in ExportCameras() 1489 if (camera->attributes.perspective.zfar > 0.f) { in ExportCameras() 1490 jsonPerspective["zfar"] = camera->attributes.perspective.zfar; in ExportCameras() 1492 jsonPerspective["znear"] = camera->attributes.perspective.znear; in ExportCameras() 2322 Math::Vec4 perspective; in CombineSkippedParentTransformations() local [all …]
|
H A D | gltf2_loader.cpp | 1646 … LoadResult& loadResult, const json::value& jsonData, Camera::Attributes::Perspective& perspective) in PrimitiveAttributes() argument 1648 … if (!ParseOptionalNumber<float>(loadResult, perspective.aspect, jsonData, "aspectRatio", -1.f)) { in PrimitiveAttributes() 1651 …if (!ParseOptionalNumber<float>(loadResult, perspective.yfov, jsonData, "yfov", -1.f)) { // requir… in PrimitiveAttributes() 1654 if (!ParseOptionalNumber<float>(loadResult, perspective.zfar, jsonData, "zfar", -1.f)) { in PrimitiveAttributes() 1657 …if (!ParseOptionalNumber<float>(loadResult, perspective.znear, jsonData, "znear", -1.f)) { // requ… in PrimitiveAttributes() 1660 if (perspective.yfov < 0 || perspective.znear < 0) { in PrimitiveAttributes() 1706 … const auto parser = [&camera](LoadResult& loadResult, const json::value& perspective) -> bool { in PrimitiveAttributes() argument 1707 return CameraPerspective(loadResult, perspective, camera->attributes.perspective); in PrimitiveAttributes()
|
/ohos5.0/docs/en/device-dev/porting/ |
H A D | porting-minichip-overview.md | 4 …te walkthrough of OpenHarmony-based chip adaptation from an end-to-end perspective. It applies to …
|
/ohos5.0/docs/en/application-dev/graphics3d/ |
H A D | arkgraphics3D-scene.md | 5 …the 3D scene. In essence, 3D rendering is to observe a 3D scene from a perspective and project it … 8 …the camera and light settings, which will help you achieve the desired perspective and lighting co…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | base_text_select_overlay.cpp | 1114 Vector4F perspectiveVector(transform.perspective[xIndex], transform.perspective[yIndex], in CheckHasTransformMatrix() 1115 transform.perspective[zIndex], transform.perspective[wIndex]); in CheckHasTransformMatrix()
|
/ohos5.0/docs/en/contribute/template/ |
H A D | faq-template.md | 38 Describe the errors from the user's perspective that they can observe. This includes the context, m…
|
/ohos5.0/docs/zh-cn/application-dev/webgl/ |
H A D | webgl-2d-guidelines.md | 257 mat4.perspective(projectionMatrix, fieldOfView, aspect, zNear, zFar);
|