- Sceneform SDK for Android
was open sourced and archived ( github.com/google-ar/sceneform-android-sdk
) with version 1.16.0.
- This site ( developers.google.com/sceneform
) serves as the documentation archive for the previous version, Sceneform SDK for Android
1.15.0.
- Do not use version 1.17.0 of the Sceneform Maven artifacts
.
- The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.
com.google.ar.sceneform.math
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[[["\u003cp\u003eSceneform provides classes for mathematical operations and representations commonly used in 3D graphics, including vectors, quaternions, and helper functions.\u003c/p\u003e\n"],["\u003cp\u003eThese classes offer functionalities for performing calculations, interpolations, and transformations related to positions, rotations, and scaling in a 3D environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMathHelper\u003c/code\u003e includes static methods for various math operations, while \u003ccode\u003eQuaternion\u003c/code\u003e and \u003ccode\u003eVector3\u003c/code\u003e represent rotations and positions, respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQuaternionEvaluator\u003c/code\u003e and \u003ccode\u003eVector3Evaluator\u003c/code\u003e are specifically designed for creating smooth transitions or animations between different quaternion and vector values.\u003c/p\u003e\n"]]],["The provided content outlines classes for mathematical operations within a Sceneform context. `MathHelper` offers static functions for common math tasks. `Quaternion` handles float-based quaternion operations, with `QuaternionEvaluator` serving as a `TypeEvaluator`. `Vector3` represents a three-float vector, and `Vector3Evaluator` acts as its respective `TypeEvaluator`. These classes support core mathematical functionality, such as vector and quaternion calculations.\n"],null,["# com.google.ar.sceneform.math\n\n### Classes\n\n|----------------------------------------------------------------------------------------------|----------------------------------------------|\n| [MathHelper](/sceneform/reference/com/google/ar/sceneform/math/MathHelper) | Static functions for common math operations. |\n| [Quaternion](/sceneform/reference/com/google/ar/sceneform/math/Quaternion) | A Sceneform quaternion class for floats. |\n| [QuaternionEvaluator](/sceneform/reference/com/google/ar/sceneform/math/QuaternionEvaluator) | TypeEvaluator for Quaternions. |\n| [Vector3](/sceneform/reference/com/google/ar/sceneform/math/Vector3) | A Vector with 3 floats. |\n| [Vector3Evaluator](/sceneform/reference/com/google/ar/sceneform/math/Vector3Evaluator) | TypeEvaluator for Vector3. |"]]