Class SceneformBundle


  • public final class SceneformBundle
    extends java.lang.Object
    Helper functions for loading and processing rendercore bundles.
    • Constructor Detail

      • SceneformBundle

        public SceneformBundle()
    • Method Detail

      • tryLoadSceneformBundle

        @Nullable
        public static com.google.ar.schemas.sceneform.SceneformBundleDef tryLoadSceneformBundle​(java.nio.ByteBuffer buffer)
                                                                                         throws com.google.ar.sceneform.rendering.SceneformBundle.VersionException
        Throws:
        com.google.ar.sceneform.rendering.SceneformBundle.VersionException
      • readCollisionGeometry

        public static CollisionShape readCollisionGeometry​(com.google.ar.schemas.sceneform.SceneformBundleDef rcb)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • isSceneformBundle

        public static boolean isSceneformBundle​(java.nio.ByteBuffer buffer)