diff --git a/docs/assets/css/style.scss b/docs/assets/css/style.scss new file mode 100644 index 00000000..07d4e23b --- /dev/null +++ b/docs/assets/css/style.scss @@ -0,0 +1,8 @@ +--- +--- + +@import "{{ site.theme }}"; + +header { + display: none; +} diff --git a/docs/index.md b/docs/index.md index e322175d..30daecb5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,107 +1,125 @@ -Sceneform SDK for Android - Maintained -====================================== +Maintained Sceneform SDK for Android +==================================== -#### This repository is a fork of [SceneForm](https://github.com/google-ar/sceneform-android-sdk) +#### This repository is a fork of [Sceneform](https://github.com/google-ar/sceneform-android-sdk) Copyright (c) 2018 Google Inc. All rights reserved. -[ ![jCenter](https://img.shields.io/badge/jCenter-1.18.3-blue) ](https://bintray.com/thomasgorisse/maven/com.gorisse.thomas.sceneform:sceneform/1.18.3/link) +[ ![jCenter](https://img.shields.io/badge/jCenter-1.18.4-blue) ](https://bintray.com/thomasgorisse/maven/com.gorisse.thomas.sceneform:sceneform/1.18.4/link) Sceneform is a 3D framework with a physically based renderer that's optimized for mobile devices and that makes it easy for you to build Augmented Reality (AR) apps without requiring OpenGL or Unity. - +![Sample Lion Model](/docs/images/samples/model_lion.jpg) ## Usage benefits -* Continuous compatibility with the latests versions of [ARCore SDK](https://github.com/google-ar/arcore-android-sdk) and [Filament](https://github.com/google/filament) +* Continuous compatibility with the latests versions of [ARCore SDK](https://github.com/google-ar/arcore-android-sdk) and [Filament](https://github.com/google/filament) * Based on AndroidX * Available has jCenter dependency -* Supports glTF instead of olds SFA and SFB formats -* Easy animations support -* Open source +* Supports glTF format +* Animations made easy +* Simple model loading for basic usage ## Dependencies -Sceneform is available on `jCenter()` - +*app/build.gradle* ```gradle dependencies { - implementation("com.gorisse.thomas.sceneform:sceneform:1.18.3") + implementation("com.gorisse.thomas.sceneform:sceneform:1.18.4") } ``` -## Usage +## Basic Usage (Simple model viewer) -### Update your AndroidManifest.xml +### Update your `AndroidManifest.xml` -Modify your ```AndroidManifest.xml``` to indicate that your app uses (AR Optional) or requires (AR Required) ARCore and CAMERA access: +*AndroidManifest.xml* ```xml - - - - - - - … - - + ``` -### Add the fragment to your layout +### Add the `View` to your `layout` +*res/layout/main_activity.xml* ```xml - + ``` -### Add your renderable -```kotlin - ModelRenderable.builder() - .setSource( - this, - // Http source - Uri.parse("https://storage.googleapis.com/ar-answers-in-search-models/static/Tiger/model.glb") - // Or raw resource : model.glb - // R.raw.model - ) - .setIsFilamentGltf(true) - .build() - .thenAccept { modelRenderable: ModelRenderable? -> - activity.renderable = modelRenderable +### Edit your `Activity` or `Fragment` +*src/main/java/…/MainActivity.java* +```java +@Override +protected void onCreate(Bundle savedInstanceState) { + … + if (savedInstanceState == null) { + if (Sceneform.isSupported(this)) { + getSupportFragmentManager().beginTransaction() + .add(R.id.arFragment, ArFragment.class) + .commit(); + } } - .exceptionally { throwable: Throwable? -> - Toast.makeText(this, "Unable to load renderable", Toast.LENGTH_LONG) - null +} + +@Override +public void onAttachFragment(@NonNull Fragment fragment) { + super.onAttachFragment(fragment); + + if (fragment.getId() == R.id.arFragment) { + // Load model.glb from assets folder or http url + ((ArFragment) fragment).setOnTapPlaneGlbModel("model.glb", new ArFragment.OnTapModelListener() { + @Override + public void onModelAdded(RenderableInstance renderableInstance) { + } + + @Override + public void onModelError(Throwable exception) { + } + }); } +} ``` +## Go further + + +#### AR Required vs AR Optional + +If your app requires ARCore (AR Required) and is not only (AR Optional), use this manifest to indicates that this app requires Google Play Services for AR (AR Required) and results in +the app only being visible in the Google Play Store on devices that support ARCore: +```xml + + + + + … + + +``` +[more...](https://developers.google.com/ar/develop/java/enable-arcore) + + ## Animations Until now, only `RenderableInstance` are animtable. Below `model` corresponds to a `RenderablaInstance` returned from a `node.getRenderableInstance()` -### Simple usage +### Basic usage On a very basic 3D model like a single infinite rotating sphere, you should not have to use ModelAnimator but probably instead just call: @@ -202,22 +220,14 @@ Every PropertyValuesHolder that applies a modification on the time position of t must use the `ModelAnimation.TIME_POSITION` instead of its own Property in order to possibly cancel any ObjectAnimator operating time modifications on the same ModelAnimation. -More information about Animator: -[https://developer.android.com/guide/topics/graphics/prop-animation](https://developer.android.com/guide/topics/graphics/prop-animation) - -[more...](https://thomasgorisse.github.io/sceneform-android-sdk/animations/) - - -## Release notes +[more...](/docs/animations/index.md) -The SDK release notes are available on the -[releases](https://github.com/ThomasGorisse/sceneform-android-sdk/releases) page. ## License Please see the -[LICENSE](https://github.com/ThomasGorisse/sceneform-android-sdk/blob/master/LICENSE) +[LICENSE](/LICENSE) file. diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html index 58648b03..2f57396f 100644 --- a/docs/javadoc/allclasses-frame.html +++ b/docs/javadoc/allclasses-frame.html @@ -3,7 +3,7 @@ -All Classes (core API) +All Classes (ux API) @@ -11,182 +11,40 @@

All Classes

diff --git a/docs/javadoc/allclasses-noframe.html b/docs/javadoc/allclasses-noframe.html index 40b05d23..a7992587 100644 --- a/docs/javadoc/allclasses-noframe.html +++ b/docs/javadoc/allclasses-noframe.html @@ -3,7 +3,7 @@ -All Classes (core API) +All Classes (ux API) @@ -11,182 +11,40 @@

All Classes

diff --git a/docs/javadoc/com/google/ar/sceneform/AnchorNode.html b/docs/javadoc/com/google/ar/sceneform/AnchorNode.html deleted file mode 100644 index 02fe7812..00000000 --- a/docs/javadoc/com/google/ar/sceneform/AnchorNode.html +++ /dev/null @@ -1,534 +0,0 @@ - - - - - -AnchorNode (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class AnchorNode

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    TransformProvider
    -
    -
    -
    -
    public class AnchorNode
    -extends Node
    -
    Node that is automatically positioned in world space based on an ARCore Anchor. - -

    When the Anchor isn't tracking, all children of this node are disabled.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AnchorNode

        -
        public AnchorNode()
        -
        Create an AnchorNode with no anchor.
        -
      • -
      - - - -
        -
      • -

        AnchorNode

        -
        public AnchorNode(Anchor anchor)
        -
        Create an AnchorNode with the specified anchor.
        -
        -
        Parameters:
        -
        anchor - the ARCore anchor that this node will automatically position itself to.
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setAnchor

        -
        public void setAnchor(Anchor anchor)
        -
        Set an ARCore anchor and force the position of this node to be updated immediately.
        -
        -
        Parameters:
        -
        anchor - the ARCore anchor that this node will automatically position itself to.
        -
        -
      • -
      - - - -
        -
      • -

        getAnchor

        -
        public Anchor getAnchor()
        -
        Returns the ARCore anchor if it exists or null otherwise.
        -
      • -
      - - - -
        -
      • -

        setSmoothed

        -
        public void setSmoothed(boolean smoothed)
        -
        Set true to smooth the transition between the node’s current position and the anchor position. - Set false to apply transformations immediately. Smoothing is true by default.
        -
        -
        Parameters:
        -
        smoothed - Whether the transformations are interpolated.
        -
        -
      • -
      - - - -
        -
      • -

        isSmoothed

        -
        public boolean isSmoothed()
        -
        Returns true if the transformations are interpolated or false if they are applied immediately.
        -
      • -
      - - - -
        -
      • -

        isTracking

        -
        public boolean isTracking()
        -
        Returns true if the ARCore anchor’s tracking state is TRACKING.
        -
      • -
      - - - -
        -
      • -

        onUpdate

        -
        public void onUpdate(FrameTime frameTime)
        -
        AnchorNode overrides this to update the node's position to match the ARCore Anchor's position.
        -
        -
        Overrides:
        -
        onUpdate in class Node
        -
        Parameters:
        -
        frameTime - provides time information for the current frame
        -
        -
      • -
      - - - -
        -
      • -

        setLocalPosition

        -
        public void setLocalPosition(Vector3 position)
        -
        Set the local-space position of this node if it is not anchored. If the node is anchored, this - call does nothing.
        -
        -
        Overrides:
        -
        setLocalPosition in class Node
        -
        Parameters:
        -
        position - The position to apply.
        -
        See Also:
        -
        Node.getLocalPosition()
        -
        -
      • -
      - - - -
        -
      • -

        setWorldPosition

        -
        public void setWorldPosition(Vector3 position)
        -
        Set the world-space position of this node if it is not anchored. If the node is anchored, this - call does nothing.
        -
        -
        Overrides:
        -
        setWorldPosition in class Node
        -
        Parameters:
        -
        position - The position to apply.
        -
        See Also:
        -
        Node.getWorldPosition()
        -
        -
      • -
      - - - -
        -
      • -

        setLocalRotation

        -
        public void setLocalRotation(Quaternion rotation)
        -
        Set the local-space rotation of this node if it is not anchored. If the node is anchored, this - call does nothing.
        -
        -
        Overrides:
        -
        setLocalRotation in class Node
        -
        Parameters:
        -
        rotation - The rotation to apply.
        -
        See Also:
        -
        Node.getLocalRotation()
        -
        -
      • -
      - - - -
        -
      • -

        setWorldRotation

        -
        public void setWorldRotation(Quaternion rotation)
        -
        Set the world-space rotation of this node if it is not anchored. If the node is anchored, this - call does nothing.
        -
        -
        Overrides:
        -
        setWorldRotation in class Node
        -
        Parameters:
        -
        rotation - The rotation to apply.
        -
        See Also:
        -
        Node.getWorldRotation()
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/ArSceneView.html b/docs/javadoc/com/google/ar/sceneform/ArSceneView.html deleted file mode 100644 index c420e0d9..00000000 --- a/docs/javadoc/com/google/ar/sceneform/ArSceneView.html +++ /dev/null @@ -1,716 +0,0 @@ - - - - - -ArSceneView (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class ArSceneView

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    android.graphics.drawable.Drawable.Callback, android.view.accessibility.AccessibilityEventSource, android.view.Choreographer.FrameCallback, android.view.KeyEvent.Callback
    -
    -
    -
    -
    public class ArSceneView
    -extends SceneView
    -
    A SurfaceView that integrates with ARCore and renders a scene.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class android.view.View

        -android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnCapturedPointerListener, android.view.View.OnClickListener, android.view.View.OnContextClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnScrollChangeListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener, android.view.View.OnUnhandledKeyEventListener
      • -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class android.view.View

        -ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      ArSceneView(android.content.Context context) -
      Constructs a ArSceneView object and binds it to an Android Context.
      -
      ArSceneView(android.content.Context context, - android.util.AttributeSet attrs) -
      Constructs a ArSceneView object and binds it to an Android Context.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidcaptureLightingValues(java.util.function.Consumer<EnvironmentalHdrLightEstimate> onNextHdrLightingEstimate) -
      Causes a serialized version of the next captured light estimate to be saved to disk.
      -
      FramegetArFrame() -
      Returns the most recent ARCore Frame if it is available.
      -
      PlaneRenderergetPlaneRenderer() -
      Returns PlaneRenderer, used to control plane visualization.
      -
      SessiongetSession() -
      Returns the ARCore Session used by this view.
      -
      booleanisEnvironmentalHdrLightingAvailable() -
      Returns true if the ARCore camera is configured with - Config.LightEstimationMode.ENVIRONMENTAL_HDR.
      -
      booleanisLightDirectionUpdateEnabled() -
      Checks whether the sunlight is being updated every frame based on the Environmental HDR - lighting estimate.
      -
      booleanisLightEstimationEnabled() 
      protected booleanonBeginFrame(long frameTimeNanos) -
      Before the render call occurs, update the ARCore session to grab the latest frame and update - listeners.
      -
      voidonLayout(boolean changed, - int left, - int top, - int right, - int bottom) 
      voidpause() -
      Pauses the rendering thread and ARCore session.
      -
      java.util.concurrent.CompletableFuture<java.lang.Void>pauseAsync(java.util.concurrent.Executor executor) -
      Non blocking call to pause the rendering thread and ARCore session.
      -
      voidresume() -
      Resumes the rendering thread and ARCore session.
      -
      java.util.concurrent.CompletableFuture<java.lang.Void>resumeAsync(java.util.concurrent.Executor executor) -
      Non blocking call to resume the rendering thread and ARCore session in the background - - This must be called from onResume().
      -
      voidsetLightDirectionUpdateEnabled(boolean isLightDirectionUpdateEnabled) -
      Sets whether the sunlight direction generated from Environmental HDR lighting should be updated - every frame.
      -
      voidsetLightEstimationEnabled(boolean enable) -
      Enable Light Estimation based on the camera feed.
      -
      voidsetupSession(Session session) -
      Setup the view with an AR Session.
      -
      - -
        -
      • - - -

        Methods inherited from class android.view.SurfaceView

        -dispatchDraw, draw, gatherTransparentRegion, getHolder, getHostToken, getImportantForAccessibility, getSurfaceControl, onAttachedToWindow, onDetachedFromWindow, onMeasure, onWindowVisibilityChanged, setAlpha, setChildSurfacePackage, setClipBounds, setSecure, setVisibility, setZOrderMediaOverlay, setZOrderOnTop
      • -
      -
        -
      • - - -

        Methods inherited from class android.view.View

        -addChildrenForAccessibility, addExtraDataToAccessibilityNodeInfo, addFocusables, addFocusables, addKeyboardNavigationClusters, addOnAttachStateChangeListener, addOnLayoutChangeListener, addOnUnhandledKeyEventListener, addTouchables, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchApplyWindowInsets, dispatchCapturedPointerEvent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDrawableHotspotChanged, dispatchFinishTemporaryDetach, dispatchGenericFocusedEvent, dispatchGenericMotionEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPointerCaptureChanged, dispatchPopulateAccessibilityEvent, dispatchProvideAutofillStructure, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowInsetsAnimationEnd, dispatchWindowInsetsAnimationPrepare, dispatchWindowInsetsAnimationProgress, dispatchWindowInsetsAnimationStart, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableHotspotChanged, drawableStateChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateViewId, getAccessibilityClassName, getAccessibilityDelegate, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityPaneTitle, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getAnimationMatrix, getApplicationWindowToken, getAttributeResolutionStack, getAttributeSourceResourceMap, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintBlendMode, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentCaptureSession, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getExplicitStyle, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintBlendMode, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getHorizontalScrollbarThumbDrawable, getHorizontalScrollbarTrackDrawable, getId, getImportantForAutofill, getImportantForContentCapture, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInSurface, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineAmbientShadowColor, getOutlineProvider, getOutlineSpotShadowColor, getOverlay, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getSourceLayoutResId, getStateDescription, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemGestureExclusionRects, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionAlpha, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getUniqueDrawingId, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarThumbDrawable, getVerticalScrollbarTrackDrawable, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowInsetsController, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocus, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOnLongClickListeners, hasOverlappingRendering, hasPointerCapture, hasTransientState, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isAccessibilityHeading, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isForceDarkAllowed, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isImportantForContentCapture, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPivotSet, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScreenReaderFocusable, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShowingLayoutBounds, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, isVisibleToUserForAutofill, jumpDrawablesToCurrentState, keyboardNavigationClusterSearch, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateDrawableState, onCreateInputConnection, onDisplayHint, onDragEvent, onDraw, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideContentCaptureStructure, onProvideStructure, onProvideVirtualStructure, onResolvePointerIcon, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTrackballEvent, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, removeOnUnhandledKeyEventListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, requestUnbufferedDispatch, requireViewById, resetPivot, resolveSize, resolveSizeAndState, restoreDefaultFocus, restoreHierarchyState, saveAttributeDataForStyleable, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityHeading, setAccessibilityLiveRegion, setAccessibilityPaneTitle, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAnimation, setAnimationMatrix, setAutofillHints, setAutofillId, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintBlendMode, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipToOutline, setContentCaptureSession, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForceDarkAllowed, setForeground, setForegroundGravity, setForegroundTintBlendMode, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHorizontalScrollbarThumbDrawable, setHorizontalScrollbarTrackDrawable, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setImportantForContentCapture, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLeftTopRightBottom, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineAmbientShadowColor, setOutlineProvider, setOutlineSpotShadowColor, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScreenReaderFocusable, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateDescription, setStateListAnimator, setSystemGestureExclusionRects, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionAlpha, setTransitionName, setTransitionVisibility, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVerticalScrollbarThumbDrawable, setVerticalScrollbarTrackDrawable, setWillNotCacheDrawing, setWillNotDraw, setWindowInsetsAnimationCallback, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, transformMatrixToGlobal, transformMatrixToLocal, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ArSceneView

        -
        public ArSceneView(android.content.Context context)
        -
        Constructs a ArSceneView object and binds it to an Android Context. - -

        In order to have rendering work correctly, setupSession(Session) must be called.

        -
        -
        Parameters:
        -
        context - the Android Context to use
        -
        See Also:
        -
        ArSceneView(Context, AttributeSet)
        -
        -
      • -
      - - - -
        -
      • -

        ArSceneView

        -
        public ArSceneView(android.content.Context context,
        -                   android.util.AttributeSet attrs)
        -
        Constructs a ArSceneView object and binds it to an Android Context. - -

        In order to have rendering work correctly, setupSession(Session) must be called.

        -
        -
        Parameters:
        -
        context - the Android Context to use
        -
        attrs - the Android AttributeSet to associate with
        -
        See Also:
        -
        setupSession(Session)
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setupSession

        -
        public void setupSession(Session session)
        -
        Setup the view with an AR Session. This method must be called once to supply the ARCore - session. The session is needed for any rendering to occur. - -

        The session is expected to be configured with the update mode of LATEST_CAMERA_IMAGE. - Without this configuration, the updating of the ARCore session could block the UI Thread - causing poor UI experience.

        -
        -
        Parameters:
        -
        session - the ARCore session to use for this view
        -
        See Also:
        -
        ArSceneView(Context, AttributeSet)
        -
        -
      • -
      - - - -
        -
      • -

        resume

        -
        public void resume()
        -            throws CameraNotAvailableException
        -
        Resumes the rendering thread and ARCore session. - -

        This must be called from onResume().

        -
        -
        Overrides:
        -
        resume in class SceneView
        -
        Throws:
        -
        CameraNotAvailableException - if the camera can not be opened
        -
        -
      • -
      - - - -
        -
      • -

        resumeAsync

        -
        public java.util.concurrent.CompletableFuture<java.lang.Void> resumeAsync(java.util.concurrent.Executor executor)
        -
        Non blocking call to resume the rendering thread and ARCore session in the background - -

        This must be called from onResume(). - -

        If called while another pause or resume is in progress, the resume will be enqueued and - happen after the current operation completes.

        -
        -
        Returns:
        -
        A CompletableFuture completed on the main thread once the resume has completed. The - future will be completed exceptionally if the resume can not be done.
        -
        -
      • -
      - - - -
        -
      • -

        pause

        -
        public void pause()
        -
        Pauses the rendering thread and ARCore session. - -

        This must be called from onPause().

        -
        -
        Overrides:
        -
        pause in class SceneView
        -
        -
      • -
      - - - -
        -
      • -

        pauseAsync

        -
        public java.util.concurrent.CompletableFuture<java.lang.Void> pauseAsync(java.util.concurrent.Executor executor)
        -
        Non blocking call to pause the rendering thread and ARCore session. - -

        This should be called from onPause(). - -

        If pauseAsync is called while another pause or resume is in progress, the pause will be - enqueued and happen after the current operation completes.

        -
        -
        Returns:
        -
        A CompletableFuture completed on the main thread on the pause has completed. - The future Will will be completed exceptionally if the resume can not be done.
        -
        -
      • -
      - - - -
        -
      • -

        onLayout

        -
        public void onLayout(boolean changed,
        -                     int left,
        -                     int top,
        -                     int right,
        -                     int bottom)
        -
        -
        Overrides:
        -
        onLayout in class SceneView
        -
        -
      • -
      - - - -
        -
      • -

        setLightEstimationEnabled

        -
        public void setLightEstimationEnabled(boolean enable)
        -
        Enable Light Estimation based on the camera feed. The color and intensity of the sun's indirect - light will be modulated by values provided by ARCore's light estimation. Lit objects in the - scene will be affected.
        -
        -
        Parameters:
        -
        enable - set to true to enable Light Estimation or false to use the default estimate, - which is a pixel intensity of 1.0 and color correction value of white (1.0, 1.0, 1.0).
        -
        -
      • -
      - - - -
        -
      • -

        isLightEstimationEnabled

        -
        public boolean isLightEstimationEnabled()
        -
        -
        Returns:
        -
        returns true if light estimation is enabled.
        -
        -
      • -
      - - - -
        -
      • -

        getSession

        -
        public Session getSession()
        -
        Returns the ARCore Session used by this view.
        -
      • -
      - - - -
        -
      • -

        getArFrame

        -
        public Frame getArFrame()
        -
        Returns the most recent ARCore Frame if it is available. The frame is updated at the beginning - of each drawing frame. Callers of this method should not retain a reference to the return - value, since it will be invalid to use the ARCore frame starting with the next frame.
        -
      • -
      - - - -
        -
      • -

        getPlaneRenderer

        -
        public PlaneRenderer getPlaneRenderer()
        -
        Returns PlaneRenderer, used to control plane visualization.
        -
      • -
      - - - -
        -
      • -

        onBeginFrame

        -
        protected boolean onBeginFrame(long frameTimeNanos)
        -
        Before the render call occurs, update the ARCore session to grab the latest frame and update - listeners.
        -
        -
        Overrides:
        -
        onBeginFrame in class SceneView
        -
        Returns:
        -
        true if the session updated successfully and a new frame was obtained. Update the scene - before rendering.
        -
        -
      • -
      - - - -
        -
      • -

        isLightDirectionUpdateEnabled

        -
        public boolean isLightDirectionUpdateEnabled()
        -
        Checks whether the sunlight is being updated every frame based on the Environmental HDR - lighting estimate.
        -
        -
        Returns:
        -
        true if the sunlight direction is updated every frame, false otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        setLightDirectionUpdateEnabled

        -
        public void setLightDirectionUpdateEnabled(boolean isLightDirectionUpdateEnabled)
        -
        Sets whether the sunlight direction generated from Environmental HDR lighting should be updated - every frame. If false the light direction will be updated a single time and then no longer - change. - -

        This may be used to turn off shadow direction updates when they are distracting or unwanted. - -

        The default state is true, with sunlight direction updated every frame.

        -
      • -
      - - - -
        -
      • -

        isEnvironmentalHdrLightingAvailable

        -
        public boolean isEnvironmentalHdrLightingAvailable()
        -
        Returns true if the ARCore camera is configured with - Config.LightEstimationMode.ENVIRONMENTAL_HDR. When Environmental HDR lighting mode is enabled, - the resulting light estimates will be applied to the Sceneform Scene.
        -
        -
        Returns:
        -
        true if HDR lighting is enabled in Sceneform because ARCore HDR lighting estimation is - enabled.
        -
        -
      • -
      - - - -
        -
      • -

        captureLightingValues

        -
        public void captureLightingValues(java.util.function.Consumer<EnvironmentalHdrLightEstimate> onNextHdrLightingEstimate)
        -
        Causes a serialized version of the next captured light estimate to be saved to disk.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Camera.html b/docs/javadoc/com/google/ar/sceneform/Camera.html deleted file mode 100644 index 4245fc2b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Camera.html +++ /dev/null @@ -1,672 +0,0 @@ - - - - - -Camera (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class Camera

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    TransformProvider, CameraProvider
    -
    -
    -
    -
    public class Camera
    -extends Node
    -implements CameraProvider
    -
    Represents a virtual camera, which determines the perspective through which the scene is viewed. - -

    If the camera is part of an ArSceneView, then the camera automatically tracks the - camera pose from ARCore. Additionally, the following methods will throw UnsupportedOperationException when called: - -

    - - All other functionality in Node is supported. You can access the position and rotation of the - camera, assign a collision shape to the camera, or add children to the camera. Disabling the - camera turns off rendering.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setNearClipPlane

        -
        public void setNearClipPlane(float nearPlane)
        -
      • -
      - - - - - - - -
        -
      • -

        setFarClipPlane

        -
        public void setFarClipPlane(float farPlane)
        -
      • -
      - - - -
        -
      • -

        setVerticalFovDegrees

        -
        public void setVerticalFovDegrees(float verticalFov)
        -
        Sets the vertical field of view for the non-ar camera in degrees. If this is an AR camera, then - the fov comes from ARCore and cannot be set so an exception is thrown. The default is 90 - degrees.
        -
        -
        Throws:
        -
        java.lang.UnsupportedOperationException - if this is an AR camera
        -
        -
      • -
      - - - -
        -
      • -

        getVerticalFovDegrees

        -
        public float getVerticalFovDegrees()
        -
        Gets the vertical field of view for the camera. - -

        If this is an AR camera, then it is calculated based on the camera information from ARCore - and can vary between device. It can't be calculated until the first frame after the ARCore - session is resumed, in which case an IllegalStateException is thrown. - -

        Otherwise, this will return the value set by setVerticalFovDegrees(float), with a - default of 90 degrees.

        -
        -
        Throws:
        -
        java.lang.IllegalStateException - if called before the first frame after ARCore is resumed
        -
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        updateTrackedPose

        -
        public void updateTrackedPose(com.google.ar.core.Camera camera)
        -
        Updates the pose and projection of the camera to match the tracked pose from ARCore.
        -
        -
        Specified by:
        -
        updateTrackedPose in interface CameraProvider
        -
        -
      • -
      - - - -
        -
      • -

        screenPointToRay

        -
        public Ray screenPointToRay(float x,
        -                            float y)
        -
        Calculates a ray in world space going from the near-plane of the camera and going through a - point in screen space. Screen space is in Android device screen coordinates: TopLeft = (0, 0) - BottomRight = (Screen Width, Screen Height) The device coordinate space is unaffected by the - orientation of the device.
        -
        -
        Parameters:
        -
        x - X position in device screen coordinates.
        -
        y - Y position in device screen coordinates.
        -
        -
      • -
      - - - -
        -
      • -

        worldToScreenPoint

        -
        public Vector3 worldToScreenPoint(Vector3 point)
        -
        Convert a point from world space into screen space. - -

        The X value is negative when the point is left of the viewport, between 0 and the width of - the SceneView when the point is within the viewport, and greater than the width when - the point is to the right of the viewport. - -

        The Y value is negative when the point is below the viewport, between 0 and the height of - the SceneView when the point is within the viewport, and greater than the height when - the point is above the viewport. - -

        The Z value is always 0 since the return value is a 2D coordinate.

        -
        -
        Parameters:
        -
        point - the point in world space to convert
        -
        Returns:
        -
        a new vector that represents the point in screen-space.
        -
        -
      • -
      - - - -
        -
      • -

        setParent

        -
        public void setParent(NodeParent parent)
        -
        Unsupported operation. Camera's parent cannot be changed, it is always the scene.
        -
        -
        Overrides:
        -
        setParent in class Node
        -
        Parameters:
        -
        parent - The new parent that this node will be a child of. If null, this node will be - detached from its parent.
        -
        See Also:
        -
        Node.getParent(), -Node.getScene()
        -
        -
      • -
      - - - - - - - - - - - - - - - - - - - -
        -
      • -

        setProjectionMatrix

        -
        public void setProjectionMatrix(Matrix matrix)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/FrameTime.html b/docs/javadoc/com/google/ar/sceneform/FrameTime.html deleted file mode 100644 index e37c4f1e..00000000 --- a/docs/javadoc/com/google/ar/sceneform/FrameTime.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - -FrameTime (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class FrameTime

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.FrameTime
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class FrameTime
    -extends java.lang.Object
    -
    Provides time information for the current frame.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      floatgetDeltaSeconds() -
      Get the time in seconds between this frame and the last frame.
      -
      longgetDeltaTime(java.util.concurrent.TimeUnit unit) -
      Get the time between this frame and the last frame.
      -
      floatgetStartSeconds() -
      Get the time in seconds when this frame started.
      -
      longgetStartTime(java.util.concurrent.TimeUnit unit) -
      Get the time when this frame started.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDeltaSeconds

        -
        public float getDeltaSeconds()
        -
        Get the time in seconds between this frame and the last frame.
        -
      • -
      - - - -
        -
      • -

        getStartSeconds

        -
        public float getStartSeconds()
        -
        Get the time in seconds when this frame started.
        -
      • -
      - - - -
        -
      • -

        getDeltaTime

        -
        public long getDeltaTime(java.util.concurrent.TimeUnit unit)
        -
        Get the time between this frame and the last frame.
        -
        -
        Parameters:
        -
        unit - The unit time will be returned in
        -
        Returns:
        -
        The time between frames
        -
        -
      • -
      - - - -
        -
      • -

        getStartTime

        -
        public long getStartTime(java.util.concurrent.TimeUnit unit)
        -
        Get the time when this frame started.
        -
        -
        Parameters:
        -
        unit - The unit time will be returned in
        -
        Returns:
        -
        The start time of the frame in nanoseconds
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/HitTestResult.html b/docs/javadoc/com/google/ar/sceneform/HitTestResult.html deleted file mode 100644 index f410a98c..00000000 --- a/docs/javadoc/com/google/ar/sceneform/HitTestResult.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - -HitTestResult (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class HitTestResult

-
-
- -
-
    -
  • -
    -
    -
    public class HitTestResult
    -extends RayHit
    -
    Stores the results of calls to Scene.hitTest and Scene.hitTestAll. Contains a node that was hit - by the hit test, and associated information.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HitTestResult

        -
        public HitTestResult()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setNode

        -
        public void setNode(Node node)
        -
      • -
      - - - -
        -
      • -

        getNode

        -
        public Node getNode()
        -
        The node that was hit by the hit test. Null when there is no hit.
        -
        -
        Returns:
        -
        the hit node
        -
        -
      • -
      - - - - - - - -
        -
      • -

        reset

        -
        public void reset()
        -
        -
        Overrides:
        -
        reset in class RayHit
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Node.LifecycleListener.html b/docs/javadoc/com/google/ar/sceneform/Node.LifecycleListener.html deleted file mode 100644 index 3ed34c31..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Node.LifecycleListener.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - -Node.LifecycleListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Interface Node.LifecycleListener

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    Node
    -
    -
    -
    -
    public static interface Node.LifecycleListener
    -
    Interface definition for callbacks to be invoked when node lifecycle events occur.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onActivated

        -
        void onActivated(Node node)
        -
        Notifies the listener that Node.onActivate() was called.
        -
        -
        Parameters:
        -
        node - the node that was activated
        -
        -
      • -
      - - - -
        -
      • -

        onUpdated

        -
        void onUpdated(Node node,
        -               FrameTime frameTime)
        -
        Notifies the listener that Node.onUpdate(FrameTime) was called.
        -
        -
        Parameters:
        -
        node - the node that was updated
        -
        frameTime - provides time information for the current frame
        -
        -
      • -
      - - - -
        -
      • -

        onDeactivated

        -
        void onDeactivated(Node node)
        -
        Notifies the listener that Node.onDeactivate() was called.
        -
        -
        Parameters:
        -
        node - the node that was deactivated
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Node.OnTapListener.html b/docs/javadoc/com/google/ar/sceneform/Node.OnTapListener.html deleted file mode 100644 index a2526cc1..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Node.OnTapListener.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - -Node.OnTapListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Interface Node.OnTapListener

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    Node
    -
    -
    -
    -
    public static interface Node.OnTapListener
    -
    Interface definition for a callback to be invoked when a node is tapped.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onTap

        -
        void onTap(HitTestResult hitTestResult,
        -           android.view.MotionEvent motionEvent)
        -
        Handles when a node has been tapped. - -

        HitTestResult.getNode() will always be this node or one of its children.

        -
        -
        Parameters:
        -
        hitTestResult - represents the node that was tapped and information about where it was - touched
        -
        motionEvent - the MotionEvent.ACTION_UP MotionEvent that caused the tap
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Node.OnTouchListener.html b/docs/javadoc/com/google/ar/sceneform/Node.OnTouchListener.html deleted file mode 100644 index 9842a6fd..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Node.OnTouchListener.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - -Node.OnTouchListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Interface Node.OnTouchListener

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    Node
    -
    -
    -
    -
    public static interface Node.OnTouchListener
    -
    Interface definition for a callback to be invoked when a touch event is dispatched to this - node. The callback will be invoked before Node.onTouchEvent(HitTestResult, MotionEvent) is - called.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      booleanonTouch(HitTestResult hitTestResult, - android.view.MotionEvent motionEvent) -
      Handles when a touch event has been dispatched to a node.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onTouch

        -
        boolean onTouch(HitTestResult hitTestResult,
        -                android.view.MotionEvent motionEvent)
        -
        Handles when a touch event has been dispatched to a node. - -

        On MotionEvent.ACTION_DOWN events, HitTestResult.getNode() will always be - this node or one of its children. On other events, the touch may have moved causing the - HitTestResult.getNode() to change (or possibly be null).

        -
        -
        Parameters:
        -
        hitTestResult - represents the node that was touched and information about where it was - touched
        -
        motionEvent - the MotionEvent object containing full information about the event
        -
        Returns:
        -
        true if the listener has consumed the event, false otherwise
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Node.TransformChangedListener.html b/docs/javadoc/com/google/ar/sceneform/Node.TransformChangedListener.html deleted file mode 100644 index a6e7e6e0..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Node.TransformChangedListener.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - -Node.TransformChangedListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Interface Node.TransformChangedListener

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    Node
    -
    -
    -
    -
    public static interface Node.TransformChangedListener
    -
    Interface definition for callbacks to be invoked when the transformation of the node changes.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onTransformChanged

        -
        void onTransformChanged(Node node,
        -                        Node originatingNode)
        -
        Notifies the listener that the transformation of the Node has changed. Called right - after Node.onTransformChange(Node). - -

        The originating node is the most top-level node in the hierarchy that triggered the node - to change. It will always be either the same node or one of its' parents. i.e. if node A's - position is changed, then that will trigger onTransformChanged(Node, Node) to be - called for all of it's descendants with the originatingNode being node A.

        -
        -
        Parameters:
        -
        node - the node that changed
        -
        originatingNode - the node that triggered the transformation to change
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Node.html b/docs/javadoc/com/google/ar/sceneform/Node.html deleted file mode 100644 index 6671479f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Node.html +++ /dev/null @@ -1,1634 +0,0 @@ - - - - - -Node (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class Node

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    TransformProvider
    -
    -
    -
    Direct Known Subclasses:
    -
    AnchorNode, Camera, Sun
    -
    -
    -
    -
    public class Node
    -extends NodeParent
    -implements TransformProvider
    -
    A Node represents a transformation within the scene graph's hierarchy. It can contain a - renderable for the rendering engine to render. - -

    Each node can have an arbitrary number of child nodes and one parent. The parent may be - another node, or the scene.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Node

        -
        public Node()
        -
        Creates a node with no parent.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setName

        -
        public final void setName(java.lang.String name)
        -
        Sets the name of this node. Nodes can be found using their names. Multiple nodes may have the - same name, in which case calling NodeParent.findByName(String) will return the first - node with the given name.
        -
        -
        Parameters:
        -
        name - The name of the node.
        -
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public final java.lang.String getName()
        -
        Returns the name of the node. The default value is "Node".
        -
      • -
      - - - -
        -
      • -

        setParent

        -
        public void setParent(NodeParent parent)
        -
        Changes the parent node of this node. If set to null, this node will be detached from its - parent. The local position, rotation, and scale of this node will remain the same. Therefore, - the world position, rotation, and scale of this node may be different after the parent changes. - -

        The parent may be another Node or a Scene. If it is a scene, then this - Node is considered top level. getParent() will return null, and getScene() will return the scene.

        -
        -
        Parameters:
        -
        parent - The new parent that this node will be a child of. If null, this node will be - detached from its parent.
        -
        See Also:
        -
        getParent(), -getScene()
        -
        -
      • -
      - - - -
        -
      • -

        getScene

        -
        public final Scene getScene()
        -
        Returns the scene that this node is part of, null if it isn't part of any scene. A node is part - of a scene if its highest level ancestor is a Scene
        -
      • -
      - - - -
        -
      • -

        getParent

        -
        public final Node getParent()
        -
        Returns the parent of this node. If this Node has a parent, and that parent is a Node or Node subclass, then this function returns the parent as a Node. - Returns null if the parent is a Scene, use getScene() to retrieve the parent - instead.
        -
        -
        Returns:
        -
        the parent as a Node, if the parent is a Node.
        -
        -
      • -
      - - - -
        -
      • -

        isTopLevel

        -
        public boolean isTopLevel()
        -
        Returns true if this node is top level. A node is considered top level if it has no parent or - if the parent is the scene.
        -
        -
        Returns:
        -
        true if the node is top level
        -
        -
      • -
      - - - -
        -
      • -

        isDescendantOf

        -
        public final boolean isDescendantOf(NodeParent ancestor)
        -
        Checks whether the given node parent is an ancestor of this node recursively.
        -
        -
        Parameters:
        -
        ancestor - the node parent to check
        -
        Returns:
        -
        true if the node is an ancestor of this node
        -
        -
      • -
      - - - -
        -
      • -

        setEnabled

        -
        public final void setEnabled(boolean enabled)
        -
        Sets the enabled state of this node. Note that a Node may be enabled but still inactive if it - isn't part of the scene or if its parent is inactive.
        -
        -
        Parameters:
        -
        enabled - the new enabled status of the node
        -
        See Also:
        -
        isActive()
        -
        -
      • -
      - - - -
        -
      • -

        isEnabled

        -
        public final boolean isEnabled()
        -
        Gets the enabled state of this node. Note that a Node may be enabled but still inactive if it - isn't part of the scene or if its parent is inactive.
        -
        -
        Returns:
        -
        the node's enabled status.
        -
        See Also:
        -
        isActive()
        -
        -
      • -
      - - - -
        -
      • -

        isActive

        -
        public final boolean isActive()
        -
        Returns true if the node is active. A node is considered active if it meets ALL of the - following conditions: - -
          -
        • The node is part of a scene. -
        • the node's parent is active. -
        • The node is enabled. -
        - - An active Node has the following behavior: - -
        -
        -
        Returns:
        -
        the node's active status
        -
        See Also:
        -
        onActivate(), -onDeactivate()
        -
        -
      • -
      - - - -
        -
      • -

        setOnTouchListener

        -
        public void setOnTouchListener(Node.OnTouchListener onTouchListener)
        -
        Registers a callback to be invoked when a touch event is dispatched to this node. The way that - touch events are propagated mirrors the way touches are propagated to Android Views. This is - only called when the node is active. - -

        When an ACTION_DOWN event occurs, that represents the start of a gesture. ACTION_UP or - ACTION_CANCEL represents when a gesture ends. When a gesture starts, the following is done: - -

          -
        • Dispatch touch events to the node that was touched as detected by Scene.hitTest(MotionEvent). -
        • If the node doesn't consume the event, recurse upwards through the node's parents and - dispatch the touch event until one of the node's consumes the event. -
        • If no nodes consume the event, the gesture is ignored and subsequent events that are part - of the gesture will not be passed to any nodes. -
        • If one of the node's consumes the event, then that node will consume all future touch - events for the gesture. -
        - - When a touch event is dispatched to a node, the event is first passed to the node's Node.OnTouchListener. If the Node.OnTouchListener doesn't handle the event, it is passed to - onTouchEvent(HitTestResult, MotionEvent).
        -
        -
        See Also:
        -
        Node.OnTouchListener
        -
        -
      • -
      - - - -
        -
      • -

        setOnTapListener

        -
        public void setOnTapListener(Node.OnTapListener onTapListener)
        -
        Registers a callback to be invoked when this node is tapped. If there is a callback registered, - then touch events will not bubble to this node's parent. If the Node.onTouchEvent is overridden - and super.onTouchEvent is not called, then the tap will not occur.
        -
        -
        See Also:
        -
        Node.OnTapListener
        -
        -
      • -
      - - - -
        -
      • -

        addLifecycleListener

        -
        public void addLifecycleListener(Node.LifecycleListener lifecycleListener)
        -
        Adds a listener that will be called when node lifecycle events occur. The listeners will be - called in the order in which they were added.
        -
      • -
      - - - -
        -
      • -

        removeLifecycleListener

        -
        public void removeLifecycleListener(Node.LifecycleListener lifecycleListener)
        -
        Removes a listener that will be called when node lifecycle events occur.
        -
      • -
      - - - -
        -
      • -

        addTransformChangedListener

        -
        public void addTransformChangedListener(Node.TransformChangedListener transformChangedListener)
        -
        Adds a listener that will be called when the node's transformation changes.
        -
      • -
      - - - -
        -
      • -

        removeTransformChangedListener

        -
        public void removeTransformChangedListener(Node.TransformChangedListener transformChangedListener)
        -
        Removes a listener that will be called when the node's transformation changes.
        -
      • -
      - - - -
        -
      • -

        canAddChild

        -
        protected final boolean canAddChild(Node child,
        -                                    java.lang.StringBuilder failureReason)
        -
        -
        Overrides:
        -
        canAddChild in class NodeParent
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getLocalPosition

        -
        public final Vector3 getLocalPosition()
        -
        Gets a copy of the nodes position relative to its parent (local-space). If isTopLevel() is true, then this is the same as getWorldPosition().
        -
        -
        Returns:
        -
        a new vector that represents the node's local-space position
        -
        See Also:
        -
        setLocalPosition(Vector3)
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getLocalScale

        -
        public final Vector3 getLocalScale()
        -
        Gets a copy of the nodes scale relative to its parent (local-space). If isTopLevel() - is true, then this is the same as getWorldScale().
        -
        -
        Returns:
        -
        a new vector that represents the node's local-space scale
        -
        See Also:
        -
        setLocalScale(Vector3)
        -
        -
      • -
      - - - -
        -
      • -

        getWorldPosition

        -
        public final Vector3 getWorldPosition()
        -
        Get a copy of the nodes world-space position.
        -
        -
        Returns:
        -
        a new vector that represents the node's world-space position
        -
        See Also:
        -
        setWorldPosition(Vector3)
        -
        -
      • -
      - - - -
        -
      • -

        getWorldRotation

        -
        public final Quaternion getWorldRotation()
        -
        Gets a copy of the nodes world-space rotation.
        -
        -
        Returns:
        -
        a new quaternion that represents the node's world-space rotation
        -
        See Also:
        -
        setWorldRotation(Quaternion)
        -
        -
      • -
      - - - -
        -
      • -

        getWorldScale

        -
        public final Vector3 getWorldScale()
        -
        Gets a copy of the nodes world-space scale. Some precision will be lost if the node is skewed.
        -
        -
        Returns:
        -
        a new vector that represents the node's world-space scale
        -
        See Also:
        -
        setWorldScale(Vector3)
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        setLocalScale

        -
        public void setLocalScale(Vector3 scale)
        -
        Sets the scale of this node relative to its parent (local-space). If isTopLevel() is - true, then this is the same as setWorldScale(Vector3).
        -
        -
        Parameters:
        -
        scale - The scale to apply.
        -
        See Also:
        -
        getLocalScale()
        -
        -
      • -
      - - - -
        -
      • -

        setWorldPosition

        -
        public void setWorldPosition(Vector3 position)
        -
        Sets the world-space position of this node.
        -
        -
        Parameters:
        -
        position - The position to apply.
        -
        See Also:
        -
        getWorldPosition()
        -
        -
      • -
      - - - -
        -
      • -

        setWorldRotation

        -
        public void setWorldRotation(Quaternion rotation)
        -
        Sets the world-space rotation of this node.
        -
        -
        Parameters:
        -
        rotation - The rotation to apply.
        -
        See Also:
        -
        getWorldRotation()
        -
        -
      • -
      - - - -
        -
      • -

        setWorldScale

        -
        public void setWorldScale(Vector3 scale)
        -
        Sets the world-space scale of this node.
        -
        -
        Parameters:
        -
        scale - The scale to apply.
        -
        See Also:
        -
        getWorldScale()
        -
        -
      • -
      - - - -
        -
      • -

        localToWorldPoint

        -
        public final Vector3 localToWorldPoint(Vector3 point)
        -
        Converts a point in the local-space of this node to world-space.
        -
        -
        Parameters:
        -
        point - the point in local-space to convert
        -
        Returns:
        -
        a new vector that represents the point in world-space
        -
        -
      • -
      - - - -
        -
      • -

        worldToLocalPoint

        -
        public final Vector3 worldToLocalPoint(Vector3 point)
        -
        Converts a point in world-space to the local-space of this node.
        -
        -
        Parameters:
        -
        point - the point in world-space to convert
        -
        Returns:
        -
        a new vector that represents the point in local-space
        -
        -
      • -
      - - - -
        -
      • -

        localToWorldDirection

        -
        public final Vector3 localToWorldDirection(Vector3 direction)
        -
        Converts a direction from the local-space of this node to world-space. Not impacted by the - position or scale of the node.
        -
        -
        Parameters:
        -
        direction - the direction in local-space to convert
        -
        Returns:
        -
        a new vector that represents the direction in world-space
        -
        -
      • -
      - - - -
        -
      • -

        worldToLocalDirection

        -
        public final Vector3 worldToLocalDirection(Vector3 direction)
        -
        Converts a direction from world-space to the local-space of this node. Not impacted by the - position or scale of the node.
        -
        -
        Parameters:
        -
        direction - the direction in world-space to convert
        -
        Returns:
        -
        a new vector that represents the direction in local-space
        -
        -
      • -
      - - - -
        -
      • -

        getForward

        -
        public final Vector3 getForward()
        -
        Gets the world-space forward vector (-z) of this node.
        -
        -
        Returns:
        -
        a new vector that represents the node's forward direction in world-space
        -
        -
      • -
      - - - -
        -
      • -

        getBack

        -
        public final Vector3 getBack()
        -
        Gets the world-space back vector (+z) of this node.
        -
        -
        Returns:
        -
        a new vector that represents the node's back direction in world-space
        -
        -
      • -
      - - - -
        -
      • -

        getRight

        -
        public final Vector3 getRight()
        -
        Gets the world-space right vector (+x) of this node.
        -
        -
        Returns:
        -
        a new vector that represents the node's right direction in world-space
        -
        -
      • -
      - - - -
        -
      • -

        getLeft

        -
        public final Vector3 getLeft()
        -
        Gets the world-space left vector (-x) of this node.
        -
        -
        Returns:
        -
        a new vector that represents the node's left direction in world-space
        -
        -
      • -
      - - - -
        -
      • -

        getUp

        -
        public final Vector3 getUp()
        -
        Gets the world-space up vector (+y) of this node.
        -
        -
        Returns:
        -
        a new vector that represents the node's up direction in world-space
        -
        -
      • -
      - - - -
        -
      • -

        getDown

        -
        public final Vector3 getDown()
        -
        Gets the world-space down vector (-y) of this node.
        -
        -
        Returns:
        -
        a new vector that represents the node's down direction in world-space
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getRenderable

        -
        public Renderable getRenderable()
        -
        Gets the renderable to display for this node.
        -
        -
        Returns:
        -
        renderable to display for this node
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        setLight

        -
        public void setLight(Light light)
        -
        Sets the Light to display. To use, first create a Light using Light.Builder. Set the parameters you care about and then attach it to the node using this - function. A node may have a renderable and a light or just act as a Light.
        -
        -
        Parameters:
        -
        light - Properties of the Light to render, pass null to remove the light.
        -
        -
      • -
      - - - -
        -
      • -

        getLight

        -
        public Light getLight()
        -
        Gets the current light, which is mutable.
        -
      • -
      - - - -
        -
      • -

        setLookDirection

        -
        public final void setLookDirection(Vector3 lookDirection,
        -                                   Vector3 upDirection)
        -
        Sets the direction that the node is looking at in world-space. After calling this, getForward() will match the look direction passed in. The up direction will determine the - orientation of the node around the direction. The look direction and up direction cannot be - coincident (parallel) or the orientation will be invalid.
        -
        -
        Parameters:
        -
        lookDirection - a vector representing the desired look direction in world-space
        -
        upDirection - a vector representing a valid up vector to use, such as Vector3.up()
        -
        -
      • -
      - - - -
        -
      • -

        setLookDirection

        -
        public final void setLookDirection(Vector3 lookDirection)
        -
        Sets the direction that the node is looking at in world-space. After calling this, getForward() will match the look direction passed in. World-space up (0, 1, 0) will be - used to determine the orientation of the node around the direction.
        -
        -
        Parameters:
        -
        lookDirection - a vector representing the desired look direction in world-space
        -
        -
      • -
      - - - - - - - -
        -
      • -

        onActivate

        -
        public void onActivate()
        -
        Handles when this node becomes active. A Node is active if it's enabled, part of a scene, and - its parent is active. - -

        Override to perform any setup that needs to occur when the node is activated.

        -
        -
        See Also:
        -
        isActive(), -isEnabled()
        -
        -
      • -
      - - - -
        -
      • -

        onDeactivate

        -
        public void onDeactivate()
        -
        Handles when this node becomes inactivate. A Node is inactive if it's disabled, not part of a - scene, or its parent is inactive. - -

        Override to perform any setup that needs to occur when the node is deactivated.

        -
        -
        See Also:
        -
        isActive(), -isEnabled()
        -
        -
      • -
      - - - -
        -
      • -

        onUpdate

        -
        public void onUpdate(FrameTime frameTime)
        -
        Handles when this node is updated. A node is updated before rendering each frame. This is only - called when the node is active. - -

        Override to perform any updates that need to occur each frame.

        -
        -
        Parameters:
        -
        frameTime - provides time information for the current frame
        -
        -
      • -
      - - - -
        -
      • -

        onTouchEvent

        -
        public boolean onTouchEvent(HitTestResult hitTestResult,
        -                            android.view.MotionEvent motionEvent)
        -
        Handles when this node is touched. - -

        Override to perform any logic that should occur when this node is touched. The way that - touch events are propagated mirrors the way touches are propagated to Android Views. This is - only called when the node is active. - -

        When an ACTION_DOWN event occurs, that represents the start of a gesture. ACTION_UP or - ACTION_CANCEL represents when a gesture ends. When a gesture starts, the following is done: - -

          -
        • Dispatch touch events to the node that was touched as detected by Scene.hitTest(MotionEvent). -
        • If the node doesn't consume the event, recurse upwards through the node's parents and - dispatch the touch event until one of the node's consumes the event. -
        • If no nodes consume the event, the gesture is ignored and subsequent events that are part - of the gesture will not be passed to any nodes. -
        • If one of the node's consumes the event, then that node will consume all future touch - events for the gesture. -
        - - When a touch event is dispatched to a node, the event is first passed to the node's Node.OnTouchListener. If the Node.OnTouchListener doesn't handle the event, it is passed to - onTouchEvent(HitTestResult, MotionEvent).
        -
        -
        Parameters:
        -
        hitTestResult - Represents the node that was touched, and information about where it was - touched. On ACTION_DOWN events, HitTestResult.getNode() will always be this node or - one of its children. On other events, the touch may have moved causing the HitTestResult.getNode() to change (or possibly be null).
        -
        motionEvent - The motion event.
        -
        Returns:
        -
        True if the event was handled, false otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        onTransformChange

        -
        public void onTransformChange(Node originatingNode)
        -
        Handles when this node's transformation is changed. - -

        The originating node is the most top-level node in the hierarchy that triggered this node to - change. It will always be either the same node or one of its' parents. i.e. if node A's - position is changed, then that will trigger onTransformChange(Node) to be called for - all of it's children with the originatingNode being node A.

        -
        -
        Parameters:
        -
        originatingNode - the node that triggered this node's transformation to change
        -
        -
      • -
      - - - -
        -
      • -

        callOnHierarchy

        -
        public void callOnHierarchy(java.util.function.Consumer<Node> consumer)
        -
        Traverses the hierarchy and call a method on each node (including this node). Traversal is - depth first.
        -
        -
        Overrides:
        -
        callOnHierarchy in class NodeParent
        -
        Parameters:
        -
        consumer - the method to call on each node
        -
        -
      • -
      - - - -
        -
      • -

        findInHierarchy

        -
        public Node findInHierarchy(java.util.function.Predicate<Node> condition)
        -
        Traverses the hierarchy to find the first node (including this node) that meets a condition. - Once the predicate is met, the traversal stops. Traversal is depth first.
        -
        -
        Overrides:
        -
        findInHierarchy in class NodeParent
        -
        Parameters:
        -
        condition - predicate the defines the conditions of the node to search for.
        -
        Returns:
        -
        the first node that matches the conditions of the predicate, otherwise null is returned
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/NodeParent.html b/docs/javadoc/com/google/ar/sceneform/NodeParent.html deleted file mode 100644 index 5e1faa4c..00000000 --- a/docs/javadoc/com/google/ar/sceneform/NodeParent.html +++ /dev/null @@ -1,435 +0,0 @@ - - - - - -NodeParent (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class NodeParent

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.NodeParent
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    Node, Scene
    -
    -
    -
    -
    public abstract class NodeParent
    -extends java.lang.Object
    -
    Base class for all classes that can contain a set of nodes as children. - -

    The classes Node and Scene are both NodeParents. To make a Node the - child of another Node or a Scene, use Node.setParent(NodeParent).

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      NodeParent() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidaddChild(Node child) -
      Adds a node as a child of this NodeParent.
      -
      voidcallOnHierarchy(java.util.function.Consumer<Node> consumer) -
      Traverse the hierarchy and call a method on each node.
      -
      protected booleancanAddChild(Node child, - java.lang.StringBuilder failureReason) 
      NodefindByName(java.lang.String name) -
      Traverse the hierarchy to find the first node with a given name.
      -
      NodefindInHierarchy(java.util.function.Predicate<Node> condition) -
      Traverse the hierarchy to find the first node that meets a condition.
      -
      java.util.List<Node>getChildren() -
      Returns an immutable list of this parent's children.
      -
      protected voidonAddChild(Node child) 
      protected voidonRemoveChild(Node child) 
      voidremoveChild(Node child) -
      Removes a node from the children of this NodeParent.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NodeParent

        -
        public NodeParent()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getChildren

        -
        public final java.util.List<Node> getChildren()
        -
        Returns an immutable list of this parent's children.
        -
      • -
      - - - -
        -
      • -

        addChild

        -
        public final void addChild(Node child)
        -
        Adds a node as a child of this NodeParent. If the node already has a parent, it is removed from - its old parent. If the node is already a direct child of this NodeParent, no change is made.
        -
        -
        Parameters:
        -
        child - the node to add as a child
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the child is the same object as the parent, or if the - parent is a descendant of the child
        -
        -
      • -
      - - - -
        -
      • -

        removeChild

        -
        public final void removeChild(Node child)
        -
        Removes a node from the children of this NodeParent. If the node is not a direct child of this - NodeParent, no change is made.
        -
        -
        Parameters:
        -
        child - the node to remove from the children
        -
        -
      • -
      - - - -
        -
      • -

        callOnHierarchy

        -
        public void callOnHierarchy(java.util.function.Consumer<Node> consumer)
        -
        Traverse the hierarchy and call a method on each node. Traversal is depth first. If this - NodeParent is a Node, traversal starts with this NodeParent, otherwise traversal starts with - its children.
        -
        -
        Parameters:
        -
        consumer - The method to call on each node.
        -
        -
      • -
      - - - -
        -
      • -

        findInHierarchy

        -
        public Node findInHierarchy(java.util.function.Predicate<Node> condition)
        -
        Traverse the hierarchy to find the first node that meets a condition. Traversal is depth first. - If this NodeParent is a Node, traversal starts with this NodeParent, otherwise traversal starts - with its children.
        -
        -
        Parameters:
        -
        condition - predicate the defines the conditions of the node to search for.
        -
        Returns:
        -
        the first node that matches the conditions of the predicate, otherwise null is returned
        -
        -
      • -
      - - - -
        -
      • -

        findByName

        -
        public Node findByName(java.lang.String name)
        -
        Traverse the hierarchy to find the first node with a given name. Traversal is depth first. If - this NodeParent is a Node, traversal starts with this NodeParent, otherwise traversal starts - with its children.
        -
        -
        Parameters:
        -
        name - The name of the node to find
        -
        Returns:
        -
        the node if it's found, otherwise null
        -
        -
      • -
      - - - -
        -
      • -

        canAddChild

        -
        protected boolean canAddChild(Node child,
        -                              java.lang.StringBuilder failureReason)
        -
      • -
      - - - -
        -
      • -

        onAddChild

        -
        protected void onAddChild(Node child)
        -
      • -
      - - - -
        -
      • -

        onRemoveChild

        -
        protected void onRemoveChild(Node child)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Scene.OnPeekTouchListener.html b/docs/javadoc/com/google/ar/sceneform/Scene.OnPeekTouchListener.html deleted file mode 100644 index 21388c79..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Scene.OnPeekTouchListener.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - -Scene.OnPeekTouchListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Interface Scene.OnPeekTouchListener

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    Scene
    -
    -
    -
    -
    public static interface Scene.OnPeekTouchListener
    -
    Interface definition for a callback to be invoked when a touch event is dispatched to a scene. - The callback will be invoked before the Scene.OnTouchListener is invoked. This is invoked - even if the gesture was consumed, making it possible to observe all motion events dispatched to - the scene.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onPeekTouch

        -
        void onPeekTouch(HitTestResult hitTestResult,
        -                 android.view.MotionEvent motionEvent)
        -
        Called when a touch event is dispatched to a scene. The callback will be invoked before the - Scene.OnTouchListener is invoked. This is invoked even if the gesture was consumed, making - it possible to observe all motion events dispatched to the scene. This is called even if the - touch is not over a node, in which case HitTestResult.getNode() will be null.
        -
        -
        Parameters:
        -
        hitTestResult - represents the node that was touched
        -
        motionEvent - the motion event
        -
        See Also:
        -
        Scene.setOnTouchListener(OnTouchListener)
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Scene.OnTouchListener.html b/docs/javadoc/com/google/ar/sceneform/Scene.OnTouchListener.html deleted file mode 100644 index 407554c2..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Scene.OnTouchListener.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - -Scene.OnTouchListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Interface Scene.OnTouchListener

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    Scene
    -
    -
    -
    -
    public static interface Scene.OnTouchListener
    -
    Interface definition for a callback to be invoked when a touch event is dispatched to a scene. - The callback will be invoked after the touch event is dispatched to the nodes in the scene if - no node consumed the event.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onSceneTouch

        -
        boolean onSceneTouch(HitTestResult hitTestResult,
        -                     android.view.MotionEvent motionEvent)
        -
        Called when a touch event is dispatched to a scene. The callback will be invoked after the - touch event is dispatched to the nodes in the scene if no node consumed the event. This is - called even if the touch is not over a node, in which case HitTestResult.getNode() - will be null.
        -
        -
        Parameters:
        -
        hitTestResult - represents the node that was touched
        -
        motionEvent - the motion event
        -
        Returns:
        -
        true if the listener has consumed the event
        -
        See Also:
        -
        Scene.setOnTouchListener(OnTouchListener)
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Scene.OnUpdateListener.html b/docs/javadoc/com/google/ar/sceneform/Scene.OnUpdateListener.html deleted file mode 100644 index 7370f507..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Scene.OnUpdateListener.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - -Scene.OnUpdateListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Interface Scene.OnUpdateListener

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    Scene
    -
    -
    -
    -
    public static interface Scene.OnUpdateListener
    -
    Interface definition for a callback to be invoked once per frame immediately before the scene - is updated.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onUpdate

        -
        void onUpdate(FrameTime frameTime)
        -
        Called once per frame right before the Scene is updated.
        -
        -
        Parameters:
        -
        frameTime - provides time information for the current frame
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Scene.html b/docs/javadoc/com/google/ar/sceneform/Scene.html deleted file mode 100644 index c52f5055..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Scene.html +++ /dev/null @@ -1,817 +0,0 @@ - - - - - -Scene (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class Scene

-
-
- -
-
    -
  • -
    -
    -
    public class Scene
    -extends NodeParent
    -
    The Sceneform Scene maintains the scene graph, a hierarchical organization of a scene's content. - A scene can have zero or more child nodes and each node can have zero or more child nodes. - -

    The Scene also provides hit testing, a way to detect which node is touched by a MotionEvent or - Ray.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static interface Scene.OnPeekTouchListener -
      Interface definition for a callback to be invoked when a touch event is dispatched to a scene.
      -
      static interface Scene.OnTouchListener -
      Interface definition for a callback to be invoked when a touch event is dispatched to a scene.
      -
      static interface Scene.OnUpdateListener -
      Interface definition for a callback to be invoked once per frame immediately before the scene - is updated.
      -
      -
    • -
    - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Scene(SceneView view) -
      Create a scene with the given context.
      -
      -
    • -
    - - -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Scene

        -
        public Scene(SceneView view)
        -
        Create a scene with the given context.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getView

        -
        public SceneView getView()
        -
        Returns the SceneView used to create the scene.
        -
      • -
      - - - -
        -
      • -

        getCamera

        -
        public Camera getCamera()
        -
        Get the camera that is used to render the scene. The camera is a type of node.
        -
        -
        Returns:
        -
        the camera used to render the scene
        -
        -
      • -
      - - - -
        -
      • -

        getSunlight

        -
        public Node getSunlight()
        -
        Get the default sunlight node.
        -
        -
        Returns:
        -
        the sunlight node used to light the scene
        -
        -
      • -
      - - - -
        -
      • -

        getLightProbe

        -
        public LightProbe getLightProbe()
        -
        Get the Light Probe that defines the lighting environment for the scene.
        -
        -
        Returns:
        -
        the light probe used for reflections and indirect lighting.
        -
        -
      • -
      - - - -
        -
      • -

        setLightProbe

        -
        public void setLightProbe(LightProbe lightProbe)
        -
        Set a new Light Probe for the scene, this affects reflections and indirect lighting.
        -
        -
        Parameters:
        -
        lightProbe - the fully loaded LightProbe to be used as the lighting environment.
        -
        -
      • -
      - - - -
        -
      • -

        setOnTouchListener

        -
        public void setOnTouchListener(Scene.OnTouchListener onTouchListener)
        -
        Register a callback to be invoked when the scene is touched. The callback will be invoked after - the touch event is dispatched to the nodes in the scene if no node consumed the event. This is - called even if the touch is not over a node, in which case HitTestResult.getNode() will - be null.
        -
        -
        Parameters:
        -
        onTouchListener - the touch listener to attach
        -
        -
      • -
      - - - -
        -
      • -

        addOnPeekTouchListener

        -
        public void addOnPeekTouchListener(Scene.OnPeekTouchListener onPeekTouchListener)
        -
        Adds a listener that will be called before the Scene.OnTouchListener is invoked. This - is invoked even if the gesture was consumed, making it possible to observe all motion events - dispatched to the scene. This is called even if the touch is not over a node, in which case - HitTestResult.getNode() will be null. The listeners will be called in the order in - which they were added.
        -
        -
        Parameters:
        -
        onPeekTouchListener - the peek touch listener to add
        -
        -
      • -
      - - - -
        -
      • -

        removeOnPeekTouchListener

        -
        public void removeOnPeekTouchListener(Scene.OnPeekTouchListener onPeekTouchListener)
        -
        Removes a listener that will be called before the Scene.OnTouchListener is invoked. - This is invoked even if the gesture was consumed, making it possible to observe all motion - events dispatched to the scene. This is called even if the touch is not over a node, in which - case HitTestResult.getNode() will be null.
        -
        -
        Parameters:
        -
        onPeekTouchListener - the peek touch listener to remove
        -
        -
      • -
      - - - -
        -
      • -

        addOnUpdateListener

        -
        public void addOnUpdateListener(Scene.OnUpdateListener onUpdateListener)
        -
        Adds a listener that will be called once per frame immediately before the Scene is updated. The - listeners will be called in the order in which they were added.
        -
        -
        Parameters:
        -
        onUpdateListener - the update listener to add
        -
        -
      • -
      - - - -
        -
      • -

        removeOnUpdateListener

        -
        public void removeOnUpdateListener(Scene.OnUpdateListener onUpdateListener)
        -
        Removes a listener that will be called once per frame immediately before the Scene is updated.
        -
        -
        Parameters:
        -
        onUpdateListener - the update listener to remove
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        hitTest

        -
        public HitTestResult hitTest(android.view.MotionEvent motionEvent)
        -
        Tests to see if a motion event is touching any nodes within the scene, based on a ray hit test - whose origin is the screen position of the motion event, and outputs a HitTestResult containing - the node closest to the screen.
        -
        -
        Parameters:
        -
        motionEvent - the motion event to use for the test
        -
        Returns:
        -
        the result includes the first node that was hit by the motion event (may be null), and - information about where the motion event hit the node in world-space
        -
        -
      • -
      - - - -
        -
      • -

        hitTest

        -
        public HitTestResult hitTest(Ray ray)
        -
        Tests to see if a ray is hitting any nodes within the scene and outputs a HitTestResult - containing the node closest to the ray origin that intersects with the ray.
        -
        -
        Parameters:
        -
        ray - the ray to use for the test
        -
        Returns:
        -
        the result includes the first node that was hit by the ray (may be null), and - information about where the ray hit the node in world-space
        -
        See Also:
        -
        Camera.screenPointToRay(float, float)
        -
        -
      • -
      - - - -
        -
      • -

        hitTestAll

        -
        public java.util.ArrayList<HitTestResult> hitTestAll(android.view.MotionEvent motionEvent)
        -
        Tests to see if a motion event is touching any nodes within the scene and returns a list of - HitTestResults containing all of the nodes that were hit, sorted by distance.
        -
        -
        Parameters:
        -
        motionEvent - The motion event to use for the test.
        -
        Returns:
        -
        Populated with a HitTestResult for each node that was hit sorted by distance. Empty if - no nodes were hit.
        -
        -
      • -
      - - - -
        -
      • -

        hitTestAll

        -
        public java.util.ArrayList<HitTestResult> hitTestAll(Ray ray)
        -
        Tests to see if a ray is hitting any nodes within the scene and returns a list of - HitTestResults containing all of the nodes that were hit, sorted by distance.
        -
        -
        Parameters:
        -
        ray - The ray to use for the test.
        -
        Returns:
        -
        Populated with a HitTestResult for each node that was hit sorted by distance. Empty if - no nodes were hit.
        -
        See Also:
        -
        Camera.screenPointToRay(float, float)
        -
        -
      • -
      - - - -
        -
      • -

        overlapTest

        -
        public Node overlapTest(Node node)
        -
        Tests to see if the given node's collision shape overlaps the collision shape of any other - nodes in the scene using Node.getCollisionShape(). The node used for testing does not - need to be active.
        -
        -
        Parameters:
        -
        node - The node to use for the test.
        -
        Returns:
        -
        A node that is overlapping the test node. If no node is overlapping the test node, then - this is null. If multiple nodes are overlapping the test node, then this could be any of - them.
        -
        See Also:
        -
        overlapTestAll(Node)
        -
        -
      • -
      - - - -
        -
      • -

        overlapTestAll

        -
        public java.util.ArrayList<Node> overlapTestAll(Node node)
        -
        Tests to see if a node is overlapping any other nodes within the scene using Node.getCollisionShape(). The node used for testing does not need to be active.
        -
        -
        Parameters:
        -
        node - The node to use for the test.
        -
        Returns:
        -
        A list of all nodes that are overlapping the test node. If no node is overlapping the - test node, then the list is empty.
        -
        See Also:
        -
        overlapTest(Node)
        -
        -
      • -
      - - - -
        -
      • -

        setUseHdrLightEstimate

        -
        public void setUseHdrLightEstimate(boolean useHdrLightEstimate)
        -
        Sets whether the Scene should expect to use an Hdr light estimate, so that Filament light - settings can be adjusted appropriately.
        -
      • -
      - - - -
        -
      • -

        setEnvironmentalHdrLightEstimate

        -
        public void setEnvironmentalHdrLightEstimate(float[] sphericalHarmonics,
        -                                             float[] direction,
        -                                             Color colorCorrection,
        -                                             float relativeIntensity,
        -                                             android.media.Image[] cubeMap)
        -
        Sets the current Hdr Light Estimate state to apply to the Filament scene.
        -
      • -
      - - - -
        -
      • -

        setLightEstimate

        -
        public void setLightEstimate(Color colorCorrection,
        -                             float pixelIntensity)
        -
        Sets light estimate to modulate the scene lighting and intensity. The rendered lights will use - a combination of these values and the color and intensity of the lights. A value of a white - colorCorrection and pixelIntensity of 1 mean that no changes are made to the light settings. - -

        This is used by AR Sceneform scenes internally to adjust lighting based on values from - ARCore. An AR scene will call this automatically, possibly overriding other settings. In most - cases, you should not need to call this explicitly.

        -
        -
        Parameters:
        -
        colorCorrection - modulates the lighting color of the scene.
        -
        pixelIntensity - modulates the lighting intensity of the scene.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/SceneView.html b/docs/javadoc/com/google/ar/sceneform/SceneView.html deleted file mode 100644 index 7c15a947..00000000 --- a/docs/javadoc/com/google/ar/sceneform/SceneView.html +++ /dev/null @@ -1,703 +0,0 @@ - - - - - -SceneView (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class SceneView

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • android.view.View
    • -
    • -
        -
      • android.view.SurfaceView
      • -
      • -
          -
        • com.google.ar.sceneform.SceneView
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    android.graphics.drawable.Drawable.Callback, android.view.accessibility.AccessibilityEventSource, android.view.Choreographer.FrameCallback, android.view.KeyEvent.Callback
    -
    -
    -
    Direct Known Subclasses:
    -
    ArSceneView
    -
    -
    -
    -
    public class SceneView
    -extends android.view.SurfaceView
    -implements android.view.Choreographer.FrameCallback
    -
    A Sceneform SurfaceView that manages rendering and interaction with the scene.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class android.view.View

        -android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnCapturedPointerListener, android.view.View.OnClickListener, android.view.View.OnContextClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnScrollChangeListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener, android.view.View.OnUnhandledKeyEventListener
      • -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class android.view.View

        -ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_AUTO, IMPORTANT_FOR_CONTENT_CAPTURE_NO, IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_CONTENT_CAPTURE_YES, IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      SceneView(android.content.Context context) -
      Constructs a SceneView object and binds it to an Android Context.
      -
      SceneView(android.content.Context context, - android.util.AttributeSet attrs) -
      Constructs a SceneView object and binds it to an Android Context.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voiddestroy() -
      Required to exit Sceneform.
      -
      static voiddestroyAllResources() -
      Immediately releases all rendering resources, even if in use.
      -
      voiddoFrame(long frameTimeNanos) -
      Callback that occurs for each display frame.
      -
      voiddoFrameNoRepost(long frameTimeNanos) -
      Callback that occurs for each display frame.
      -
      voidenableDebug(boolean enable) -
      If enabled, provides various visualizations for debugging.
      -
      RenderergetRenderer() -
      Returns the renderer used for this view, or null if the renderer is not setup.
      -
      ScenegetScene() -
      Returns the Sceneform Scene created by this view.
      -
      booleanisDebugEnabled() -
      Indicates whether debugging is enabled for this view.
      -
      protected booleanonBeginFrame(long frameTimeNanos) -
      Update view-specific logic before for each display frame.
      -
      voidonLayout(boolean changed, - int left, - int top, - int right, - int bottom) 
      booleanonTouchEvent(android.view.MotionEvent motionEvent) 
      voidpause() -
      Pause Sceneform, which pauses the rendering thread.
      -
      static longreclaimReleasedResources() -
      Releases rendering resources ready for garbage collection - - Called every frame to collect unused resources.
      -
      voidresume() -
      Resume Sceneform, which resumes the rendering thread.
      -
      voidsetBackground(android.graphics.drawable.Drawable background) -
      Set the background to a given Drawable, or remove the background.
      -
      voidstartMirroringToSurface(android.view.Surface surface, - int left, - int bottom, - int width, - int height) -
      To capture the contents of this view, designate a Surface onto which this SceneView - should be mirrored.
      -
      voidstopMirroringToSurface(android.view.Surface surface) -
      When capturing is complete, call this method to stop mirroring the SceneView to the specified - Surface.
      -
      -
        -
      • - - -

        Methods inherited from class android.view.SurfaceView

        -dispatchDraw, draw, gatherTransparentRegion, getHolder, getHostToken, getImportantForAccessibility, getSurfaceControl, onAttachedToWindow, onDetachedFromWindow, onMeasure, onWindowVisibilityChanged, setAlpha, setChildSurfacePackage, setClipBounds, setSecure, setVisibility, setZOrderMediaOverlay, setZOrderOnTop
      • -
      -
        -
      • - - -

        Methods inherited from class android.view.View

        -addChildrenForAccessibility, addExtraDataToAccessibilityNodeInfo, addFocusables, addFocusables, addKeyboardNavigationClusters, addOnAttachStateChangeListener, addOnLayoutChangeListener, addOnUnhandledKeyEventListener, addTouchables, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchApplyWindowInsets, dispatchCapturedPointerEvent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDrawableHotspotChanged, dispatchFinishTemporaryDetach, dispatchGenericFocusedEvent, dispatchGenericMotionEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPointerCaptureChanged, dispatchPopulateAccessibilityEvent, dispatchProvideAutofillStructure, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowInsetsAnimationEnd, dispatchWindowInsetsAnimationPrepare, dispatchWindowInsetsAnimationProgress, dispatchWindowInsetsAnimationStart, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableHotspotChanged, drawableStateChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateViewId, getAccessibilityClassName, getAccessibilityDelegate, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityPaneTitle, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getAnimationMatrix, getApplicationWindowToken, getAttributeResolutionStack, getAttributeSourceResourceMap, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintBlendMode, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentCaptureSession, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getExplicitStyle, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintBlendMode, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getHorizontalScrollbarThumbDrawable, getHorizontalScrollbarTrackDrawable, getId, getImportantForAutofill, getImportantForContentCapture, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInSurface, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineAmbientShadowColor, getOutlineProvider, getOutlineSpotShadowColor, getOverlay, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getSourceLayoutResId, getStateDescription, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemGestureExclusionRects, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionAlpha, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getUniqueDrawingId, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarThumbDrawable, getVerticalScrollbarTrackDrawable, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowInsetsController, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocus, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOnLongClickListeners, hasOverlappingRendering, hasPointerCapture, hasTransientState, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isAccessibilityHeading, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isForceDarkAllowed, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isImportantForContentCapture, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPivotSet, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScreenReaderFocusable, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShowingLayoutBounds, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, isVisibleToUserForAutofill, jumpDrawablesToCurrentState, keyboardNavigationClusterSearch, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateDrawableState, onCreateInputConnection, onDisplayHint, onDragEvent, onDraw, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideContentCaptureStructure, onProvideStructure, onProvideVirtualStructure, onResolvePointerIcon, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTrackballEvent, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, removeOnUnhandledKeyEventListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, requestUnbufferedDispatch, requireViewById, resetPivot, resolveSize, resolveSizeAndState, restoreDefaultFocus, restoreHierarchyState, saveAttributeDataForStyleable, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityHeading, setAccessibilityLiveRegion, setAccessibilityPaneTitle, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAnimation, setAnimationMatrix, setAutofillHints, setAutofillId, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintBlendMode, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipToOutline, setContentCaptureSession, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForceDarkAllowed, setForeground, setForegroundGravity, setForegroundTintBlendMode, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHorizontalScrollbarThumbDrawable, setHorizontalScrollbarTrackDrawable, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setImportantForContentCapture, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLeftTopRightBottom, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineAmbientShadowColor, setOutlineProvider, setOutlineSpotShadowColor, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScreenReaderFocusable, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateDescription, setStateListAnimator, setSystemGestureExclusionRects, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionAlpha, setTransitionName, setTransitionVisibility, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVerticalScrollbarThumbDrawable, setVerticalScrollbarTrackDrawable, setWillNotCacheDrawing, setWillNotDraw, setWindowInsetsAnimationCallback, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, transformMatrixToGlobal, transformMatrixToLocal, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SceneView

        -
        public SceneView(android.content.Context context)
        -
        Constructs a SceneView object and binds it to an Android Context.
        -
        -
        Parameters:
        -
        context - the Android Context to use
        -
        See Also:
        -
        SceneView(Context, AttributeSet)
        -
        -
      • -
      - - - -
        -
      • -

        SceneView

        -
        public SceneView(android.content.Context context,
        -                 android.util.AttributeSet attrs)
        -
        Constructs a SceneView object and binds it to an Android Context.
        -
        -
        Parameters:
        -
        context - the Android Context to use
        -
        attrs - the Android AttributeSet to associate with
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onTouchEvent

        -
        public boolean onTouchEvent(android.view.MotionEvent motionEvent)
        -
        -
        Overrides:
        -
        onTouchEvent in class android.view.View
        -
        -
      • -
      - - - -
        -
      • -

        setBackground

        -
        public void setBackground(android.graphics.drawable.Drawable background)
        -
        Set the background to a given Drawable, or remove the background. If the background is - a ColorDrawable, then the background color of the Scene is set to ColorDrawable.getColor() (the alpha of the color is ignored). Otherwise, default to the - behavior of View.setBackground(Drawable).
        -
        -
        Overrides:
        -
        setBackground in class android.view.View
        -
        -
      • -
      - - - -
        -
      • -

        onLayout

        -
        public void onLayout(boolean changed,
        -                     int left,
        -                     int top,
        -                     int right,
        -                     int bottom)
        -
        -
        Overrides:
        -
        onLayout in class android.view.View
        -
        -
      • -
      - - - -
        -
      • -

        resume

        -
        public void resume()
        -            throws CameraNotAvailableException
        -
        Resume Sceneform, which resumes the rendering thread. - -

        Typically called from onResume().

        -
        -
        Throws:
        -
        CameraNotAvailableException
        -
        -
      • -
      - - - -
        -
      • -

        pause

        -
        public void pause()
        -
        Pause Sceneform, which pauses the rendering thread. - -

        Typically called from onPause().

        -
      • -
      - - - -
        -
      • -

        destroy

        -
        public void destroy()
        -
        Required to exit Sceneform. - -

        Typically called from onDestroy().

        -
      • -
      - - - -
        -
      • -

        destroyAllResources

        -
        public static void destroyAllResources()
        -
        Immediately releases all rendering resources, even if in use. - -

        Use this if nothing more will be rendered in this scene or any other, and the memory must be - released immediately.

        -
      • -
      - - - -
        -
      • -

        reclaimReleasedResources

        -
        public static long reclaimReleasedResources()
        -
        Releases rendering resources ready for garbage collection - -

        Called every frame to collect unused resources. May be called manually to release resources - after rendering has stopped.

        -
        -
        Returns:
        -
        Count of resources currently in use
        -
        -
      • -
      - - - -
        -
      • -

        enableDebug

        -
        public void enableDebug(boolean enable)
        -
        If enabled, provides various visualizations for debugging.
        -
        -
        Parameters:
        -
        enable - True to enable debugging visualizations, false to disable it.
        -
        -
      • -
      - - - -
        -
      • -

        isDebugEnabled

        -
        public boolean isDebugEnabled()
        -
        Indicates whether debugging is enabled for this view.
        -
      • -
      - - - -
        -
      • -

        getRenderer

        -
        public Renderer getRenderer()
        -
        Returns the renderer used for this view, or null if the renderer is not setup.
        -
      • -
      - - - -
        -
      • -

        getScene

        -
        public Scene getScene()
        -
        Returns the Sceneform Scene created by this view.
        -
      • -
      - - - -
        -
      • -

        startMirroringToSurface

        -
        public void startMirroringToSurface(android.view.Surface surface,
        -                                    int left,
        -                                    int bottom,
        -                                    int width,
        -                                    int height)
        -
        To capture the contents of this view, designate a Surface onto which this SceneView - should be mirrored. Use MediaRecorder.getSurface(), MediaCodec.createInputSurface() or MediaCodec.createPersistentInputSurface() to obtain the input surface for - recording. This will incur a rendering performance cost and should only be set when capturing - this view. To stop the additional rendering, call stopMirroringToSurface.
        -
        -
        Parameters:
        -
        surface - the Surface onto which the rendered scene should be mirrored.
        -
        left - the left edge of the rectangle into which the view should be mirrored on surface.
        -
        bottom - the bottom edge of the rectangle into which the view should be mirrored on - surface.
        -
        width - the width of the rectangle into which the SceneView should be mirrored on surface.
        -
        height - the height of the rectangle into which the SceneView should be mirrored on - surface.
        -
        -
      • -
      - - - -
        -
      • -

        stopMirroringToSurface

        -
        public void stopMirroringToSurface(android.view.Surface surface)
        -
        When capturing is complete, call this method to stop mirroring the SceneView to the specified - Surface. If this is not called, the additional performance cost will remain. - -

        The application is responsible for calling Surface.release() on the Surface when - done.

        -
      • -
      - - - -
        -
      • -

        onBeginFrame

        -
        protected boolean onBeginFrame(long frameTimeNanos)
        -
        Update view-specific logic before for each display frame.
        -
        -
        Returns:
        -
        true if the scene should be updated before rendering.
        -
        -
      • -
      - - - -
        -
      • -

        doFrame

        -
        public void doFrame(long frameTimeNanos)
        -
        Callback that occurs for each display frame. Updates the scene and reposts itself to be called - by the choreographer on the next frame.
        -
        -
        Specified by:
        -
        doFrame in interface android.view.Choreographer.FrameCallback
        -
        -
      • -
      - - - -
        -
      • -

        doFrameNoRepost

        -
        public void doFrameNoRepost(long frameTimeNanos)
        -
        Callback that occurs for each display frame. Updates the scene but does not post a callback - request to the choreographer for the next frame. This is used for testing where on-demand - renders are needed.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/Sun.html b/docs/javadoc/com/google/ar/sceneform/Sun.html deleted file mode 100644 index 9824e6ca..00000000 --- a/docs/javadoc/com/google/ar/sceneform/Sun.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - -Sun (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class Sun

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    TransformProvider
    -
    -
    -
    -
    public class Sun
    -extends Node
    -
    Represents the "sun" - the default directional light in the scene. - -

    The following method will throw UnsupportedOperationException when called: setParent(NodeParent) - Sunlight's parent cannot be changed, it is always the scene. - -

    All other functionality in Node is supported. You can access the position and rotation of the - sun, assign a collision shape to the sun, or add children to the sun. Disabling the sun turns off - the default directional light.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setParent

        -
        public void setParent(NodeParent parent)
        -
        Description copied from class: Node
        -
        Changes the parent node of this node. If set to null, this node will be detached from its - parent. The local position, rotation, and scale of this node will remain the same. Therefore, - the world position, rotation, and scale of this node may be different after the parent changes. - -

        The parent may be another Node or a Scene. If it is a scene, then this - Node is considered top level. Node.getParent() will return null, and Node.getScene() will return the scene.

        -
        -
        Overrides:
        -
        setParent in class Node
        -
        Parameters:
        -
        parent - The new parent that this node will be a child of. If null, this node will be - detached from its parent.
        -
        See Also:
        -
        Node.getParent(), -Node.getScene()
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/TouchEventSystem.html b/docs/javadoc/com/google/ar/sceneform/TouchEventSystem.html deleted file mode 100644 index a3f5edb5..00000000 --- a/docs/javadoc/com/google/ar/sceneform/TouchEventSystem.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - -TouchEventSystem (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform
-

Class TouchEventSystem

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.TouchEventSystem
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class TouchEventSystem
    -extends java.lang.Object
    -
    Manages propagation of touch events to node's within a scene. - -

    The way that touch events are propagated mirrors the way touches are propagated to Android - Views. - -

    When an ACTION_DOWN event occurs, that represents that start of a gesture. ACTION_UP or - ACTION_CANCEL represents when a gesture ends. When a gesture starts, the following is done: - -

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TouchEventSystem

        -
        public TouchEventSystem()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        setOnTouchListener

        -
        public void setOnTouchListener(Scene.OnTouchListener onTouchListener)
        -
        Register a callback to be invoked when the scene is touched. The callback is invoked before any - node receives the event. If the callback handles the event, then the gesture is never received - by the nodes.
        -
        -
        Parameters:
        -
        onTouchListener - the touch listener to attach
        -
        -
      • -
      - - - -
        -
      • -

        addOnPeekTouchListener

        -
        public void addOnPeekTouchListener(Scene.OnPeekTouchListener onPeekTouchListener)
        -
        Adds a listener that will be called before the Scene.OnTouchListener is invoked. This - is invoked even if the gesture was consumed, making it possible to observe all motion events - dispatched to the scene. This is called even if the touch is not over a node, in which case - HitTestResult.getNode() will be null. The listeners will be called in the order in - which they were added.
        -
        -
        Parameters:
        -
        onPeekTouchListener - the peek touch listener to add
        -
        -
      • -
      - - - -
        -
      • -

        removeOnPeekTouchListener

        -
        public void removeOnPeekTouchListener(Scene.OnPeekTouchListener onPeekTouchListener)
        -
        Removes a listener that will be called before the Scene.OnTouchListener is invoked. - This is invoked even if the gesture was consumed, making it possible to observe all motion - events dispatched to the scene. This is called even if the touch is not over a node, in which - case HitTestResult.getNode() will be null.
        -
        -
        Parameters:
        -
        onPeekTouchListener - the peek touch listener to remove
        -
        -
      • -
      - - - -
        -
      • -

        onTouchEvent

        -
        public void onTouchEvent(HitTestResult hitTestResult,
        -                         android.view.MotionEvent motionEvent)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/AnimatableModel.html b/docs/javadoc/com/google/ar/sceneform/animation/AnimatableModel.html deleted file mode 100644 index 06637685..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/AnimatableModel.html +++ /dev/null @@ -1,610 +0,0 @@ - - - - - -AnimatableModel (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.animation
-

Interface AnimatableModel

-
-
-
-
    -
  • -
    -
    All Known Implementing Classes:
    -
    RenderableInstance
    -
    -
    -
    -
    public interface AnimatableModel
    -
    An AnimatableModel is an object whose properties can be animated by an ModelAnimation. - The object animation transformation can be done at the desired frame callback place. - ModelAnimation updates the value (like in a standard - ObjectAnimator context) or to apply them inside a global/common - frame callback. -

    - An AnimatableModel can, for example, update the data of each animated property managed by an - com.google.android.filament.gltfio.Animator.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getAnimation

        -
        ModelAnimation getAnimation(int animationIndex)
        -
        Get the associated ModelAnimation at the given index or throw - an IndexOutOfBoundsException.
        -
        -
        Parameters:
        -
        animationIndex - Zero-based index for the animation of interest.
        -
        -
      • -
      - - - -
        -
      • -

        getAnimationCount

        -
        int getAnimationCount()
        -
        Returns the number of ModelAnimation definitions in the model.
        -
      • -
      - - - -
        -
      • -

        onModelAnimationChanged

        -
        default void onModelAnimationChanged(ModelAnimation animation)
        -
        Called form the ModelAnimation when it dirty state changed.
        -
      • -
      - - - -
        -
      • -

        onAnimationUpdateRequest

        -
        boolean onAnimationUpdateRequest(ModelAnimation animation)
        -
        Occurs when a ModelAnimation has received any property changed. -
        Depending on the returned value, the ModelAnimation will set his isDirty to false - or not. -
        You can choose between applying changes on the ObjectAnimator - Choreographer.FrameCallback or use your own - Choreographer to handle an update/render update hierarchy. -
        Time position should be applied inside a global Choreographer frame - callback to ensure that the transformations are applied in a hierarchical order.
        -
        -
        Returns:
        -
        true is the changes have been applied
        -
        -
      • -
      - - - -
        -
      • -

        getAnimation

        -
        default ModelAnimation getAnimation(java.lang.String name)
        -
        Get the associated ModelAnimation by name or null if none exist with the given name.
        -
      • -
      - - - -
        -
      • -

        getAnimationOrThrow

        -
        default ModelAnimation getAnimationOrThrow(java.lang.String name)
        -
        Get the associated ModelAnimation by name or throw an Exception if none exist with - the given name.
        -
      • -
      - - - -
        -
      • -

        getAnimationIndex

        -
        default int getAnimationIndex(java.lang.String name)
        -
        Get the Zero-based index for the animation name of interest or -1 if not found.
        -
      • -
      - - - -
        -
      • -

        getAnimationName

        -
        default java.lang.String getAnimationName(int animationIndex)
        -
        Get the name of the ModelAnimation at the Zero-based index -

        - This name corresponds to the one defined and exported in the renderable asset. - Typically the Action names defined in the 3D creation software. -

        -
        -
        Returns:
        -
        The string name of the ModelAnimation, - String.valueOf(animation.getIndex())> if none was specified.
        -
        -
      • -
      - - - -
        -
      • -

        getAnimationNames

        -
        default java.util.List<java.lang.String> getAnimationNames()
        -
        Get the names of the ModelAnimation -

        - This names correspond to the ones defined and exported in the renderable asset. - Typically the Action names defined in the 3D creation software. -

        -
        -
        Returns:
        -
        The string name of the ModelAnimation, - String.valueOf(animation.getIndex())> if none was specified.
        -
        -
      • -
      - - - -
        -
      • -

        setAnimationsTimePosition

        -
        default void setAnimationsTimePosition(float timePosition)
        -
        Sets the current position of (seeks) the animation to the specified time position in seconds. - This time should be -

        - This method will apply rotation, translation, and scale to the Renderable that have been - targeted. Uses TransformManager -

        -
        -
        Parameters:
        -
        timePosition - Elapsed time of interest in seconds. - Between 0 and the max value of ModelAnimation.getDuration().
        -
        See Also:
        -
        ModelAnimation.getDuration()
        -
        -
      • -
      - - - -
        -
      • -

        setAnimationsFramePosition

        -
        default void setAnimationsFramePosition(int framePosition)
        -
        Sets the current position of (seeks) all the animations to the specified frame number according - to the ModelAnimation.getFrameRate() -

        - This method will apply rotation, translation, and scale to the Renderable that have been - targeted. Uses TransformManager

        -
        -
        Parameters:
        -
        framePosition - Frame number on the timeline. - Between 0 and ModelAnimation.getFrameCount().
        -
        See Also:
        -
        ModelAnimation.getFrameCount()
        -
        -
      • -
      - - - - - - - -
        -
      • -

        animate

        -
        default android.animation.ObjectAnimator animate(int repeatCount)
        -
        Constructs and returns an ObjectAnimator for all ModelAnimation - of this object. - And sets how many times the animation should be repeated. - If the repeat count is 0, the animation is never repeated. If the repeat count is - greater than 0 or ValueAnimator.INFINITE, the repeat mode will be - taken into account. The repeat count is 0 by default. -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        repeatCount - the number of times the animation should be repeated
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ModelAnimator.ofAnimationTime(AnimatableModel, ModelAnimation, float...)
        -
        -
      • -
      - - - -
        -
      • -

        animate

        -
        default android.animation.ObjectAnimator animate(java.lang.String... animationNames)
        -
        Constructs and returns an ObjectAnimator for targeted ModelAnimation with a - given name of this object. -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animationNames - The string names of the animations. -
        This name should correspond to the one defined and exported in - the model. -
        Typically the action name defined in the 3D creation software. - ModelAnimation.getName()
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ModelAnimator.ofAnimationTime(AnimatableModel, ModelAnimation, float...)
        -
        -
      • -
      - - - -
        -
      • -

        animate

        -
        default android.animation.ObjectAnimator animate(int... animationIndexes)
        -
        Constructs and returns an ObjectAnimator for targeted ModelAnimation with a - a given index of this object. -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animationIndexes - Zero-based indexes for the animations of interest.
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ModelAnimator.ofAnimationTime(AnimatableModel, ModelAnimation, float...)
        -
        -
      • -
      - - - -
        -
      • -

        animate

        -
        default android.animation.ObjectAnimator animate(ModelAnimation... animations)
        -
        Constructs and returns an ObjectAnimator for a targeted ModelAnimation of - this object. -
        This method applies by default this to the returned ObjectAnimator : -
          -
        • The duration value to the max ModelAnimation.getDuration() in order to - match the original animation speed.
        • -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animations - The animations of interest
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ModelAnimator.ofAnimationTime(AnimatableModel, ModelAnimation, float...)
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimation.PropertyValuesHolder.html b/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimation.PropertyValuesHolder.html deleted file mode 100644 index 33ceb890..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimation.PropertyValuesHolder.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - -ModelAnimation.PropertyValuesHolder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.animation
-

Class ModelAnimation.PropertyValuesHolder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.animation.ModelAnimation.PropertyValuesHolder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ModelAnimation
    -
    -
    -
    -
    public static class ModelAnimation.PropertyValuesHolder
    -extends java.lang.Object
    -
    This class holds information about a property and the values that that property - should take during an animation. - PropertyValuesHolder objects can be used to create animations with ObjectAnimator or - that operate on several different properties in parallel. -

    - Using this ModelAnimation.PropertyValuesHolder provide an handled ModelAnimator canceling - since we target a same object and those PropertyValuesHolder have the same property name

    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static android.animation.PropertyValuesHolderofFraction(float... fractions) -
      Constructs and returns a PropertyValuesHolder with a given set of fraction values.
      -
      static android.animation.PropertyValuesHolderofFrame(int... frames) -
      Constructs and returns a PropertyValuesHolder with a given set of frame values.
      -
      static android.animation.PropertyValuesHolderofTime(float... times) -
      Constructs and returns a PropertyValuesHolder with a given set of time values.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PropertyValuesHolder

        -
        public PropertyValuesHolder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        ofTime

        -
        public static android.animation.PropertyValuesHolder ofTime(float... times)
        -
        Constructs and returns a PropertyValuesHolder with a given set of time values.
        -
        -
        Parameters:
        -
        times - The times that the ModelAnimation will animate between. - A time value must be between 0 and ModelAnimation.getDuration()
        -
        Returns:
        -
        PropertyValuesHolder The constructed PropertyValuesHolder object.
        -
        -
      • -
      - - - -
        -
      • -

        ofFrame

        -
        public static android.animation.PropertyValuesHolder ofFrame(int... frames)
        -
        Constructs and returns a PropertyValuesHolder with a given set of frame values. - - Warning - Every PropertyValuesHolder that applies a modification on the time position of the - animation should use the ModelAnimation.TIME_POSITION instead of its own Property in order - to possibly cancel any ObjectAnimator operating time modifications on the same - ModelAnimation. - ObjectAnimator.setAutoCancel(boolean) will have no effect - for different property names -

        - That's why we avoid using an ModelAnimation.FRAME_POSITION or ModelAnimation.FRACTION_POSITION Property

        -
        -
        Parameters:
        -
        frames - The frames that the ModelAnimation will animate between.
        -
        Returns:
        -
        PropertyValuesHolder The constructed PropertyValuesHolder object.
        -
        -
      • -
      - - - -
        -
      • -

        ofFraction

        -
        public static android.animation.PropertyValuesHolder ofFraction(float... fractions)
        -
        Constructs and returns a PropertyValuesHolder with a given set of fraction values. - - Warning - Every PropertyValuesHolder that applies a modification on the time position of the - animation should use the ModelAnimation.TIME_POSITION instead of its own Property in order - to possibly cancel any ObjectAnimator operating time modifications on the same - ModelAnimation. - ObjectAnimator.setAutoCancel(boolean) will have no effect - for different property names -

        - That's why we avoid using an ModelAnimation.FRAME_POSITION or ModelAnimation.FRACTION_POSITION Property

        -
        -
        Parameters:
        -
        fractions - The fractions that the ModelAnimation will animate between.
        -
        Returns:
        -
        PropertyValuesHolder The constructed PropertyValuesHolder object.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimation.html b/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimation.html deleted file mode 100644 index 07a85cfe..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimation.html +++ /dev/null @@ -1,905 +0,0 @@ - - - - - -ModelAnimation (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.animation
-

Class ModelAnimation

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.animation.ModelAnimation
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class ModelAnimation
    -extends java.lang.Object
    -
    An ModelAnimation is a reusable set of keyframe tracks which represent an animation. -

    - This class provides support for animating time positions on a targeted - AnimatableModel -

    - Here are some use cases for animations : -

    -
      -
    • On a very basic 3D model like a single infinite rotating sphere, you should not have to - use this class but probably instead just call - AnimatableModel.animate() -
    • -
    • - For a synchronised animation set like animating a cube and a sphere position and rotation at same - time or sequentially, please consider using an AnimatorSet playing a - ModelAnimator.ofAnimation(AnimatableModel, String...) - or ModelAnimator.ofPropertyValuesHolder(AnimatableModel, android.animation.PropertyValuesHolder...) -
    • -
    • - If the mesh is a character, for example, there may be one ModelAnimation for a walkcycle, a - second for a jump, a third for sidestepping and so on. -
      Assuming a character object has a skeleton, one keyframe track could store the data for the - position changes of the lower arm bone over time, a different track the data for the rotation - changes of the same bone, a third the track position, rotation or scaling of another bone, and so - on. It should be clear, that an ModelAnimation can act on lots of such tracks. -
      Assuming the model has morph targets (for example one morph target showing a friendly face - and another showing an angry face), each track holds the information as to how the influence of a - certain morph target changes during the performance of the clip. - In this case you should manage one ObjectAnimator coming from - ModelAnimator.ofAnimation(AnimatableModel, ModelAnimation...) per action. - And an AnimatorSet to play them sequentially or together. -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class ModelAnimation.PropertyValuesHolder -
      This class holds information about a property and the values that that property - should take during an animation.
      -
      -
    • -
    - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ModelAnimation(AnimatableModel model, - java.lang.String name, - int index, - float duration, - int frameRate) -
      ModelAnimation constructed from an Animator
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static floatfractionToTime(float fraction, - float duration) -
      Get the elapsed time in seconds of a fraction position
      -
      static floatframeToTime(int frame, - int frameRate) -
      Get the elapsed time in seconds of a frame position
      -
      intgeIndex() -
      Returns The Zero-based index of the target animation as defined in the original - AnimatableModel
      -
      floatgetDuration() -
      Returns the duration of this animation in seconds.
      -
      longgetDurationMillis() -
      Returns the duration of this animation in milliseconds.
      -
      floatgetFractionAtTime(float time) -
      Get the fraction position at the elapsed time in seconds.
      -
      floatgetFractionPosition() -
      Get the fractional value at the current animation position.
      -
      intgetFrameAtTime(float time) -
      Get the frame position at the elapsed time in seconds.
      -
      intgetFrameCount() -
      Returns the total number of frames of this animation.
      -
      intgetFramePosition() -
      Get the current frame number at the current animation position.
      -
      intgetFrameRate() -
      Get the frames per second originally defined in the - Animatable.
      -
      java.lang.StringgetName() -
      Get the name of the animation - - This name corresponds to the one defined and exported in the AnimatableModel.
      -
      floatgetTimeAtFraction(float fraction) -
      Get the elapsed time in seconds of a fraction position
      -
      floatgetTimeAtFrame(int frame) -
      Get the elapsed time in seconds of a frame position
      -
      floatgetTimePosition() -
      Get the current time position in seconds at the current animation position.
      -
      booleanisDirty() -
      Internal usage for applying changes according to rendering update hierarchy.
      -
      static longsecondsToMillis(float time) -
      Convert time in seconds to time in millis
      -
      voidsetFractionPosition(float fractionPosition) -
      Sets the current position of (seeks) the animation to the specified fraction - position.
      -
      voidsetFramePosition(int frameNumber) -
      Sets the current position of (seeks) the animation to the specified frame number according to - the getFrameRate().
      -
      voidsetTimePosition(float timePosition) -
      Sets the current position of (seeks) the animation to the specified time position in seconds.
      -
      static floattimeToFraction(float time, - float duration) -
      Get the fraction position at the elapsed time in seconds.
      -
      static inttimeToFrame(float time, - int frameRate) -
      Get the frame position at the elapsed time in seconds.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelAnimation

        -
        public ModelAnimation(AnimatableModel model,
        -                      java.lang.String name,
        -                      int index,
        -                      float duration,
        -                      int frameRate)
        -
        ModelAnimation constructed from an Animator
        -
        -
        Parameters:
        -
        name - This name should corresponds to the one defined and exported in the - AnimatableModel. -
        Typically the action name defined in the 3D creation software.
        -
        index - Zero-based index of the target animation as defined in the - original AnimatableModel
        -
        duration - This original AnimatableModel duration
        -
        frameRate - The frames per second defined in the original animation asset
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        geIndex

        -
        public int geIndex()
        -
        Returns The Zero-based index of the target animation as defined in the original - AnimatableModel
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Get the name of the animation -

        - This name corresponds to the one defined and exported in the AnimatableModel. -
        Typically the Action names defined in the 3D creation software. -

        -
        -
        Returns:
        -
        Weak reference to the string name of the animation, or - the String.valueOf(animation.getIndex())> if none was specified.
        -
        -
      • -
      - - - -
        -
      • -

        getDuration

        -
        public float getDuration()
        -
        Returns the duration of this animation in seconds.
        -
      • -
      - - - -
        -
      • -

        getDurationMillis

        -
        public long getDurationMillis()
        -
        Returns the duration of this animation in milliseconds.
        -
      • -
      - - - -
        -
      • -

        getFrameRate

        -
        public int getFrameRate()
        -
        Get the frames per second originally defined in the - Animatable.
        -
        -
        Returns:
        -
        The number of frames refresh during one second
        -
        -
      • -
      - - - -
        -
      • -

        getFrameCount

        -
        public int getFrameCount()
        -
        Returns the total number of frames of this animation.
        -
      • -
      - - - -
        -
      • -

        getTimePosition

        -
        public float getTimePosition()
        -
        Get the current time position in seconds at the current animation position.
        -
        -
        Returns:
        -
        timePosition Elapsed time of interest in seconds. Between 0 and - getDuration()
        -
        See Also:
        -
        getDuration()
        -
        -
      • -
      - - - -
        -
      • -

        setTimePosition

        -
        public void setTimePosition(float timePosition)
        -
        Sets the current position of (seeks) the animation to the specified time position in seconds. -

        - This method will apply rotation, translation, and scale to the AnimatableModel that - have been targeted. -

        -
        -
        Parameters:
        -
        timePosition - Elapsed time of interest in seconds. Between 0 and - getDuration()
        -
        See Also:
        -
        getDuration()
        -
        -
      • -
      - - - -
        -
      • -

        getFramePosition

        -
        public int getFramePosition()
        -
        Get the current frame number at the current animation position.
        -
        -
        Returns:
        -
        Frame number on the timeline. Between 0 and {@link #getFrameCount()
        -
        See Also:
        -
        getTimePosition(), -getFrameCount()
        -
        -
      • -
      - - - -
        -
      • -

        setFramePosition

        -
        public void setFramePosition(int frameNumber)
        -
        Sets the current position of (seeks) the animation to the specified frame number according to - the getFrameRate().
        -
        -
        Parameters:
        -
        frameNumber - Frame number in the timeline. Between 0 and getFrameCount()
        -
        See Also:
        -
        setTimePosition(float), -getFrameCount()
        -
        -
      • -
      - - - -
        -
      • -

        getFractionPosition

        -
        public float getFractionPosition()
        -
        Get the fractional value at the current animation position.
        -
        -
        Returns:
        -
        The fractional (percent) position. Between 0 and 1
        -
        See Also:
        -
        getTimePosition()
        -
        -
      • -
      - - - -
        -
      • -

        setFractionPosition

        -
        public void setFractionPosition(float fractionPosition)
        -
        Sets the current position of (seeks) the animation to the specified fraction - position.
        -
        -
        Parameters:
        -
        fractionPosition - The fractional (percent) position. Between 0 and 1.
        -
        See Also:
        -
        setTimePosition(float)
        -
        -
      • -
      - - - -
        -
      • -

        isDirty

        -
        public boolean isDirty()
        -
        Internal usage for applying changes according to rendering update hierarchy. -
        Time position must be applied inside a global Choreographer frame - callback to ensure that the transformations are applied in a hierarchical order.
        -
        -
        Returns:
        -
        true if changes has been made
        -
        -
      • -
      - - - -
        -
      • -

        getTimeAtFrame

        -
        public float getTimeAtFrame(int frame)
        -
        Get the elapsed time in seconds of a frame position
        -
        -
        Parameters:
        -
        frame - Frame number on the timeline
        -
        Returns:
        -
        Elapsed time of interest in seconds
        -
        -
      • -
      - - - -
        -
      • -

        getFrameAtTime

        -
        public int getFrameAtTime(float time)
        -
        Get the frame position at the elapsed time in seconds.
        -
        -
        Parameters:
        -
        time - Elapsed time of interest in seconds
        -
        Returns:
        -
        The frame number at the specified time
        -
        -
      • -
      - - - -
        -
      • -

        getTimeAtFraction

        -
        public float getTimeAtFraction(float fraction)
        -
        Get the elapsed time in seconds of a fraction position
        -
        -
        Parameters:
        -
        fraction - The fractional (from 0 to 1) value of interest
        -
        Returns:
        -
        Elapsed time at the specified fraction
        -
        -
      • -
      - - - -
        -
      • -

        getFractionAtTime

        -
        public float getFractionAtTime(float time)
        -
        Get the fraction position at the elapsed time in seconds.
        -
        -
        Parameters:
        -
        time - Elapsed time of interest in seconds.
        -
        Returns:
        -
        The fractional (from 0 to 1) value at the specified time
        -
        -
      • -
      - - - -
        -
      • -

        frameToTime

        -
        public static float frameToTime(int frame,
        -                                int frameRate)
        -
        Get the elapsed time in seconds of a frame position
        -
        -
        Parameters:
        -
        frame - Frame number on the timeline
        -
        frameRate - The frames per second of the animation
        -
        Returns:
        -
        Elapsed time of interest in seconds
        -
        -
      • -
      - - - -
        -
      • -

        timeToFrame

        -
        public static int timeToFrame(float time,
        -                              int frameRate)
        -
        Get the frame position at the elapsed time in seconds.
        -
        -
        Parameters:
        -
        time - Elapsed time of interest in seconds.
        -
        frameRate - The frames per second of the animation
        -
        Returns:
        -
        The frame number at the specified time
        -
        -
      • -
      - - - -
        -
      • -

        fractionToTime

        -
        public static float fractionToTime(float fraction,
        -                                   float duration)
        -
        Get the elapsed time in seconds of a fraction position
        -
        -
        Parameters:
        -
        fraction - The fractional (from 0 to 1) value of interest
        -
        duration - Duration in seconds
        -
        Returns:
        -
        Elapsed time at the specified fraction
        -
        -
      • -
      - - - -
        -
      • -

        timeToFraction

        -
        public static float timeToFraction(float time,
        -                                   float duration)
        -
        Get the fraction position at the elapsed time in seconds.
        -
        -
        Parameters:
        -
        time - Elapsed time of interest in seconds.
        -
        duration - Duration in seconds
        -
        Returns:
        -
        The fractional (from 0 to 1) value at the specified time
        -
        -
      • -
      - - - -
        -
      • -

        secondsToMillis

        -
        public static long secondsToMillis(float time)
        -
        Convert time in seconds to time in millis
        -
        -
        Parameters:
        -
        time - Elapsed time of interest in seconds.
        -
        Returns:
        -
        Elapsed time of interest in milliseconds
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimator.PropertyValuesHolder.html b/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimator.PropertyValuesHolder.html deleted file mode 100644 index 8b3523e8..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimator.PropertyValuesHolder.html +++ /dev/null @@ -1,469 +0,0 @@ - - - - - -ModelAnimator.PropertyValuesHolder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.animation
-

Class ModelAnimator.PropertyValuesHolder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.animation.ModelAnimator.PropertyValuesHolder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ModelAnimator
    -
    -
    -
    -
    public static class ModelAnimator.PropertyValuesHolder
    -extends java.lang.Object
    -
    This class holds information about a property and the values that that property - should take during an animation. -

    - PropertyValuesHolder objects can be used to create animations with ObjectAnimator or - that operate on several different properties in parallel. -

    -

    - Warning: -
    Using this PropertyValuesHolder is very useful for targeting multiple - time or frame properties of multiple animations inside a same ObjectAnimator model -
    AND insure a less consuming Choreographer.FrameCallback than - using AnimatorSet.playTogether(android.animation.Animator...) -
    BUT If you want to use the - ObjectAnimator.setAutoCancel(boolean) functionality, you have to - take care of this : ObjectAnimator.hasSameTargetAndProperties(Animator anim) -

    -
    -
    See Also:
    -
    ObjectAnimator
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static android.animation.PropertyValuesHolderofAnimation(ModelAnimation animation) -
      Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation.
      -
      static android.animation.PropertyValuesHolderofAnimationFrame(ModelAnimation animation, - int... frames) -
      Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation with - a given set of time values.
      -
      static android.animation.PropertyValuesHolderofAnimationFrame(java.lang.String animationName, - int... frames) -
      Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation with - a given set of fame values.
      -
      static android.animation.PropertyValuesHolderofAnimationTime(ModelAnimation animation, - float... times) -
      Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation with - a given set of time values.
      -
      static android.animation.PropertyValuesHolderofAnimationTime(java.lang.String animationName, - float... times) -
      Constructs and returns a PropertyValuesHolder for a targeted animation set of time - values.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PropertyValuesHolder

        -
        public PropertyValuesHolder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        ofAnimation

        -
        public static android.animation.PropertyValuesHolder ofAnimation(ModelAnimation animation)
        -
        Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation. -
        This method applies by default this to the returned ObjectAnimator : -
          -
        • The duration value to the ModelAnimation.getDuration() in order to - match the original animation speed.
        • -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        -
        Parameters:
        -
        animation - The animation of interest
        -
        Returns:
        -
        The constructed PropertyValuesHolder object.
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimationTime

        -
        public static android.animation.PropertyValuesHolder ofAnimationTime(java.lang.String animationName,
        -                                                                     float... times)
        -
        Constructs and returns a PropertyValuesHolder for a targeted animation set of time - values.
        -
        -
        Parameters:
        -
        animationName - The string name of the animation. -
        This name should correspond to the one defined and exported in - the model. -
        Typically the action name defined in the 3D creation software. - ModelAnimation.getName()
        -
        times - The elapsed times (between 0 and ModelAnimation.getDuration() - that the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed PropertyValuesHolder object.
        -
        See Also:
        -
        ofAnimationTime(ModelAnimation, float...)
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimationTime

        -
        public static android.animation.PropertyValuesHolder ofAnimationTime(ModelAnimation animation,
        -                                                                     float... times)
        -
        Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation with - a given set of time values. -
          -
        • A single value implies that that value is the one being animated to starting from the - actual value on the provided ModelAnimation.
        • -
        • Two values imply a starting and ending values.
        • -
        • More than two values imply a starting value, values to animate through along the way, - and an ending value (these values will be distributed evenly across the duration of the - animation).
        • -
        -

        - The properties (time, frame,... position) are applied to the AnimatableModel -
        This method applies by default this to the returned ObjectAnimator : -

        -
          -
        • The duration value to the ModelAnimation.getDuration() in order to - match the original animation speed.
        • -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        -
        Parameters:
        -
        animation - The animation of interest
        -
        times - The elapsed times (between 0 and ModelAnimation.getDuration() - that the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed PropertyValuesHolder object.
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimationFrame

        -
        public static android.animation.PropertyValuesHolder ofAnimationFrame(java.lang.String animationName,
        -                                                                      int... frames)
        -
        Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation with - a given set of fame values.
        -
        -
        Parameters:
        -
        animationName - The string name of the animation. -
        This name should correspond to the one defined and exported in - the model. -
        Typically the action name defined in the 3D creation software. - ModelAnimation.getName()
        -
        frames - The frame numbers (between 0 and - ModelAnimation.getFrameCount() that - the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed PropertyValuesHolder object.
        -
        See Also:
        -
        ofAnimationFrame(String, int...)
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimationFrame

        -
        public static android.animation.PropertyValuesHolder ofAnimationFrame(ModelAnimation animation,
        -                                                                      int... frames)
        -
        Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation with - a given set of time values. -
          -
        • A single value implies that that value is the one being animated to starting from the - actual value on the provided ModelAnimation.
        • -
        • Two values imply a starting and ending values.
        • -
        • More than two values imply a starting value, values to animate through along the way, - and an ending value (these values will be distributed evenly across the duration of the - animation).
        • -
        -

        - The properties (time, frame,... position) are applied to the AnimatableModel -
        This method applies by default this to the returned ObjectAnimator : -

        -
          -
        • The duration value to the ModelAnimation.getDuration() in order to - match the original animation speed.
        • -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        -
        Parameters:
        -
        animation - The animation of interest
        -
        frames - The frame numbers (between 0 and ModelAnimation.getFrameCount() that - the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed PropertyValuesHolder object.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimator.html b/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimator.html deleted file mode 100644 index b1caefa9..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/ModelAnimator.html +++ /dev/null @@ -1,767 +0,0 @@ - - - - - -ModelAnimator (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.animation
-

Class ModelAnimator

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.animation.ModelAnimator
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class ModelAnimator
    -extends java.lang.Object
    -
    This class provides support for animating time positions on a specific ModelAnimation - of a targeted AnimatableModel -

    - Provides support for animating matrices on target a AnimatableModel. -
    In a glTF context, this Animator updates matrices according to glTF - animation and skin definitions. -

    -

    - By default the ModelAnimator plays the full ModelAnimation starting from 0 to the - animation duration. If you want to specify a start and end time or frame, please use the - ofAnimationTime(AnimatableModel, ModelAnimation, float...) - or ofAnimationFrame(AnimatableModel, ModelAnimation, int...) -

    - ModelAnimator can be used for two things: -
      -
    • Updating matrices in TransformManager components according to the model animation definitions.
    • -
    • Updating bone matrices in RenderableManager components according to the model skin definitions.
    • -
    -

    - Here are some use cases for animations : -

    -
      -
    • On a very basic 3D model like a single infinite rotating sphere, you should not have to - use this class but probably instead just call - AnimatableModel.animate() -
    • -
    • - For a synchronised animation set like animating a cube and a sphere position and rotation at same - time or sequentially, please consider using an AnimatorSet playing a - ofAnimation(AnimatableModel, String...) - or ofPropertyValuesHolder(AnimatableModel, android.animation.PropertyValuesHolder...) -
    • -
    • - If the mesh is a character, for example, there may be one ModelAnimation for a walkcycle, a - second for a jump, a third for sidestepping and so on. -
      Assuming a character object has a skeleton, one keyframe track could store the data for the - position changes of the lower arm bone over time, a different track the data for the rotation - changes of the same bone, a third the track position, rotation or scaling of another bone, and so - on. It should be clear, that an ModelAnimation can act on lots of such tracks. -
      Assuming the model has morph targets (for example one morph target showing a friendly face - and another showing an angry face), each track holds the information as to how the influence of a - certain morph target changes during the performance of the clip. - In this case you should manage one ObjectAnimator coming from - ofAnimation(AnimatableModel, ModelAnimation...) per action. - And an AnimatorSet to play them sequentially or together. -
    • -
    -

    - Every PropertyValuesHolder that applies a modification on the time position of the animation - must use the ModelAnimation.TIME_POSITION instead of its own Property in order to possibly cancel - any ObjectAnimator operating time modifications on the same ModelAnimation. -

    -

    - More information about Animator: - - https://developer.android.com/guide/topics/graphics/prop-animation - -

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelAnimator

        -
        public ModelAnimator()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        ofAnimation

        -
        public static android.animation.ObjectAnimator ofAnimation(AnimatableModel animatableModel,
        -                                                           java.lang.String... animationNames)
        -
        Constructs and returns an ObjectAnimator for targeted ModelAnimation with - a given name inside an AnimatableModel. -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted model to animate
        -
        animationNames - The string names of the animations. -
        This name should correspond to the one defined and exported in - the model. -
        Typically the action name defined in the 3D creation software. - ModelAnimation.getName()
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ofAnimation(AnimatableModel, ModelAnimation...)
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimation

        -
        public static android.animation.ObjectAnimator ofAnimation(AnimatableModel animatableModel,
        -                                                           int... animationIndexes)
        -
        Constructs and returns an ObjectAnimator for targeted ModelAnimation with - a given index inside an AnimatableModel. -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted animatable to animate
        -
        animationIndexes - Zero-based indexes for the animations of interest.
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ofAnimation(AnimatableModel, ModelAnimation...)
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimation

        -
        public static android.animation.ObjectAnimator ofAnimation(AnimatableModel animatableModel,
        -                                                           ModelAnimation... animations)
        -
        Constructs and returns an ObjectAnimator for a targeted ModelAnimation inside - an AnimatableModel. -
        This method applies by default this to the returned ObjectAnimator : -
          -
        • The duration value to the max ModelAnimation.getDuration() in order to - match the original animation speed.
        • -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted animatable to animate
        -
        animations - The animations of interest
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        -
      • -
      - - - - - - - -
        -
      • -

        ofAnimationTime

        -
        public static android.animation.ObjectAnimator ofAnimationTime(AnimatableModel animatableModel,
        -                                                               int animationIndex,
        -                                                               float... times)
        -
        Constructs and returns an ObjectAnimator clipping a ModelAnimation to a given set of - time values. -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted model to animate
        -
        animationIndex - Zero-based index for the animation of interest.
        -
        times - The elapsed times (between 0 and ModelAnimation.getDuration() - that the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ofAnimationTime(AnimatableModel, ModelAnimation, float...)
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimationTime

        -
        public static android.animation.ObjectAnimator ofAnimationTime(AnimatableModel animatableModel,
        -                                                               ModelAnimation animation,
        -                                                               float... times)
        -
        Constructs and returns an ObjectAnimator clipping a ModelAnimation to a given set of - time values. -

        - Time values can help you targeting a specific position on an animation coming from - a 3D creation software with a default times based timeline. - It's the 3D designer responsibility to tell you what specific timeline position - corresponds to a specific model appearance. -

        -
          -
        • A single value implies that that value is the one being animated to starting from the - actual value on the provided ModelAnimation.
        • -
        • Two values imply a starting and ending values.
        • -
        • More than two values imply a starting value, values to animate through along the way, - and an ending value (these values will be distributed evenly across the duration of the - animation).
        • -
        -

        - The properties (time, frame,... position) are applied to the AnimatableModel -
        This method applies by default this to the returned ObjectAnimator : -

        -
          -
        • The duration value to the ModelAnimation.getDuration() in order to - match the original animation speed.
        • -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted model to animate
        -
        animation - The animation of interest
        -
        times - The elapsed times (between 0 and ModelAnimation.getDuration() - that the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        -
      • -
      - - - - - - - -
        -
      • -

        ofAnimationFrame

        -
        public static android.animation.ObjectAnimator ofAnimationFrame(AnimatableModel animatableModel,
        -                                                                int animationIndex,
        -                                                                int... frames)
        -
        Constructs and returns an ObjectAnimator clipping a ModelAnimation to a given set of - frame values. -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted model to animate
        -
        animationIndex - Zero-based index for the animation of interest.
        -
        frames - The frame numbers (between 0 and ModelAnimation.getFrameCount() that - the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ofAnimationFrame(AnimatableModel, ModelAnimation, int...)
        -
        -
      • -
      - - - -
        -
      • -

        ofAnimationFrame

        -
        public static android.animation.ObjectAnimator ofAnimationFrame(AnimatableModel animatableModel,
        -                                                                ModelAnimation animation,
        -                                                                int... frames)
        -
        Constructs and returns an ObjectAnimator clipping a ModelAnimation to a given set of - frame values. -

        - Frame number can help you targeting a specific position on an animation coming from - a 3D creation software with a frame numbers based timeline. - It's the 3D designer responsibility to tell you what specific timeline position - corresponds to a specific model appearance. -
        The corresponding time of a frame number is calculated using - ModelAnimation.getFrameRate(). -

        -
          -
        • A single value implies that that value is the one being animated to starting from the - actual value on the provided ModelAnimation.
        • -
        • Two values imply a starting and ending values.
        • -
        • More than two values imply a starting value, values to animate through along the way, - and an ending value (these values will be distributed evenly across the duration of the - animation).
        • -
        -

        - The properties (time, frame,... position) are applied to the AnimatableModel -
        This method applies by default this to the returned ObjectAnimator : -

        -
          -
        • The duration value to the ModelAnimation.getDuration() in order to - match the original animation speed.
        • -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted model to animate
        -
        animation - The animation of interest
        -
        frames - The frame numbers (between 0 and ModelAnimation.getFrameCount() that - the ModelAnimation will animate between.
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        See Also:
        -
        ofAnimationTime(AnimatableModel, ModelAnimation, float...)
        -
        -
      • -
      - - - -
        -
      • -

        ofPropertyValuesHolder

        -
        public static android.animation.ObjectAnimator ofPropertyValuesHolder(AnimatableModel animatableModel,
        -                                                                      android.animation.PropertyValuesHolder... values)
        -
        Constructs and returns an ObjectAnimator a ModelAnimation applying - PropertyValuesHolders. -
          -
        • A single value implies that that value is the one being animated to starting from the - actual value on the provided ModelAnimation.
        • -
        • Two values imply a starting and ending values.
        • -
        • More than two values imply a starting value, values to animate through along the way, - and an ending value (these values will be distributed evenly across the duration of the - animation).
        • -
        -

        - The properties (time, frame,... position) are applied to the AnimatableModel -
        This method applies by default this to the returned ObjectAnimator : -

        -
          -
        • The interpolator to LinearInterpolator in order to match the natural animation - interpolation.
        • -
        -
        Don't forget to call ObjectAnimator.start()
        -
        -
        Parameters:
        -
        animatableModel - The targeted model to animate
        -
        values - A set of PropertyValuesHolder objects whose values will be animated between over time.
        -
        Returns:
        -
        The constructed ObjectAnimator
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/package-frame.html b/docs/javadoc/com/google/ar/sceneform/animation/package-frame.html deleted file mode 100644 index 74ad155f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -com.google.ar.sceneform.animation (core API) - - - - -

com.google.ar.sceneform.animation

- - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/package-summary.html b/docs/javadoc/com/google/ar/sceneform/animation/package-summary.html deleted file mode 100644 index 2d8867ed..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/package-summary.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - -com.google.ar.sceneform.animation (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.animation

-
-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    AnimatableModel -
    An AnimatableModel is an object whose properties can be animated by an ModelAnimation.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    ModelAnimation -
    An ModelAnimation is a reusable set of keyframe tracks which represent an animation.
    -
    ModelAnimation.PropertyValuesHolder -
    This class holds information about a property and the values that that property - should take during an animation.
    -
    ModelAnimator -
    This class provides support for animating time positions on a specific ModelAnimation - of a targeted AnimatableModel - - Provides support for animating matrices on target a AnimatableModel.
    -
    ModelAnimator.PropertyValuesHolder -
    This class holds information about a property and the values that that property - should take during an animation.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/animation/package-tree.html b/docs/javadoc/com/google/ar/sceneform/animation/package-tree.html deleted file mode 100644 index ccf00973..00000000 --- a/docs/javadoc/com/google/ar/sceneform/animation/package-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -com.google.ar.sceneform.animation Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.animation

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/Box.html b/docs/javadoc/com/google/ar/sceneform/collision/Box.html deleted file mode 100644 index 805c7c6e..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/Box.html +++ /dev/null @@ -1,552 +0,0 @@ - - - - - -Box (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class Box

-
-
- -
-
    -
  • -
    -
    -
    public class Box
    -extends CollisionShape
    -
    Mathematical representation of a box. Used to perform intersection and collision tests against - oriented boxes.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Box

        -
        public Box()
        -
        Create a box with a center of (0,0,0) and a size of (1,1,1).
        -
      • -
      - - - -
        -
      • -

        Box

        -
        public Box(Vector3 size)
        -
        Create a box with a center of (0,0,0) and a specified size.
        -
        -
        Parameters:
        -
        size - the size of the box.
        -
        -
      • -
      - - - -
        -
      • -

        Box

        -
        public Box(Vector3 size,
        -           Vector3 center)
        -
        Create a box with a specified center and size.
        -
        -
        Parameters:
        -
        size - the size of the box
        -
        center - the center of the box
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setCenter

        -
        public void setCenter(Vector3 center)
        -
        Set the center of this box.
        -
        -
        Parameters:
        -
        center - the new center of the box
        -
        See Also:
        -
        getCenter()
        -
        -
      • -
      - - - -
        -
      • -

        getCenter

        -
        public Vector3 getCenter()
        -
        Get a copy of the box's center.
        -
        -
        Returns:
        -
        a new vector that represents the box's center
        -
        See Also:
        -
        setCenter(Vector3)
        -
        -
      • -
      - - - -
        -
      • -

        setSize

        -
        public void setSize(Vector3 size)
        -
        Set the size of this box.
        -
        -
        Parameters:
        -
        size - the new size of the box
        -
        See Also:
        -
        getSize()
        -
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public Vector3 getSize()
        -
        Get a copy of the box's size.
        -
        -
        Returns:
        -
        a new vector that represents the box's size
        -
        See Also:
        -
        setSize(Vector3)
        -
        -
      • -
      - - - -
        -
      • -

        getExtents

        -
        public Vector3 getExtents()
        -
        Calculate the extents (half the size) of the box.
        -
        -
        Returns:
        -
        a new vector that represents the box's extents
        -
        -
      • -
      - - - -
        -
      • -

        setRotation

        -
        public void setRotation(Quaternion rotation)
        -
        Set the rotation of this box.
        -
        -
        Parameters:
        -
        rotation - the new rotation of the box
        -
        See Also:
        -
        getRotation()
        -
        -
      • -
      - - - -
        -
      • -

        getRotation

        -
        public Quaternion getRotation()
        -
        Get a copy of the box's rotation.
        -
        -
        Returns:
        -
        a new quaternion that represents the box's rotation
        -
        See Also:
        -
        setRotation(Quaternion)
        -
        -
      • -
      - - - - - - - - - - - - - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/Collider.html b/docs/javadoc/com/google/ar/sceneform/collision/Collider.html deleted file mode 100644 index a0168ff2..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/Collider.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - -Collider (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class Collider

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.collision.Collider
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Collider
    -extends java.lang.Object
    -
    Represents the collision information associated with a transformation that can be attached to the - collision system. Not publicly exposed.
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/CollisionShape.html b/docs/javadoc/com/google/ar/sceneform/collision/CollisionShape.html deleted file mode 100644 index b9090a2a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/CollisionShape.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - -CollisionShape (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class CollisionShape

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.collision.CollisionShape
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    Box, Sphere
    -
    -
    -
    -
    public abstract class CollisionShape
    -extends java.lang.Object
    -
    Base class for all types of shapes that collision checks can be performed against.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        onChanged

        -
        protected void onChanged()
        -
        Must be called by subclasses when the shape changes to inform listeners of the change.
        -
      • -
      - - - -
        -
      • -

        rayIntersection

        -
        protected abstract boolean rayIntersection(Ray ray,
        -                                           RayHit result)
        -
      • -
      - - - -
        -
      • -

        shapeIntersection

        -
        protected abstract boolean shapeIntersection(CollisionShape shape)
        -
      • -
      - - - -
        -
      • -

        sphereIntersection

        -
        protected abstract boolean sphereIntersection(Sphere sphere)
        -
      • -
      - - - -
        -
      • -

        boxIntersection

        -
        protected abstract boolean boxIntersection(Box box)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/CollisionSystem.html b/docs/javadoc/com/google/ar/sceneform/collision/CollisionSystem.html deleted file mode 100644 index b020eab2..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/CollisionSystem.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -CollisionSystem (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class CollisionSystem

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.collision.CollisionSystem
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class CollisionSystem
    -extends java.lang.Object
    -
    Manages all of the colliders within a scene.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CollisionSystem

        -
        public CollisionSystem()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        addCollider

        -
        public void addCollider(Collider collider)
        -
      • -
      - - - -
        -
      • -

        removeCollider

        -
        public void removeCollider(Collider collider)
        -
      • -
      - - - - - - - -
        -
      • -

        raycastAll

        -
        public <T extends RayHit> int raycastAll(Ray ray,
        -                                         java.util.ArrayList<T> resultBuffer,
        -                                         java.util.function.BiConsumer<T,Collider> processResult,
        -                                         java.util.function.Supplier<T> allocateResult)
        -
      • -
      - - - - - - - -
        -
      • -

        intersectsAll

        -
        public void intersectsAll(Collider collider,
        -                          java.util.function.Consumer<Collider> processResult)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/Plane.html b/docs/javadoc/com/google/ar/sceneform/collision/Plane.html deleted file mode 100644 index e72ad0e0..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/Plane.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - -Plane (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class Plane

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.collision.Plane
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Plane
    -extends java.lang.Object
    -
    Mathematical representation of a plane with an infinite size. Used for intersection tests.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setCenter

        -
        public void setCenter(Vector3 center)
        -
      • -
      - - - -
        -
      • -

        getCenter

        -
        public Vector3 getCenter()
        -
      • -
      - - - -
        -
      • -

        setNormal

        -
        public void setNormal(Vector3 normal)
        -
      • -
      - - - -
        -
      • -

        getNormal

        -
        public Vector3 getNormal()
        -
      • -
      - - - -
        -
      • -

        rayIntersection

        -
        public boolean rayIntersection(Ray ray,
        -                               RayHit result)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/Ray.html b/docs/javadoc/com/google/ar/sceneform/collision/Ray.html deleted file mode 100644 index 570fc050..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/Ray.html +++ /dev/null @@ -1,401 +0,0 @@ - - - - - -Ray (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class Ray

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.collision.Ray
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Ray
    -extends java.lang.Object
    -
    Mathematical representation of a ray. Used to perform intersection and collision tests.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      Ray() -
      Create a ray with an origin of (0,0,0) and a direction of Vector3.forward().
      -
      Ray(Vector3 origin, - Vector3 direction) -
      Create a ray with a specified origin and direction.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Vector3getDirection() -
      Get the direction of the ray.
      -
      Vector3getOrigin() -
      Get the origin of the ray.
      -
      Vector3getPoint(float distance) -
      Get a point at a distance along the ray.
      -
      voidsetDirection(Vector3 direction) -
      Set the direction of the ray.
      -
      voidsetOrigin(Vector3 origin) -
      Set the origin of the ray in world coordinates.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Ray

        -
        public Ray()
        -
        Create a ray with an origin of (0,0,0) and a direction of Vector3.forward().
        -
      • -
      - - - -
        -
      • -

        Ray

        -
        public Ray(Vector3 origin,
        -           Vector3 direction)
        -
        Create a ray with a specified origin and direction. The direction will automatically be - normalized.
        -
        -
        Parameters:
        -
        origin - the ray's origin
        -
        direction - the ray's direction
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setOrigin

        -
        public void setOrigin(Vector3 origin)
        -
        Set the origin of the ray in world coordinates.
        -
        -
        Parameters:
        -
        origin - the new origin of the ray.
        -
        -
      • -
      - - - -
        -
      • -

        getOrigin

        -
        public Vector3 getOrigin()
        -
        Get the origin of the ray.
        -
        -
        Returns:
        -
        a new vector that represents the ray's origin
        -
        -
      • -
      - - - -
        -
      • -

        setDirection

        -
        public void setDirection(Vector3 direction)
        -
        Set the direction of the ray. The direction will automatically be normalized.
        -
        -
        Parameters:
        -
        direction - the new direction of the ray
        -
        -
      • -
      - - - -
        -
      • -

        getDirection

        -
        public Vector3 getDirection()
        -
        Get the direction of the ray.
        -
        -
        Returns:
        -
        a new vector that represents the ray's direction
        -
        -
      • -
      - - - -
        -
      • -

        getPoint

        -
        public Vector3 getPoint(float distance)
        -
        Get a point at a distance along the ray.
        -
        -
        Parameters:
        -
        distance - distance along the ray of the point
        -
        Returns:
        -
        a new vector that represents a point at a distance along the ray.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/RayHit.html b/docs/javadoc/com/google/ar/sceneform/collision/RayHit.html deleted file mode 100644 index 9b4ffc39..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/RayHit.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - -RayHit (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class RayHit

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.collision.RayHit
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    HitTestResult
    -
    -
    -
    -
    public class RayHit
    -extends java.lang.Object
    -
    Stores the results of ray intersection tests against various types of CollisionShape.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      RayHit() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      floatgetDistance() -
      Get the distance along the ray to the impact point on the surface of the collision shape.
      -
      Vector3getPoint() -
      Get the position in world-space where the ray hit the collision shape.
      -
      voidreset() 
      voidset(RayHit other) 
      voidsetDistance(float distance) 
      voidsetPoint(Vector3 point) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RayHit

        -
        public RayHit()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setDistance

        -
        public void setDistance(float distance)
        -
      • -
      - - - -
        -
      • -

        getDistance

        -
        public float getDistance()
        -
        Get the distance along the ray to the impact point on the surface of the collision shape.
        -
        -
        Returns:
        -
        distance along the ray that the hit occurred at
        -
        -
      • -
      - - - -
        -
      • -

        setPoint

        -
        public void setPoint(Vector3 point)
        -
      • -
      - - - -
        -
      • -

        getPoint

        -
        public Vector3 getPoint()
        -
        Get the position in world-space where the ray hit the collision shape.
        -
        -
        Returns:
        -
        a new vector that represents the position in world-space that the hit occurred at
        -
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(RayHit other)
        -
      • -
      - - - -
        -
      • -

        reset

        -
        public void reset()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/Sphere.html b/docs/javadoc/com/google/ar/sceneform/collision/Sphere.html deleted file mode 100644 index d40adf2d..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/Sphere.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - -Sphere (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.collision
-

Class Sphere

-
-
- -
-
    -
  • -
    -
    -
    public class Sphere
    -extends CollisionShape
    -
    Mathematical representation of a sphere. Used to perform intersection and collision tests against - spheres.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      Sphere() -
      Create a sphere with a center of (0,0,0) and a radius of 1.
      -
      Sphere(float radius) -
      Create a sphere with a center of (0,0,0) and a specified radius.
      -
      Sphere(float radius, - Vector3 center) -
      Create a sphere with a specified center and radius.
      -
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Sphere

        -
        public Sphere()
        -
        Create a sphere with a center of (0,0,0) and a radius of 1.
        -
      • -
      - - - -
        -
      • -

        Sphere

        -
        public Sphere(float radius)
        -
        Create a sphere with a center of (0,0,0) and a specified radius.
        -
        -
        Parameters:
        -
        radius - the radius of the sphere
        -
        -
      • -
      - - - -
        -
      • -

        Sphere

        -
        public Sphere(float radius,
        -              Vector3 center)
        -
        Create a sphere with a specified center and radius.
        -
        -
        Parameters:
        -
        radius - the radius of the sphere
        -
        center - the center of the sphere
        -
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/package-frame.html b/docs/javadoc/com/google/ar/sceneform/collision/package-frame.html deleted file mode 100644 index f2c502d0..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -com.google.ar.sceneform.collision (core API) - - - - -

com.google.ar.sceneform.collision

- - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/package-summary.html b/docs/javadoc/com/google/ar/sceneform/collision/package-summary.html deleted file mode 100644 index 5c2d2d19..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/package-summary.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -com.google.ar.sceneform.collision (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.collision

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Box -
    Mathematical representation of a box.
    -
    Collider -
    Represents the collision information associated with a transformation that can be attached to the - collision system.
    -
    CollisionShape -
    Base class for all types of shapes that collision checks can be performed against.
    -
    CollisionSystem -
    Manages all of the colliders within a scene.
    -
    Plane -
    Mathematical representation of a plane with an infinite size.
    -
    Ray -
    Mathematical representation of a ray.
    -
    RayHit -
    Stores the results of ray intersection tests against various types of CollisionShape.
    -
    Sphere -
    Mathematical representation of a sphere.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/collision/package-tree.html b/docs/javadoc/com/google/ar/sceneform/collision/package-tree.html deleted file mode 100644 index ebd3be86..00000000 --- a/docs/javadoc/com/google/ar/sceneform/collision/package-tree.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -com.google.ar.sceneform.collision Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.collision

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.google.ar.sceneform.collision.Collider
    • -
    • com.google.ar.sceneform.collision.CollisionShape -
        -
      • com.google.ar.sceneform.collision.Box
      • -
      • com.google.ar.sceneform.collision.Sphere
      • -
      -
    • -
    • com.google.ar.sceneform.collision.CollisionSystem
    • -
    • com.google.ar.sceneform.collision.Plane
    • -
    • com.google.ar.sceneform.collision.Ray
    • -
    • com.google.ar.sceneform.collision.RayHit
    • -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/common/package-frame.html b/docs/javadoc/com/google/ar/sceneform/common/package-frame.html deleted file mode 100644 index 9c2702d5..00000000 --- a/docs/javadoc/com/google/ar/sceneform/common/package-frame.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -com.google.ar.sceneform.common (core API) - - - - -

com.google.ar.sceneform.common

-
-

Interfaces

- -
- - diff --git a/docs/javadoc/com/google/ar/sceneform/common/package-summary.html b/docs/javadoc/com/google/ar/sceneform/common/package-summary.html deleted file mode 100644 index 37c30f26..00000000 --- a/docs/javadoc/com/google/ar/sceneform/common/package-summary.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -com.google.ar.sceneform.common (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.common

-
-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    TransformProvider -
    Interface for providing information about a 3D transformation.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/common/package-tree.html b/docs/javadoc/com/google/ar/sceneform/common/package-tree.html deleted file mode 100644 index 7ccdebca..00000000 --- a/docs/javadoc/com/google/ar/sceneform/common/package-tree.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - -com.google.ar.sceneform.common Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.common

-Package Hierarchies: - -
-
-

Interface Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/AabbDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/AabbDef.html deleted file mode 100644 index 5c166122..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/AabbDef.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - -AabbDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class AabbDef

-
-
- -
-
    -
  • -
    -
    -
    public final class AabbDef
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      AabbDef() 
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AabbDef

        -
        public AabbDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public AabbDef __assign(int _i,
        -                        java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        min

        -
        public Vec3 min()
        -
      • -
      - - - -
        -
      • -

        min

        -
        public Vec3 min(Vec3 obj)
        -
      • -
      - - - -
        -
      • -

        max

        -
        public Vec3 max()
        -
      • -
      - - - -
        -
      • -

        max

        -
        public Vec3 max(Vec3 obj)
        -
      • -
      - - - -
        -
      • -

        createAabbDef

        -
        public static int createAabbDef(FlatBufferBuilder builder,
        -                                float min_x,
        -                                float min_y,
        -                                float min_z,
        -                                float max_x,
        -                                float max_y,
        -                                float max_z)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ArcDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ArcDef.html deleted file mode 100644 index e965544a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ArcDef.html +++ /dev/null @@ -1,417 +0,0 @@ - - - - - -ArcDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ArcDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ArcDef
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ArcDef() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      ArcDef__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      floatangleSize() -
      Size of the arc measured in radians.
      -
      static intcreateArcDef(FlatBufferBuilder builder, - float startAngle, - float angleSize, - float innerRadius, - float outerRadius, - int numSamples) 
      floatinnerRadius() -
      Inner radius of the arc.
      -
      intnumSamples() -
      Number of samples used for drawing the arc.
      -
      floatouterRadius() -
      Outer radius of the arc.
      -
      floatstartAngle() -
      The angle (in radians) in which the start of the arc should be poised at. - 0 = vertical [0,1].
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ArcDef

        -
        public ArcDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public ArcDef __assign(int _i,
        -                       java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        startAngle

        -
        public float startAngle()
        -
        The angle (in radians) in which the start of the arc should be poised at. - 0 = vertical [0,1]. PI = [0,-1], PI/2 = [1,0].
        -
      • -
      - - - -
        -
      • -

        angleSize

        -
        public float angleSize()
        -
        Size of the arc measured in radians. PI = half circle, 2 PI = full circle.
        -
      • -
      - - - -
        -
      • -

        innerRadius

        -
        public float innerRadius()
        -
        Inner radius of the arc.
        -
      • -
      - - - -
        -
      • -

        outerRadius

        -
        public float outerRadius()
        -
        Outer radius of the arc.
        -
      • -
      - - - -
        -
      • -

        numSamples

        -
        public int numSamples()
        -
        Number of samples used for drawing the arc.
        -
      • -
      - - - -
        -
      • -

        createArcDef

        -
        public static int createArcDef(FlatBufferBuilder builder,
        -                               float startAngle,
        -                               float angleSize,
        -                               float innerRadius,
        -                               float outerRadius,
        -                               int numSamples)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/AxisSystem.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/AxisSystem.html deleted file mode 100644 index 224a3baf..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/AxisSystem.html +++ /dev/null @@ -1,697 +0,0 @@ - - - - - -AxisSystem (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class AxisSystem

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.AxisSystem
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class AxisSystem
    -extends java.lang.Object
    -
    List of different ways to interpret the orientation axis of an asset when - importing it.
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/BlendShape.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/BlendShape.html deleted file mode 100644 index dcc4d12b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/BlendShape.html +++ /dev/null @@ -1,1057 +0,0 @@ - - - - - -BlendShape (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class BlendShape

-
-
- -
-
    -
  • -
    -
    -
    public final class BlendShape
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BlendShape

        -
        public BlendShape()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsBlendShape

        -
        public static BlendShape getRootAsBlendShape(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsBlendShape

        -
        public static BlendShape getRootAsBlendShape(java.nio.ByteBuffer _bb,
        -                                             BlendShape obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public BlendShape __assign(int _i,
        -                           java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        name

        -
        public long name()
        -
        The name of this blend shape.
        -
      • -
      - - - -
        -
      • -

        vertexData

        -
        public int vertexData(int j)
        -
        Contents vertex data of mesh vertices but with positions and normals - adjusted to match this blend shape. Store only those vertices that differ - from mesh vertices in attributes beyond Tangent.
        -
      • -
      - - - -
        -
      • -

        vertexDataLength

        -
        public int vertexDataLength()
        -
      • -
      - - - -
        -
      • -

        vertexDataAsByteBuffer

        -
        public java.nio.ByteBuffer vertexDataAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        vertexDataInByteBuffer

        -
        public java.nio.ByteBuffer vertexDataInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        vertexIndices32

        -
        public long vertexIndices32(int j)
        -
        Indices of fully stored vertices. Will either be an array of 16-bit or - 32-bit values.
        -
      • -
      - - - -
        -
      • -

        vertexIndices32Length

        -
        public int vertexIndices32Length()
        -
      • -
      - - - -
        -
      • -

        vertexIndices32AsByteBuffer

        -
        public java.nio.ByteBuffer vertexIndices32AsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        vertexIndices32InByteBuffer

        -
        public java.nio.ByteBuffer vertexIndices32InByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        vertexIndices16

        -
        public int vertexIndices16(int j)
        -
      • -
      - - - -
        -
      • -

        vertexIndices16Length

        -
        public int vertexIndices16Length()
        -
      • -
      - - - -
        -
      • -

        vertexIndices16AsByteBuffer

        -
        public java.nio.ByteBuffer vertexIndices16AsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        vertexIndices16InByteBuffer

        -
        public java.nio.ByteBuffer vertexIndices16InByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        tangentData

        -
        public int tangentData(int j)
        -
        Contains Tangent data that is necessary to restore original values of - blend shape vertices that differ from correspondent mesh vertices in - Tangent attribute only OR indentical ones.
        -
      • -
      - - - -
        -
      • -

        tangentDataLength

        -
        public int tangentDataLength()
        -
      • -
      - - - -
        -
      • -

        tangentDataAsByteBuffer

        -
        public java.nio.ByteBuffer tangentDataAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        tangentDataInByteBuffer

        -
        public java.nio.ByteBuffer tangentDataInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        tangentIndices32

        -
        public long tangentIndices32(int j)
        -
        Indices of vertices that differ in Tangent OR indentical ones. Will either - be an array of 16-bit or 32-bit values.
        -
      • -
      - - - -
        -
      • -

        tangentIndices32Length

        -
        public int tangentIndices32Length()
        -
      • -
      - - - -
        -
      • -

        tangentIndices32AsByteBuffer

        -
        public java.nio.ByteBuffer tangentIndices32AsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        tangentIndices32InByteBuffer

        -
        public java.nio.ByteBuffer tangentIndices32InByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        tangentIndices16

        -
        public int tangentIndices16(int j)
        -
      • -
      - - - -
        -
      • -

        tangentIndices16Length

        -
        public int tangentIndices16Length()
        -
      • -
      - - - -
        -
      • -

        tangentIndices16AsByteBuffer

        -
        public java.nio.ByteBuffer tangentIndices16AsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        tangentIndices16InByteBuffer

        -
        public java.nio.ByteBuffer tangentIndices16InByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createBlendShape

        -
        public static int createBlendShape(FlatBufferBuilder builder,
        -                                   long name,
        -                                   int vertex_dataOffset,
        -                                   int vertex_indices32Offset,
        -                                   int vertex_indices16Offset,
        -                                   int tangent_dataOffset,
        -                                   int tangent_indices32Offset,
        -                                   int tangent_indices16Offset)
        -
      • -
      - - - -
        -
      • -

        startBlendShape

        -
        public static void startBlendShape(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addName

        -
        public static void addName(FlatBufferBuilder builder,
        -                           long name)
        -
      • -
      - - - -
        -
      • -

        addVertexData

        -
        public static void addVertexData(FlatBufferBuilder builder,
        -                                 int vertexDataOffset)
        -
      • -
      - - - -
        -
      • -

        createVertexDataVector

        -
        public static int createVertexDataVector(FlatBufferBuilder builder,
        -                                         byte[] data)
        -
      • -
      - - - -
        -
      • -

        createVertexDataVector

        -
        public static int createVertexDataVector(FlatBufferBuilder builder,
        -                                         java.nio.ByteBuffer data)
        -
      • -
      - - - -
        -
      • -

        startVertexDataVector

        -
        public static void startVertexDataVector(FlatBufferBuilder builder,
        -                                         int numElems)
        -
      • -
      - - - -
        -
      • -

        addVertexIndices32

        -
        public static void addVertexIndices32(FlatBufferBuilder builder,
        -                                      int vertexIndices32Offset)
        -
      • -
      - - - -
        -
      • -

        createVertexIndices32Vector

        -
        public static int createVertexIndices32Vector(FlatBufferBuilder builder,
        -                                              int[] data)
        -
      • -
      - - - -
        -
      • -

        startVertexIndices32Vector

        -
        public static void startVertexIndices32Vector(FlatBufferBuilder builder,
        -                                              int numElems)
        -
      • -
      - - - -
        -
      • -

        addVertexIndices16

        -
        public static void addVertexIndices16(FlatBufferBuilder builder,
        -                                      int vertexIndices16Offset)
        -
      • -
      - - - -
        -
      • -

        createVertexIndices16Vector

        -
        public static int createVertexIndices16Vector(FlatBufferBuilder builder,
        -                                              short[] data)
        -
      • -
      - - - -
        -
      • -

        startVertexIndices16Vector

        -
        public static void startVertexIndices16Vector(FlatBufferBuilder builder,
        -                                              int numElems)
        -
      • -
      - - - -
        -
      • -

        addTangentData

        -
        public static void addTangentData(FlatBufferBuilder builder,
        -                                  int tangentDataOffset)
        -
      • -
      - - - -
        -
      • -

        createTangentDataVector

        -
        public static int createTangentDataVector(FlatBufferBuilder builder,
        -                                          byte[] data)
        -
      • -
      - - - -
        -
      • -

        createTangentDataVector

        -
        public static int createTangentDataVector(FlatBufferBuilder builder,
        -                                          java.nio.ByteBuffer data)
        -
      • -
      - - - -
        -
      • -

        startTangentDataVector

        -
        public static void startTangentDataVector(FlatBufferBuilder builder,
        -                                          int numElems)
        -
      • -
      - - - -
        -
      • -

        addTangentIndices32

        -
        public static void addTangentIndices32(FlatBufferBuilder builder,
        -                                       int tangentIndices32Offset)
        -
      • -
      - - - -
        -
      • -

        createTangentIndices32Vector

        -
        public static int createTangentIndices32Vector(FlatBufferBuilder builder,
        -                                               int[] data)
        -
      • -
      - - - -
        -
      • -

        startTangentIndices32Vector

        -
        public static void startTangentIndices32Vector(FlatBufferBuilder builder,
        -                                               int numElems)
        -
      • -
      - - - -
        -
      • -

        addTangentIndices16

        -
        public static void addTangentIndices16(FlatBufferBuilder builder,
        -                                       int tangentIndices16Offset)
        -
      • -
      - - - -
        -
      • -

        createTangentIndices16Vector

        -
        public static int createTangentIndices16Vector(FlatBufferBuilder builder,
        -                                               short[] data)
        -
      • -
      - - - -
        -
      • -

        startTangentIndices16Vector

        -
        public static void startTangentIndices16Vector(FlatBufferBuilder builder,
        -                                               int numElems)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Color.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Color.html deleted file mode 100644 index 9f11ad12..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Color.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - -Color (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Color

-
-
- -
-
    -
  • -
    -
    -
    public final class Color
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Color() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Color__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      floata() 
      floatb() 
      static intcreateColor(FlatBufferBuilder builder, - float r, - float g, - float b, - float a) 
      floatg() 
      floatr() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Color

        -
        public Color()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Color __assign(int _i,
        -                      java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        r

        -
        public float r()
        -
      • -
      - - - -
        -
      • -

        g

        -
        public float g()
        -
      • -
      - - - -
        -
      • -

        b

        -
        public float b()
        -
      • -
      - - - -
        -
      • -

        a

        -
        public float a()
        -
      • -
      - - - -
        -
      • -

        createColor

        -
        public static int createColor(FlatBufferBuilder builder,
        -                              float r,
        -                              float g,
        -                              float b,
        -                              float a)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataBool.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataBool.html deleted file mode 100644 index c8bb5eb5..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataBool.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - -DataBool (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataBool

-
-
- -
-
    -
  • -
    -
    -
    public final class DataBool
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataBool

        -
        public DataBool()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataBool

        -
        public static DataBool getRootAsDataBool(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataBool

        -
        public static DataBool getRootAsDataBool(java.nio.ByteBuffer _bb,
        -                                         DataBool obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataBool __assign(int _i,
        -                         java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public boolean value()
        -
      • -
      - - - -
        -
      • -

        createDataBool

        -
        public static int createDataBool(FlatBufferBuilder builder,
        -                                 boolean value)
        -
      • -
      - - - -
        -
      • -

        startDataBool

        -
        public static void startDataBool(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            boolean value)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataBytes.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataBytes.html deleted file mode 100644 index 8460a0fe..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataBytes.html +++ /dev/null @@ -1,493 +0,0 @@ - - - - - -DataBytes (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataBytes

-
-
- -
-
    -
  • -
    -
    -
    public final class DataBytes
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataBytes

        -
        public DataBytes()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataBytes

        -
        public static DataBytes getRootAsDataBytes(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataBytes

        -
        public static DataBytes getRootAsDataBytes(java.nio.ByteBuffer _bb,
        -                                           DataBytes obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataBytes __assign(int _i,
        -                          java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public int value(int j)
        -
      • -
      - - - -
        -
      • -

        valueLength

        -
        public int valueLength()
        -
      • -
      - - - -
        -
      • -

        valueAsByteBuffer

        -
        public java.nio.ByteBuffer valueAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        valueInByteBuffer

        -
        public java.nio.ByteBuffer valueInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createDataBytes

        -
        public static int createDataBytes(FlatBufferBuilder builder,
        -                                  int valueOffset)
        -
      • -
      - - - -
        -
      • -

        startDataBytes

        -
        public static void startDataBytes(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - -
        -
      • -

        createValueVector

        -
        public static int createValueVector(FlatBufferBuilder builder,
        -                                    byte[] data)
        -
      • -
      - - - -
        -
      • -

        createValueVector

        -
        public static int createValueVector(FlatBufferBuilder builder,
        -                                    java.nio.ByteBuffer data)
        -
      • -
      - - - -
        -
      • -

        startValueVector

        -
        public static void startValueVector(FlatBufferBuilder builder,
        -                                    int numElems)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataFloat.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataFloat.html deleted file mode 100644 index 3cfe7c5e..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataFloat.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - -DataFloat (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataFloat

-
-
- -
-
    -
  • -
    -
    -
    public final class DataFloat
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataFloat

        -
        public DataFloat()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataFloat

        -
        public static DataFloat getRootAsDataFloat(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataFloat

        -
        public static DataFloat getRootAsDataFloat(java.nio.ByteBuffer _bb,
        -                                           DataFloat obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataFloat __assign(int _i,
        -                          java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public float value()
        -
      • -
      - - - -
        -
      • -

        createDataFloat

        -
        public static int createDataFloat(FlatBufferBuilder builder,
        -                                  float value)
        -
      • -
      - - - -
        -
      • -

        startDataFloat

        -
        public static void startDataFloat(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            float value)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataHashValue.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataHashValue.html deleted file mode 100644 index 260c98bf..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataHashValue.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - -DataHashValue (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataHashValue

-
-
- -
-
    -
  • -
    -
    -
    public final class DataHashValue
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataHashValue

        -
        public DataHashValue()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataHashValue

        -
        public static DataHashValue getRootAsDataHashValue(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataHashValue

        -
        public static DataHashValue getRootAsDataHashValue(java.nio.ByteBuffer _bb,
        -                                                   DataHashValue obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataHashValue __assign(int _i,
        -                              java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public long value()
        -
      • -
      - - - -
        -
      • -

        createDataHashValue

        -
        public static int createDataHashValue(FlatBufferBuilder builder,
        -                                      long value)
        -
      • -
      - - - -
        -
      • -

        startDataHashValue

        -
        public static void startDataHashValue(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            long value)
        -
      • -
      - - - -
        -
      • -

        endDataHashValue

        -
        public static int endDataHashValue(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataInt.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataInt.html deleted file mode 100644 index 99a4e8b3..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataInt.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - -DataInt (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataInt

-
-
- -
-
    -
  • -
    -
    -
    public final class DataInt
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataInt

        -
        public DataInt()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataInt

        -
        public static DataInt getRootAsDataInt(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataInt

        -
        public static DataInt getRootAsDataInt(java.nio.ByteBuffer _bb,
        -                                       DataInt obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataInt __assign(int _i,
        -                        java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public int value()
        -
      • -
      - - - -
        -
      • -

        createDataInt

        -
        public static int createDataInt(FlatBufferBuilder builder,
        -                                int value)
        -
      • -
      - - - - - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int value)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataQuat.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataQuat.html deleted file mode 100644 index 542f8d04..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataQuat.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - -DataQuat (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataQuat

-
-
- -
-
    -
  • -
    -
    -
    public final class DataQuat
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataQuat

        -
        public DataQuat()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataQuat

        -
        public static DataQuat getRootAsDataQuat(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataQuat

        -
        public static DataQuat getRootAsDataQuat(java.nio.ByteBuffer _bb,
        -                                         DataQuat obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataQuat __assign(int _i,
        -                         java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Quat value()
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Quat value(Quat obj)
        -
      • -
      - - - -
        -
      • -

        startDataQuat

        -
        public static void startDataQuat(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataString.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataString.html deleted file mode 100644 index 3c4b2e53..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataString.html +++ /dev/null @@ -1,435 +0,0 @@ - - - - - -DataString (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataString

-
-
- -
-
    -
  • -
    -
    -
    public final class DataString
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataString

        -
        public DataString()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataString

        -
        public static DataString getRootAsDataString(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataString

        -
        public static DataString getRootAsDataString(java.nio.ByteBuffer _bb,
        -                                             DataString obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataString __assign(int _i,
        -                           java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public java.lang.String value()
        -
      • -
      - - - -
        -
      • -

        valueAsByteBuffer

        -
        public java.nio.ByteBuffer valueAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        valueInByteBuffer

        -
        public java.nio.ByteBuffer valueInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createDataString

        -
        public static int createDataString(FlatBufferBuilder builder,
        -                                   int valueOffset)
        -
      • -
      - - - -
        -
      • -

        startDataString

        -
        public static void startDataString(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec2.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec2.html deleted file mode 100644 index ae40b74a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec2.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - -DataVec2 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataVec2

-
-
- -
-
    -
  • -
    -
    -
    public final class DataVec2
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataVec2

        -
        public DataVec2()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataVec2

        -
        public static DataVec2 getRootAsDataVec2(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataVec2

        -
        public static DataVec2 getRootAsDataVec2(java.nio.ByteBuffer _bb,
        -                                         DataVec2 obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataVec2 __assign(int _i,
        -                         java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Vec2 value()
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Vec2 value(Vec2 obj)
        -
      • -
      - - - -
        -
      • -

        startDataVec2

        -
        public static void startDataVec2(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec3.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec3.html deleted file mode 100644 index 473052df..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec3.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - -DataVec3 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataVec3

-
-
- -
-
    -
  • -
    -
    -
    public final class DataVec3
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataVec3

        -
        public DataVec3()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataVec3

        -
        public static DataVec3 getRootAsDataVec3(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataVec3

        -
        public static DataVec3 getRootAsDataVec3(java.nio.ByteBuffer _bb,
        -                                         DataVec3 obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataVec3 __assign(int _i,
        -                         java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Vec3 value()
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Vec3 value(Vec3 obj)
        -
      • -
      - - - -
        -
      • -

        startDataVec3

        -
        public static void startDataVec3(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec4.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec4.html deleted file mode 100644 index 0f9d0ed8..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DataVec4.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - -DataVec4 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DataVec4

-
-
- -
-
    -
  • -
    -
    -
    public final class DataVec4
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataVec4

        -
        public DataVec4()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsDataVec4

        -
        public static DataVec4 getRootAsDataVec4(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsDataVec4

        -
        public static DataVec4 getRootAsDataVec4(java.nio.ByteBuffer _bb,
        -                                         DataVec4 obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public DataVec4 __assign(int _i,
        -                         java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Vec4 value()
        -
      • -
      - - - -
        -
      • -

        value

        -
        public Vec4 value(Vec4 obj)
        -
      • -
      - - - -
        -
      • -

        startDataVec4

        -
        public static void startDataVec4(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/DeviceType.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/DeviceType.html deleted file mode 100644 index 546aa0de..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/DeviceType.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - -DeviceType (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class DeviceType

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.DeviceType
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class DeviceType
    -extends java.lang.Object
    -
    Potential Input Devices (matches enum in input_manager.h)
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intController 
      static intController2 
      static intHand 
      static intHmd 
      static intKeyboard 
      static intMouse 
      static java.lang.String[]names 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/KeyVariantPairDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/KeyVariantPairDef.html deleted file mode 100644 index 417812da..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/KeyVariantPairDef.html +++ /dev/null @@ -1,525 +0,0 @@ - - - - - -KeyVariantPairDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class KeyVariantPairDef

-
-
- -
-
    -
  • -
    -
    -
    public final class KeyVariantPairDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        KeyVariantPairDef

        -
        public KeyVariantPairDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsKeyVariantPairDef

        -
        public static KeyVariantPairDef getRootAsKeyVariantPairDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public KeyVariantPairDef __assign(int _i,
        -                                  java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        key

        -
        public java.lang.String key()
        -
      • -
      - - - -
        -
      • -

        keyAsByteBuffer

        -
        public java.nio.ByteBuffer keyAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        keyInByteBuffer

        -
        public java.nio.ByteBuffer keyInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        hashKey

        -
        public long hashKey()
        -
      • -
      - - - -
        -
      • -

        valueType

        -
        public byte valueType()
        -
      • -
      - - - - - - - -
        -
      • -

        createKeyVariantPairDef

        -
        public static int createKeyVariantPairDef(FlatBufferBuilder builder,
        -                                          int keyOffset,
        -                                          long hash_key,
        -                                          byte value_type,
        -                                          int valueOffset)
        -
      • -
      - - - -
        -
      • -

        startKeyVariantPairDef

        -
        public static void startKeyVariantPairDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addKey

        -
        public static void addKey(FlatBufferBuilder builder,
        -                          int keyOffset)
        -
      • -
      - - - -
        -
      • -

        addHashKey

        -
        public static void addHashKey(FlatBufferBuilder builder,
        -                              long hashKey)
        -
      • -
      - - - -
        -
      • -

        addValueType

        -
        public static void addValueType(FlatBufferBuilder builder,
        -                                byte valueType)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - -
        -
      • -

        endKeyVariantPairDef

        -
        public static int endKeyVariantPairDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutFillOrder.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutFillOrder.html deleted file mode 100644 index b5e9d860..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutFillOrder.html +++ /dev/null @@ -1,450 +0,0 @@ - - - - - -LayoutFillOrder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class LayoutFillOrder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.LayoutFillOrder
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class LayoutFillOrder
    -extends java.lang.Object
    -
    The directions a layout will grow in. - This controls the ordering of elements within wrapping rows, but not the - horizontal alignment of those rows as a whole (which is controlled by - LayoutHorizontalAlignment).
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intDownLeft -
      The first entity is added rightmost, and subsequent entities go down - (and then left if wrapping is enabled).
      -
      static intDownRight -
      The first entity is added leftmost, and subsequent entities go down - (and then right if wrapping is enabled).
      -
      static intLeftDown -
      The first entity is added rightmost, and subsequent entities go to the - left (and then down if wrapping is enabled).
      -
      static intLeftUp -
      The first entity is added rightmost, and subsequent entities go to the - left (and then up if wrapping is enabled).
      -
      static java.lang.String[]names 
      static intRightDown -
      The first entity is added leftmost, and subsequent entities go to the - right (and then down if wrapping is enabled).
      -
      static intRightUp -
      The first entity is added leftmost, and subsequent entities go to the - right (and then up if wrapping is enabled).
      -
      static intUpLeft -
      The first entity is added rightmost, and subsequent entities go up - (and then left if wrapping is enabled).
      -
      static intUpRight -
      The first entity is added leftmost, and subsequent entities go up - (and then right if wrapping is enabled).
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        RightDown

        -
        public static final int RightDown
        -
        The first entity is added leftmost, and subsequent entities go to the - right (and then down if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        LeftDown

        -
        public static final int LeftDown
        -
        The first entity is added rightmost, and subsequent entities go to the - left (and then down if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        DownRight

        -
        public static final int DownRight
        -
        The first entity is added leftmost, and subsequent entities go down - (and then right if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        DownLeft

        -
        public static final int DownLeft
        -
        The first entity is added rightmost, and subsequent entities go down - (and then left if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        RightUp

        -
        public static final int RightUp
        -
        The first entity is added leftmost, and subsequent entities go to the - right (and then up if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        LeftUp

        -
        public static final int LeftUp
        -
        The first entity is added rightmost, and subsequent entities go to the - left (and then up if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        UpRight

        -
        public static final int UpRight
        -
        The first entity is added leftmost, and subsequent entities go up - (and then right if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        UpLeft

        -
        public static final int UpLeft
        -
        The first entity is added rightmost, and subsequent entities go up - (and then left if wrapping is enabled).
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        names

        -
        public static final java.lang.String[] names
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public static java.lang.String name(int e)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutHorizontalAlignment.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutHorizontalAlignment.html deleted file mode 100644 index c2d82cca..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutHorizontalAlignment.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - -LayoutHorizontalAlignment (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class LayoutHorizontalAlignment

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.LayoutHorizontalAlignment
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class LayoutHorizontalAlignment
    -extends java.lang.Object
    -
    The anchor at which the entities will be aligned relative to the canvas.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intCenter -
      The layout will be centered horizontally on the canvas.
      -
      static intLeft -
      The left border of the leftmost element will align to the left side of the - canvas.
      -
      static java.lang.String[]names 
      static intRight -
      The right border of the rightmost element will align to the right side of - the canvas.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        Left

        -
        public static final int Left
        -
        The left border of the leftmost element will align to the left side of the - canvas.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        Center

        -
        public static final int Center
        -
        The layout will be centered horizontally on the canvas.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        Right

        -
        public static final int Right
        -
        The right border of the rightmost element will align to the right side of - the canvas.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        names

        -
        public static final java.lang.String[] names
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public static java.lang.String name(int e)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutVerticalAlignment.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutVerticalAlignment.html deleted file mode 100644 index faba2399..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/LayoutVerticalAlignment.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - -LayoutVerticalAlignment (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class LayoutVerticalAlignment

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.LayoutVerticalAlignment
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class LayoutVerticalAlignment
    -extends java.lang.Object
    -
    The anchor at which the entities will be aligned *within* each row. - Note that rows collectively are still top aligned relative to the canvas. - To center align within the canvas, add a placeholder child entity with the - same height as the canvas.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intBottom -
      Each entity will align to the bottom of its row.
      -
      static intCenter -
      Each entity will be centered within its row.
      -
      static java.lang.String[]names 
      static intTop -
      Each entity will align to the top of its row in the layout.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        Top

        -
        public static final int Top
        -
        Each entity will align to the top of its row in the layout.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        Center

        -
        public static final int Center
        -
        Each entity will be centered within its row.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        Bottom

        -
        public static final int Bottom
        -
        Each entity will align to the bottom of its row.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        names

        -
        public static final java.lang.String[] names
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public static java.lang.String name(int e)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Mat4x3.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Mat4x3.html deleted file mode 100644 index dd707ca0..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Mat4x3.html +++ /dev/null @@ -1,427 +0,0 @@ - - - - - -Mat4x3 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Mat4x3

-
-
- -
-
    -
  • -
    -
    -
    public final class Mat4x3
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Mat4x3() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Mat4x3__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      Vec4c0() 
      Vec4c0(Vec4 obj) 
      Vec4c1() 
      Vec4c1(Vec4 obj) 
      Vec4c2() 
      Vec4c2(Vec4 obj) 
      static intcreateMat4x3(FlatBufferBuilder builder, - float c0_x, - float c0_y, - float c0_z, - float c0_w, - float c1_x, - float c1_y, - float c1_z, - float c1_w, - float c2_x, - float c2_y, - float c2_z, - float c2_w) 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Mat4x3

        -
        public Mat4x3()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Mat4x3 __assign(int _i,
        -                       java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        c0

        -
        public Vec4 c0()
        -
      • -
      - - - - - - - -
        -
      • -

        c1

        -
        public Vec4 c1()
        -
      • -
      - - - - - - - -
        -
      • -

        c2

        -
        public Vec4 c2()
        -
      • -
      - - - - - - - -
        -
      • -

        createMat4x3

        -
        public static int createMat4x3(FlatBufferBuilder builder,
        -                               float c0_x,
        -                               float c0_y,
        -                               float c0_z,
        -                               float c0_w,
        -                               float c1_x,
        -                               float c1_y,
        -                               float c1_z,
        -                               float c1_w,
        -                               float c2_x,
        -                               float c2_y,
        -                               float c2_z,
        -                               float c2_w)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialDef.html deleted file mode 100644 index 8bf73a12..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialDef.html +++ /dev/null @@ -1,577 +0,0 @@ - - - - - -MaterialDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class MaterialDef

-
-
- -
-
    -
  • -
    -
    -
    public final class MaterialDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MaterialDef

        -
        public MaterialDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsMaterialDef

        -
        public static MaterialDef getRootAsMaterialDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsMaterialDef

        -
        public static MaterialDef getRootAsMaterialDef(java.nio.ByteBuffer _bb,
        -                                               MaterialDef obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public MaterialDef __assign(int _i,
        -                            java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        name

        -
        public java.lang.String name()
        -
        The name of the material.
        -
      • -
      - - - -
        -
      • -

        nameAsByteBuffer

        -
        public java.nio.ByteBuffer nameAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        nameInByteBuffer

        -
        public java.nio.ByteBuffer nameInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        properties

        -
        public VariantMapDef properties()
        -
        A dictionary of all material properties extracted from the source file. - These properties are interpretted by the RenderSystem to create the - appropriate Material.
        -
      • -
      - - - - - - - -
        -
      • -

        textures

        -
        public MaterialTextureDef textures(int j)
        -
        The list of textures associated with the Material.
        -
      • -
      - - - - - - - -
        -
      • -

        texturesLength

        -
        public int texturesLength()
        -
      • -
      - - - -
        -
      • -

        createMaterialDef

        -
        public static int createMaterialDef(FlatBufferBuilder builder,
        -                                    int nameOffset,
        -                                    int propertiesOffset,
        -                                    int texturesOffset)
        -
      • -
      - - - -
        -
      • -

        startMaterialDef

        -
        public static void startMaterialDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addName

        -
        public static void addName(FlatBufferBuilder builder,
        -                           int nameOffset)
        -
      • -
      - - - -
        -
      • -

        addProperties

        -
        public static void addProperties(FlatBufferBuilder builder,
        -                                 int propertiesOffset)
        -
      • -
      - - - -
        -
      • -

        addTextures

        -
        public static void addTextures(FlatBufferBuilder builder,
        -                               int texturesOffset)
        -
      • -
      - - - -
        -
      • -

        createTexturesVector

        -
        public static int createTexturesVector(FlatBufferBuilder builder,
        -                                       int[] data)
        -
      • -
      - - - -
        -
      • -

        startTexturesVector

        -
        public static void startTexturesVector(FlatBufferBuilder builder,
        -                                       int numElems)
        -
      • -
      - - - -
        -
      • -

        endMaterialDef

        -
        public static int endMaterialDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialTextureDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialTextureDef.html deleted file mode 100644 index 9d747f27..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialTextureDef.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - -MaterialTextureDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class MaterialTextureDef

-
-
- -
-
    -
  • -
    -
    -
    public final class MaterialTextureDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MaterialTextureDef

        -
        public MaterialTextureDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsMaterialTextureDef

        -
        public static MaterialTextureDef getRootAsMaterialTextureDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public MaterialTextureDef __assign(int _i,
        -                                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        name

        -
        public java.lang.String name()
        -
      • -
      - - - -
        -
      • -

        nameAsByteBuffer

        -
        public java.nio.ByteBuffer nameAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        nameInByteBuffer

        -
        public java.nio.ByteBuffer nameInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        usage

        -
        public int usage()
        -
      • -
      - - - -
        -
      • -

        usagePerChannel

        -
        public int usagePerChannel(int j)
        -
        For textures with multiple usages, this array describes the usage of each - channel.
        -
      • -
      - - - -
        -
      • -

        usagePerChannelLength

        -
        public int usagePerChannelLength()
        -
      • -
      - - - -
        -
      • -

        usagePerChannelAsByteBuffer

        -
        public java.nio.ByteBuffer usagePerChannelAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        usagePerChannelInByteBuffer

        -
        public java.nio.ByteBuffer usagePerChannelInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createMaterialTextureDef

        -
        public static int createMaterialTextureDef(FlatBufferBuilder builder,
        -                                           int nameOffset,
        -                                           int usage,
        -                                           int usage_per_channelOffset)
        -
      • -
      - - - -
        -
      • -

        startMaterialTextureDef

        -
        public static void startMaterialTextureDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addName

        -
        public static void addName(FlatBufferBuilder builder,
        -                           int nameOffset)
        -
      • -
      - - - -
        -
      • -

        addUsage

        -
        public static void addUsage(FlatBufferBuilder builder,
        -                            int usage)
        -
      • -
      - - - -
        -
      • -

        addUsagePerChannel

        -
        public static void addUsagePerChannel(FlatBufferBuilder builder,
        -                                      int usagePerChannelOffset)
        -
      • -
      - - - -
        -
      • -

        createUsagePerChannelVector

        -
        public static int createUsagePerChannelVector(FlatBufferBuilder builder,
        -                                              int[] data)
        -
      • -
      - - - -
        -
      • -

        startUsagePerChannelVector

        -
        public static void startUsagePerChannelVector(FlatBufferBuilder builder,
        -                                              int numElems)
        -
      • -
      - - - -
        -
      • -

        endMaterialTextureDef

        -
        public static int endMaterialTextureDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialTextureUsage.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialTextureUsage.html deleted file mode 100644 index 30baa431..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/MaterialTextureUsage.html +++ /dev/null @@ -1,563 +0,0 @@ - - - - - -MaterialTextureUsage (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class MaterialTextureUsage

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.MaterialTextureUsage
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class MaterialTextureUsage
    -extends java.lang.Object
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelDef.html deleted file mode 100644 index c843f99b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelDef.html +++ /dev/null @@ -1,695 +0,0 @@ - - - - - -ModelDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelDef

        -
        public ModelDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsModelDef

        -
        public static ModelDef getRootAsModelDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsModelDef

        -
        public static ModelDef getRootAsModelDef(java.nio.ByteBuffer _bb,
        -                                         ModelDef obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public ModelDef __assign(int _i,
        -                         java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        version

        -
        public int version()
        -
        Version number to help decide how to interpret the flatbuffer data.
        -
      • -
      - - - -
        -
      • -

        lods

        -
        public ModelInstanceDef lods(int j)
        -
        Model data for different LODs.
        -
      • -
      - - - - - - - -
        -
      • -

        lodsLength

        -
        public int lodsLength()
        -
      • -
      - - - -
        -
      • -

        skeleton

        -
        public SkeletonDef skeleton()
        -
        The skeletal information used by the RigSystem to support skinned - animations.
        -
      • -
      - - - - - - - -
        -
      • -

        boundingBox

        -
        public AabbDef boundingBox()
        -
        The minimum and maximum bounds contained in the vertex data.
        -
      • -
      - - - - - - - -
        -
      • -

        textures

        -
        public TextureDef textures(int j)
        -
        A collection of embedded textures associated with this model.
        -
      • -
      - - - - - - - -
        -
      • -

        texturesLength

        -
        public int texturesLength()
        -
      • -
      - - - -
        -
      • -

        startModelDef

        -
        public static void startModelDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addVersion

        -
        public static void addVersion(FlatBufferBuilder builder,
        -                              int version)
        -
      • -
      - - - -
        -
      • -

        addLods

        -
        public static void addLods(FlatBufferBuilder builder,
        -                           int lodsOffset)
        -
      • -
      - - - -
        -
      • -

        createLodsVector

        -
        public static int createLodsVector(FlatBufferBuilder builder,
        -                                   int[] data)
        -
      • -
      - - - -
        -
      • -

        startLodsVector

        -
        public static void startLodsVector(FlatBufferBuilder builder,
        -                                   int numElems)
        -
      • -
      - - - -
        -
      • -

        addSkeleton

        -
        public static void addSkeleton(FlatBufferBuilder builder,
        -                               int skeletonOffset)
        -
      • -
      - - - -
        -
      • -

        addBoundingBox

        -
        public static void addBoundingBox(FlatBufferBuilder builder,
        -                                  int boundingBoxOffset)
        -
      • -
      - - - -
        -
      • -

        addTextures

        -
        public static void addTextures(FlatBufferBuilder builder,
        -                               int texturesOffset)
        -
      • -
      - - - -
        -
      • -

        createTexturesVector

        -
        public static int createTexturesVector(FlatBufferBuilder builder,
        -                                       int[] data)
        -
      • -
      - - - -
        -
      • -

        startTexturesVector

        -
        public static void startTexturesVector(FlatBufferBuilder builder,
        -                                       int numElems)
        -
      • -
      - - - - - - - -
        -
      • -

        finishModelDefBuffer

        -
        public static void finishModelDefBuffer(FlatBufferBuilder builder,
        -                                        int offset)
        -
      • -
      - - - -
        -
      • -

        finishSizePrefixedModelDefBuffer

        -
        public static void finishSizePrefixedModelDefBuffer(FlatBufferBuilder builder,
        -                                                    int offset)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelIndexRange.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelIndexRange.html deleted file mode 100644 index 1f6f5f51..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelIndexRange.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -ModelIndexRange (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelIndexRange

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelIndexRange
    -extends Struct
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelIndexRange

        -
        public ModelIndexRange()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public ModelIndexRange __assign(int _i,
        -                                java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        start

        -
        public long start()
        -
      • -
      - - - -
        -
      • -

        end

        -
        public long end()
        -
      • -
      - - - -
        -
      • -

        createModelIndexRange

        -
        public static int createModelIndexRange(FlatBufferBuilder builder,
        -                                        long start,
        -                                        long end)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelInstanceDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelInstanceDef.html deleted file mode 100644 index db9d498d..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelInstanceDef.html +++ /dev/null @@ -1,1384 +0,0 @@ - - - - - -ModelInstanceDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelInstanceDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelInstanceDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelInstanceDef

        -
        public ModelInstanceDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsModelInstanceDef

        -
        public static ModelInstanceDef getRootAsModelInstanceDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public ModelInstanceDef __assign(int _i,
        -                                 java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        vertexData

        -
        public int vertexData(int j)
        -
        The "raw" vertex data stored as a byte array.
        -
      • -
      - - - -
        -
      • -

        vertexDataLength

        -
        public int vertexDataLength()
        -
      • -
      - - - -
        -
      • -

        vertexDataAsByteBuffer

        -
        public java.nio.ByteBuffer vertexDataAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        vertexDataInByteBuffer

        -
        public java.nio.ByteBuffer vertexDataInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        indices16

        -
        public int indices16(int j)
        -
        Indices into the vertex data. Will either be an array of 16-bit or 32-bit - values.
        -
      • -
      - - - -
        -
      • -

        indices16Length

        -
        public int indices16Length()
        -
      • -
      - - - -
        -
      • -

        indices16AsByteBuffer

        -
        public java.nio.ByteBuffer indices16AsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        indices16InByteBuffer

        -
        public java.nio.ByteBuffer indices16InByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        indices32

        -
        public long indices32(int j)
        -
      • -
      - - - -
        -
      • -

        indices32Length

        -
        public int indices32Length()
        -
      • -
      - - - -
        -
      • -

        indices32AsByteBuffer

        -
        public java.nio.ByteBuffer indices32AsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        indices32InByteBuffer

        -
        public java.nio.ByteBuffer indices32InByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        ranges

        -
        public ModelIndexRange ranges(int j)
        -
        The range of indices for each submesh.
        -
      • -
      - - - - - - - -
        -
      • -

        rangesLength

        -
        public int rangesLength()
        -
      • -
      - - - -
        -
      • -

        materials

        -
        public MaterialDef materials(int j)
        -
        The material describing the "look" of each submesh.
        -
      • -
      - - - - - - - -
        -
      • -

        materialsLength

        -
        public int materialsLength()
        -
      • -
      - - - -
        -
      • -

        vertexAttributes

        -
        public VertexAttribute vertexAttributes(int j)
        -
        Describes the structure of the vertex data, effectively the VertexFormat.
        -
      • -
      - - - - - - - -
        -
      • -

        vertexAttributesLength

        -
        public int vertexAttributesLength()
        -
      • -
      - - - -
        -
      • -

        numVertices

        -
        public long numVertices()
        -
        The total number of vertices stored in the vertex data.
        -
      • -
      - - - -
        -
      • -

        interleaved

        -
        public boolean interleaved()
        -
        Whether or not the attributes in the vertex data are interleaved.
        -
      • -
      - - - -
        -
      • -

        shaderToMeshBones

        -
        public int shaderToMeshBones(int j)
        -
        Maps the skeleton bone index to the shader bone index. The shader bones - are only the bones that have at least one vertex weighted to them and, as - such, are a subset of all the bones in the skeleton.
        -
      • -
      - - - -
        -
      • -

        shaderToMeshBonesLength

        -
        public int shaderToMeshBonesLength()
        -
      • -
      - - - -
        -
      • -

        shaderToMeshBonesAsByteBuffer

        -
        public java.nio.ByteBuffer shaderToMeshBonesAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        shaderToMeshBonesInByteBuffer

        -
        public java.nio.ByteBuffer shaderToMeshBonesInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        blendShapes

        -
        public BlendShape blendShapes(int j)
        -
        A collection of blendshapes, if they exist.
        -
      • -
      - - - - - - - -
        -
      • -

        blendShapesLength

        -
        public int blendShapesLength()
        -
      • -
      - - - -
        -
      • -

        blendAttributes

        -
        public VertexAttribute blendAttributes(int j)
        -
        Describes the structure of the vertex data for the blend shapes.
        -
      • -
      - - - - - - - -
        -
      • -

        blendAttributesLength

        -
        public int blendAttributesLength()
        -
      • -
      - - - -
        -
      • -

        aabbs

        -
        public SubmeshAabb aabbs(int j)
        -
        A bounding Aabb for each submesh.
        -
      • -
      - - - - - - - -
        -
      • -

        aabbsLength

        -
        public int aabbsLength()
        -
      • -
      - - - -
        -
      • -

        createModelInstanceDef

        -
        public static int createModelInstanceDef(FlatBufferBuilder builder,
        -                                         int vertex_dataOffset,
        -                                         int indices16Offset,
        -                                         int indices32Offset,
        -                                         int rangesOffset,
        -                                         int materialsOffset,
        -                                         int vertex_attributesOffset,
        -                                         long num_vertices,
        -                                         boolean interleaved,
        -                                         int shader_to_mesh_bonesOffset,
        -                                         int blend_shapesOffset,
        -                                         int blend_attributesOffset,
        -                                         int aabbsOffset)
        -
      • -
      - - - -
        -
      • -

        startModelInstanceDef

        -
        public static void startModelInstanceDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addVertexData

        -
        public static void addVertexData(FlatBufferBuilder builder,
        -                                 int vertexDataOffset)
        -
      • -
      - - - -
        -
      • -

        createVertexDataVector

        -
        public static int createVertexDataVector(FlatBufferBuilder builder,
        -                                         byte[] data)
        -
      • -
      - - - -
        -
      • -

        createVertexDataVector

        -
        public static int createVertexDataVector(FlatBufferBuilder builder,
        -                                         java.nio.ByteBuffer data)
        -
      • -
      - - - -
        -
      • -

        startVertexDataVector

        -
        public static void startVertexDataVector(FlatBufferBuilder builder,
        -                                         int numElems)
        -
      • -
      - - - -
        -
      • -

        addIndices16

        -
        public static void addIndices16(FlatBufferBuilder builder,
        -                                int indices16Offset)
        -
      • -
      - - - -
        -
      • -

        createIndices16Vector

        -
        public static int createIndices16Vector(FlatBufferBuilder builder,
        -                                        short[] data)
        -
      • -
      - - - -
        -
      • -

        startIndices16Vector

        -
        public static void startIndices16Vector(FlatBufferBuilder builder,
        -                                        int numElems)
        -
      • -
      - - - -
        -
      • -

        addIndices32

        -
        public static void addIndices32(FlatBufferBuilder builder,
        -                                int indices32Offset)
        -
      • -
      - - - -
        -
      • -

        createIndices32Vector

        -
        public static int createIndices32Vector(FlatBufferBuilder builder,
        -                                        int[] data)
        -
      • -
      - - - -
        -
      • -

        startIndices32Vector

        -
        public static void startIndices32Vector(FlatBufferBuilder builder,
        -                                        int numElems)
        -
      • -
      - - - -
        -
      • -

        addRanges

        -
        public static void addRanges(FlatBufferBuilder builder,
        -                             int rangesOffset)
        -
      • -
      - - - -
        -
      • -

        startRangesVector

        -
        public static void startRangesVector(FlatBufferBuilder builder,
        -                                     int numElems)
        -
      • -
      - - - -
        -
      • -

        addMaterials

        -
        public static void addMaterials(FlatBufferBuilder builder,
        -                                int materialsOffset)
        -
      • -
      - - - -
        -
      • -

        createMaterialsVector

        -
        public static int createMaterialsVector(FlatBufferBuilder builder,
        -                                        int[] data)
        -
      • -
      - - - -
        -
      • -

        startMaterialsVector

        -
        public static void startMaterialsVector(FlatBufferBuilder builder,
        -                                        int numElems)
        -
      • -
      - - - -
        -
      • -

        addVertexAttributes

        -
        public static void addVertexAttributes(FlatBufferBuilder builder,
        -                                       int vertexAttributesOffset)
        -
      • -
      - - - -
        -
      • -

        startVertexAttributesVector

        -
        public static void startVertexAttributesVector(FlatBufferBuilder builder,
        -                                               int numElems)
        -
      • -
      - - - -
        -
      • -

        addNumVertices

        -
        public static void addNumVertices(FlatBufferBuilder builder,
        -                                  long numVertices)
        -
      • -
      - - - -
        -
      • -

        addInterleaved

        -
        public static void addInterleaved(FlatBufferBuilder builder,
        -                                  boolean interleaved)
        -
      • -
      - - - -
        -
      • -

        addShaderToMeshBones

        -
        public static void addShaderToMeshBones(FlatBufferBuilder builder,
        -                                        int shaderToMeshBonesOffset)
        -
      • -
      - - - -
        -
      • -

        createShaderToMeshBonesVector

        -
        public static int createShaderToMeshBonesVector(FlatBufferBuilder builder,
        -                                                byte[] data)
        -
      • -
      - - - -
        -
      • -

        createShaderToMeshBonesVector

        -
        public static int createShaderToMeshBonesVector(FlatBufferBuilder builder,
        -                                                java.nio.ByteBuffer data)
        -
      • -
      - - - -
        -
      • -

        startShaderToMeshBonesVector

        -
        public static void startShaderToMeshBonesVector(FlatBufferBuilder builder,
        -                                                int numElems)
        -
      • -
      - - - -
        -
      • -

        addBlendShapes

        -
        public static void addBlendShapes(FlatBufferBuilder builder,
        -                                  int blendShapesOffset)
        -
      • -
      - - - -
        -
      • -

        createBlendShapesVector

        -
        public static int createBlendShapesVector(FlatBufferBuilder builder,
        -                                          int[] data)
        -
      • -
      - - - -
        -
      • -

        startBlendShapesVector

        -
        public static void startBlendShapesVector(FlatBufferBuilder builder,
        -                                          int numElems)
        -
      • -
      - - - -
        -
      • -

        addBlendAttributes

        -
        public static void addBlendAttributes(FlatBufferBuilder builder,
        -                                      int blendAttributesOffset)
        -
      • -
      - - - -
        -
      • -

        startBlendAttributesVector

        -
        public static void startBlendAttributesVector(FlatBufferBuilder builder,
        -                                              int numElems)
        -
      • -
      - - - -
        -
      • -

        addAabbs

        -
        public static void addAabbs(FlatBufferBuilder builder,
        -                            int aabbsOffset)
        -
      • -
      - - - -
        -
      • -

        createAabbsVector

        -
        public static int createAabbsVector(FlatBufferBuilder builder,
        -                                    int[] data)
        -
      • -
      - - - -
        -
      • -

        startAabbsVector

        -
        public static void startAabbsVector(FlatBufferBuilder builder,
        -                                    int numElems)
        -
      • -
      - - - -
        -
      • -

        endModelInstanceDef

        -
        public static int endModelInstanceDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineCollidableDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineCollidableDef.html deleted file mode 100644 index 9ebf4a33..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineCollidableDef.html +++ /dev/null @@ -1,438 +0,0 @@ - - - - - -ModelPipelineCollidableDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelPipelineCollidableDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelPipelineCollidableDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelPipelineCollidableDef

        -
        public ModelPipelineCollidableDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsModelPipelineCollidableDef

        -
        public static ModelPipelineCollidableDef getRootAsModelPipelineCollidableDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        source

        -
        public java.lang.String source()
        -
        The name of ModelPipelineImportDef defining this model.
        -
      • -
      - - - -
        -
      • -

        sourceAsByteBuffer

        -
        public java.nio.ByteBuffer sourceAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        sourceInByteBuffer

        -
        public java.nio.ByteBuffer sourceInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createModelPipelineCollidableDef

        -
        public static int createModelPipelineCollidableDef(FlatBufferBuilder builder,
        -                                                   int sourceOffset)
        -
      • -
      - - - -
        -
      • -

        startModelPipelineCollidableDef

        -
        public static void startModelPipelineCollidableDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addSource

        -
        public static void addSource(FlatBufferBuilder builder,
        -                             int sourceOffset)
        -
      • -
      - - - -
        -
      • -

        endModelPipelineCollidableDef

        -
        public static int endModelPipelineCollidableDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineDef.html deleted file mode 100644 index dfa93b71..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineDef.html +++ /dev/null @@ -1,745 +0,0 @@ - - - - - -ModelPipelineDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelPipelineDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelPipelineDef
    -extends Table
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineImportDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineImportDef.html deleted file mode 100644 index ace49f43..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineImportDef.html +++ /dev/null @@ -1,1022 +0,0 @@ - - - - - -ModelPipelineImportDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelPipelineImportDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelPipelineImportDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelPipelineImportDef

        -
        public ModelPipelineImportDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsModelPipelineImportDef

        -
        public static ModelPipelineImportDef getRootAsModelPipelineImportDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        name

        -
        public java.lang.String name()
        -
        The short name of the asset that is referenced by the individual model - components (eg. renderables, collidables, etc.) below.
        -
      • -
      - - - -
        -
      • -

        nameAsByteBuffer

        -
        public java.nio.ByteBuffer nameAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        nameInByteBuffer

        -
        public java.nio.ByteBuffer nameInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        file

        -
        public java.lang.String file()
        -
        The location of disk of the asset.
        -
      • -
      - - - -
        -
      • -

        fileAsByteBuffer

        -
        public java.nio.ByteBuffer fileAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        fileInByteBuffer

        -
        public java.nio.ByteBuffer fileInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        recenter

        -
        public boolean recenter()
        -
        Inserts an extra node into the asset hierarchy so that the resulting model - is centered around the origin.
        -
      • -
      - - - -
        -
      • -

        scale

        -
        public float scale()
        -
        Multiplier applied to the model to change its scale.
        -
      • -
      - - - -
        -
      • -

        axisSystem

        -
        public int axisSystem()
        -
        The axis system used by the model asset.
        -
      • -
      - - - -
        -
      • -

        smoothingAngle

        -
        public float smoothingAngle()
        -
        The limit angle (in degrees) between two normals being considered for - tangent space smoothing.
        -
      • -
      - - - -
        -
      • -

        maxBoneWeights

        -
        public int maxBoneWeights()
        -
        Limit per-vertex bone weights to the N most significant bones.
        -
      • -
      - - - -
        -
      • -

        reportErrorsToStdout

        -
        public boolean reportErrorsToStdout()
        -
        some clients do not use LOG to report errors
        -
      • -
      - - - -
        -
      • -

        flipTextureCoordinates

        -
        public boolean flipTextureCoordinates()
        -
        Inverts vertical texture coordinates when enabled (D3D/OGL difference).
        -
      • -
      - - - -
        -
      • -

        flattenHierarchyAndTransformVerticesToRootSpace

        -
        public boolean flattenHierarchyAndTransformVerticesToRootSpace()
        -
        Pre-transforms vertices by their node hierarchy so that all vertices are - in the same object-space, and the node hierarchy is flattened.
        -
      • -
      - - - -
        -
      • -

        useSpecularGlossinessTexturesIfPresent

        -
        public boolean useSpecularGlossinessTexturesIfPresent()
        -
        If a model contains both metallic-roughness textures and - specular-glossiness textures, this flag causes the import to only use the - specular-glossiness textures. Otherwise, it uses the metallic-rougness - textures.
        -
      • -
      - - - -
        -
      • -

        fixInfacingNormals

        -
        public boolean fixInfacingNormals()
        -
        Toggle for Assimp's aiProcess_FixInfacingNormals process.
        -
      • -
      - - - -
        -
      • -

        ensureVertexOrientationWNotZero

        -
        public boolean ensureVertexOrientationWNotZero()
        -
        Encodes a sign into the w value of the orientation quaternion such that >0 - implies a right handed space, and <0 implies a left handed space. w==0 - should never happen. This allows orientation components to be encoded in a
        -
      • -
      - - - -
        -
      • -

        cmPerUnit

        -
        public float cmPerUnit()
        -
        Distinct from 'scale'; defines the unit we expect positions to be in. - Kept as 0 for backwards compatibility, this would be 100.0 for contexts - where world units would be measured in meters, and 2.54 for inches.
        -
      • -
      - - - -
        -
      • -

        targetMeshes

        -
        public java.lang.String targetMeshes(int j)
        -
        The names of the nodes that contain the target meshes to import from the - asset. If a node has a mesh and its name is present in this list, the mesh - data will be added to the output model. If this list is empty, all meshes - will be added to the output model.
        -
      • -
      - - - -
        -
      • -

        targetMeshesLength

        -
        public int targetMeshesLength()
        -
      • -
      - - - -
        -
      • -

        mergeMaterials

        -
        public boolean mergeMaterials()
        -
      • -
      - - - -
        -
      • -

        createModelPipelineImportDef

        -
        public static int createModelPipelineImportDef(FlatBufferBuilder builder,
        -                                               int nameOffset,
        -                                               int fileOffset,
        -                                               boolean recenter,
        -                                               float scale,
        -                                               int axis_system,
        -                                               float smoothing_angle,
        -                                               int max_bone_weights,
        -                                               boolean report_errors_to_stdout,
        -                                               boolean flip_texture_coordinates,
        -                                               boolean flatten_hierarchy_and_transform_vertices_to_root_space,
        -                                               boolean use_specular_glossiness_textures_if_present,
        -                                               boolean fix_infacing_normals,
        -                                               boolean ensure_vertex_orientation_w_not_zero,
        -                                               float cm_per_unit,
        -                                               int target_meshesOffset,
        -                                               boolean merge_materials)
        -
      • -
      - - - -
        -
      • -

        startModelPipelineImportDef

        -
        public static void startModelPipelineImportDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addName

        -
        public static void addName(FlatBufferBuilder builder,
        -                           int nameOffset)
        -
      • -
      - - - -
        -
      • -

        addFile

        -
        public static void addFile(FlatBufferBuilder builder,
        -                           int fileOffset)
        -
      • -
      - - - -
        -
      • -

        addRecenter

        -
        public static void addRecenter(FlatBufferBuilder builder,
        -                               boolean recenter)
        -
      • -
      - - - -
        -
      • -

        addScale

        -
        public static void addScale(FlatBufferBuilder builder,
        -                            float scale)
        -
      • -
      - - - -
        -
      • -

        addAxisSystem

        -
        public static void addAxisSystem(FlatBufferBuilder builder,
        -                                 int axisSystem)
        -
      • -
      - - - -
        -
      • -

        addSmoothingAngle

        -
        public static void addSmoothingAngle(FlatBufferBuilder builder,
        -                                     float smoothingAngle)
        -
      • -
      - - - -
        -
      • -

        addMaxBoneWeights

        -
        public static void addMaxBoneWeights(FlatBufferBuilder builder,
        -                                     int maxBoneWeights)
        -
      • -
      - - - -
        -
      • -

        addReportErrorsToStdout

        -
        public static void addReportErrorsToStdout(FlatBufferBuilder builder,
        -                                           boolean reportErrorsToStdout)
        -
      • -
      - - - -
        -
      • -

        addFlipTextureCoordinates

        -
        public static void addFlipTextureCoordinates(FlatBufferBuilder builder,
        -                                             boolean flipTextureCoordinates)
        -
      • -
      - - - -
        -
      • -

        addFlattenHierarchyAndTransformVerticesToRootSpace

        -
        public static void addFlattenHierarchyAndTransformVerticesToRootSpace(FlatBufferBuilder builder,
        -                                                                      boolean flattenHierarchyAndTransformVerticesToRootSpace)
        -
      • -
      - - - -
        -
      • -

        addUseSpecularGlossinessTexturesIfPresent

        -
        public static void addUseSpecularGlossinessTexturesIfPresent(FlatBufferBuilder builder,
        -                                                             boolean useSpecularGlossinessTexturesIfPresent)
        -
      • -
      - - - -
        -
      • -

        addFixInfacingNormals

        -
        public static void addFixInfacingNormals(FlatBufferBuilder builder,
        -                                         boolean fixInfacingNormals)
        -
      • -
      - - - -
        -
      • -

        addEnsureVertexOrientationWNotZero

        -
        public static void addEnsureVertexOrientationWNotZero(FlatBufferBuilder builder,
        -                                                      boolean ensureVertexOrientationWNotZero)
        -
      • -
      - - - -
        -
      • -

        addCmPerUnit

        -
        public static void addCmPerUnit(FlatBufferBuilder builder,
        -                                float cmPerUnit)
        -
      • -
      - - - -
        -
      • -

        addTargetMeshes

        -
        public static void addTargetMeshes(FlatBufferBuilder builder,
        -                                   int targetMeshesOffset)
        -
      • -
      - - - -
        -
      • -

        createTargetMeshesVector

        -
        public static int createTargetMeshesVector(FlatBufferBuilder builder,
        -                                           int[] data)
        -
      • -
      - - - -
        -
      • -

        startTargetMeshesVector

        -
        public static void startTargetMeshesVector(FlatBufferBuilder builder,
        -                                           int numElems)
        -
      • -
      - - - -
        -
      • -

        addMergeMaterials

        -
        public static void addMergeMaterials(FlatBufferBuilder builder,
        -                                     boolean mergeMaterials)
        -
      • -
      - - - -
        -
      • -

        endModelPipelineImportDef

        -
        public static int endModelPipelineImportDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineMaterialDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineMaterialDef.html deleted file mode 100644 index abc7657b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineMaterialDef.html +++ /dev/null @@ -1,484 +0,0 @@ - - - - - -ModelPipelineMaterialDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelPipelineMaterialDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelPipelineMaterialDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelPipelineMaterialDef

        -
        public ModelPipelineMaterialDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsModelPipelineMaterialDef

        -
        public static ModelPipelineMaterialDef getRootAsModelPipelineMaterialDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        material

        -
        public MaterialDef material()
        -
        Description of the desired material.
        -
      • -
      - - - - - - - -
        -
      • -

        nameOverride

        -
        public java.lang.String nameOverride()
        -
        Optional replacement name to use at runtime.
        -
      • -
      - - - -
        -
      • -

        nameOverrideAsByteBuffer

        -
        public java.nio.ByteBuffer nameOverrideAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        nameOverrideInByteBuffer

        -
        public java.nio.ByteBuffer nameOverrideInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createModelPipelineMaterialDef

        -
        public static int createModelPipelineMaterialDef(FlatBufferBuilder builder,
        -                                                 int materialOffset,
        -                                                 int name_overrideOffset)
        -
      • -
      - - - -
        -
      • -

        startModelPipelineMaterialDef

        -
        public static void startModelPipelineMaterialDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addMaterial

        -
        public static void addMaterial(FlatBufferBuilder builder,
        -                               int materialOffset)
        -
      • -
      - - - -
        -
      • -

        addNameOverride

        -
        public static void addNameOverride(FlatBufferBuilder builder,
        -                                   int nameOverrideOffset)
        -
      • -
      - - - -
        -
      • -

        endModelPipelineMaterialDef

        -
        public static int endModelPipelineMaterialDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineRenderableDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineRenderableDef.html deleted file mode 100644 index 73bf3508..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineRenderableDef.html +++ /dev/null @@ -1,634 +0,0 @@ - - - - - -ModelPipelineRenderableDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelPipelineRenderableDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelPipelineRenderableDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelPipelineRenderableDef

        -
        public ModelPipelineRenderableDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsModelPipelineRenderableDef

        -
        public static ModelPipelineRenderableDef getRootAsModelPipelineRenderableDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        source

        -
        public java.lang.String source()
        -
        The name of ModelPipelineImportDef defining this model.
        -
      • -
      - - - -
        -
      • -

        sourceAsByteBuffer

        -
        public java.nio.ByteBuffer sourceAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        sourceInByteBuffer

        -
        public java.nio.ByteBuffer sourceInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        materials

        -
        public ModelPipelineMaterialDef materials(int j)
        -
        The material properties for the model. Each index in the array corresponds - to a submesh in the model.
        -
      • -
      - - - - - - - -
        -
      • -

        materialsLength

        -
        public int materialsLength()
        -
      • -
      - - - -
        -
      • -

        attributes

        -
        public int attributes(int j)
        -
        Specific vertex attributes to export. For multiple attributes with the - same usage (eg. two uv-coords for textures), simply list the attribute - twice, regardless of order.
        -
      • -
      - - - -
        -
      • -

        attributesLength

        -
        public int attributesLength()
        -
      • -
      - - - -
        -
      • -

        attributesAsByteBuffer

        -
        public java.nio.ByteBuffer attributesAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        attributesInByteBuffer

        -
        public java.nio.ByteBuffer attributesInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createModelPipelineRenderableDef

        -
        public static int createModelPipelineRenderableDef(FlatBufferBuilder builder,
        -                                                   int sourceOffset,
        -                                                   int materialsOffset,
        -                                                   int attributesOffset)
        -
      • -
      - - - -
        -
      • -

        startModelPipelineRenderableDef

        -
        public static void startModelPipelineRenderableDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addSource

        -
        public static void addSource(FlatBufferBuilder builder,
        -                             int sourceOffset)
        -
      • -
      - - - -
        -
      • -

        addMaterials

        -
        public static void addMaterials(FlatBufferBuilder builder,
        -                                int materialsOffset)
        -
      • -
      - - - -
        -
      • -

        createMaterialsVector

        -
        public static int createMaterialsVector(FlatBufferBuilder builder,
        -                                        int[] data)
        -
      • -
      - - - -
        -
      • -

        startMaterialsVector

        -
        public static void startMaterialsVector(FlatBufferBuilder builder,
        -                                        int numElems)
        -
      • -
      - - - -
        -
      • -

        addAttributes

        -
        public static void addAttributes(FlatBufferBuilder builder,
        -                                 int attributesOffset)
        -
      • -
      - - - -
        -
      • -

        createAttributesVector

        -
        public static int createAttributesVector(FlatBufferBuilder builder,
        -                                         int[] data)
        -
      • -
      - - - -
        -
      • -

        startAttributesVector

        -
        public static void startAttributesVector(FlatBufferBuilder builder,
        -                                         int numElems)
        -
      • -
      - - - -
        -
      • -

        endModelPipelineRenderableDef

        -
        public static int endModelPipelineRenderableDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineSkeletonDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineSkeletonDef.html deleted file mode 100644 index adb329b9..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/ModelPipelineSkeletonDef.html +++ /dev/null @@ -1,438 +0,0 @@ - - - - - -ModelPipelineSkeletonDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class ModelPipelineSkeletonDef

-
-
- -
-
    -
  • -
    -
    -
    public final class ModelPipelineSkeletonDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ModelPipelineSkeletonDef

        -
        public ModelPipelineSkeletonDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsModelPipelineSkeletonDef

        -
        public static ModelPipelineSkeletonDef getRootAsModelPipelineSkeletonDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        source

        -
        public java.lang.String source()
        -
        The name of ModelPipelineImportDef defining this model.
        -
      • -
      - - - -
        -
      • -

        sourceAsByteBuffer

        -
        public java.nio.ByteBuffer sourceAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        sourceInByteBuffer

        -
        public java.nio.ByteBuffer sourceInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        createModelPipelineSkeletonDef

        -
        public static int createModelPipelineSkeletonDef(FlatBufferBuilder builder,
        -                                                 int sourceOffset)
        -
      • -
      - - - -
        -
      • -

        startModelPipelineSkeletonDef

        -
        public static void startModelPipelineSkeletonDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addSource

        -
        public static void addSource(FlatBufferBuilder builder,
        -                             int sourceOffset)
        -
      • -
      - - - -
        -
      • -

        endModelPipelineSkeletonDef

        -
        public static int endModelPipelineSkeletonDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/OptionalBool.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/OptionalBool.html deleted file mode 100644 index 14f49fe5..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/OptionalBool.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - -OptionalBool (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class OptionalBool

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.OptionalBool
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class OptionalBool
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intFalse -
      Force the value to false when created.
      -
      static java.lang.String[]names 
      static intTrue -
      Force the value to true when created.
      -
      static intUnset -
      Don't force the value on entity create.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        Unset

        -
        public static final int Unset
        -
        Don't force the value on entity create.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        True

        -
        public static final int True
        -
        Force the value to true when created.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        False

        -
        public static final int False
        -
        Force the value to false when created.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        names

        -
        public static final java.lang.String[] names
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public static java.lang.String name(int e)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Quat.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Quat.html deleted file mode 100644 index 7de6b679..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Quat.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - -Quat (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Quat

-
-
- -
-
    -
  • -
    -
    -
    public final class Quat
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Quat() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Quat__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      static intcreateQuat(FlatBufferBuilder builder, - float x, - float y, - float z, - float w) 
      floatw() 
      floatx() 
      floaty() 
      floatz() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Quat

        -
        public Quat()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Quat __assign(int _i,
        -                     java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        x

        -
        public float x()
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y()
        -
      • -
      - - - -
        -
      • -

        z

        -
        public float z()
        -
      • -
      - - - -
        -
      • -

        w

        -
        public float w()
        -
      • -
      - - - -
        -
      • -

        createQuat

        -
        public static int createQuat(FlatBufferBuilder builder,
        -                             float x,
        -                             float y,
        -                             float z,
        -                             float w)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Rect.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Rect.html deleted file mode 100644 index c679760d..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Rect.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - -Rect (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Rect

-
-
- -
-
    -
  • -
    -
    -
    public final class Rect
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Rect() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Rect__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      static intcreateRect(FlatBufferBuilder builder, - float x, - float y, - float w, - float h) 
      floath() 
      floatw() 
      floatx() 
      floaty() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Rect

        -
        public Rect()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Rect __assign(int _i,
        -                     java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        x

        -
        public float x()
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y()
        -
      • -
      - - - -
        -
      • -

        w

        -
        public float w()
        -
      • -
      - - - -
        -
      • -

        h

        -
        public float h()
        -
      • -
      - - - -
        -
      • -

        createRect

        -
        public static int createRect(FlatBufferBuilder builder,
        -                             float x,
        -                             float y,
        -                             float w,
        -                             float h)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Recti.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Recti.html deleted file mode 100644 index 89b9c68a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Recti.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - -Recti (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Recti

-
-
- -
-
    -
  • -
    -
    -
    public final class Recti
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Recti() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Recti__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      static intcreateRecti(FlatBufferBuilder builder, - int x, - int y, - int w, - int h) 
      inth() 
      intw() 
      intx() 
      inty() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Recti

        -
        public Recti()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Recti __assign(int _i,
        -                      java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        x

        -
        public int x()
        -
      • -
      - - - -
        -
      • -

        y

        -
        public int y()
        -
      • -
      - - - -
        -
      • -

        w

        -
        public int w()
        -
      • -
      - - - -
        -
      • -

        h

        -
        public int h()
        -
      • -
      - - - -
        -
      • -

        createRecti

        -
        public static int createRecti(FlatBufferBuilder builder,
        -                              int x,
        -                              int y,
        -                              int w,
        -                              int h)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/SkeletonDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/SkeletonDef.html deleted file mode 100644 index ec367fb4..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/SkeletonDef.html +++ /dev/null @@ -1,653 +0,0 @@ - - - - - -SkeletonDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class SkeletonDef

-
-
- -
-
    -
  • -
    -
    -
    public final class SkeletonDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SkeletonDef

        -
        public SkeletonDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsSkeletonDef

        -
        public static SkeletonDef getRootAsSkeletonDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsSkeletonDef

        -
        public static SkeletonDef getRootAsSkeletonDef(java.nio.ByteBuffer _bb,
        -                                               SkeletonDef obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public SkeletonDef __assign(int _i,
        -                            java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        boneNames

        -
        public java.lang.String boneNames(int j)
        -
        The names of each bone in the skeleton. Each bone in the skeleton can - be uniquely identified by an index into this array.
        -
      • -
      - - - -
        -
      • -

        boneNamesLength

        -
        public int boneNamesLength()
        -
      • -
      - - - -
        -
      • -

        boneParents

        -
        public int boneParents(int j)
        -
        Effectively a map of a bone to its parent bone.
        -
      • -
      - - - -
        -
      • -

        boneParentsLength

        -
        public int boneParentsLength()
        -
      • -
      - - - -
        -
      • -

        boneParentsAsByteBuffer

        -
        public java.nio.ByteBuffer boneParentsAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        boneParentsInByteBuffer

        -
        public java.nio.ByteBuffer boneParentsInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        boneTransforms

        -
        public Mat4x3 boneTransforms(int j)
        -
        For information on how the matrices below are used for skinning, see - RigSystem::UpdateShaderTransforms(). - The "inverse bind matrices" for each bone. Transforms from mesh space to - bone space so that skinning may be applied.
        -
      • -
      - - - -
        -
      • -

        boneTransforms

        -
        public Mat4x3 boneTransforms(Mat4x3 obj,
        -                             int j)
        -
      • -
      - - - -
        -
      • -

        boneTransformsLength

        -
        public int boneTransformsLength()
        -
      • -
      - - - -
        -
      • -

        createSkeletonDef

        -
        public static int createSkeletonDef(FlatBufferBuilder builder,
        -                                    int bone_namesOffset,
        -                                    int bone_parentsOffset,
        -                                    int bone_transformsOffset)
        -
      • -
      - - - -
        -
      • -

        startSkeletonDef

        -
        public static void startSkeletonDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addBoneNames

        -
        public static void addBoneNames(FlatBufferBuilder builder,
        -                                int boneNamesOffset)
        -
      • -
      - - - -
        -
      • -

        createBoneNamesVector

        -
        public static int createBoneNamesVector(FlatBufferBuilder builder,
        -                                        int[] data)
        -
      • -
      - - - -
        -
      • -

        startBoneNamesVector

        -
        public static void startBoneNamesVector(FlatBufferBuilder builder,
        -                                        int numElems)
        -
      • -
      - - - -
        -
      • -

        addBoneParents

        -
        public static void addBoneParents(FlatBufferBuilder builder,
        -                                  int boneParentsOffset)
        -
      • -
      - - - -
        -
      • -

        createBoneParentsVector

        -
        public static int createBoneParentsVector(FlatBufferBuilder builder,
        -                                          byte[] data)
        -
      • -
      - - - -
        -
      • -

        createBoneParentsVector

        -
        public static int createBoneParentsVector(FlatBufferBuilder builder,
        -                                          java.nio.ByteBuffer data)
        -
      • -
      - - - -
        -
      • -

        startBoneParentsVector

        -
        public static void startBoneParentsVector(FlatBufferBuilder builder,
        -                                          int numElems)
        -
      • -
      - - - -
        -
      • -

        addBoneTransforms

        -
        public static void addBoneTransforms(FlatBufferBuilder builder,
        -                                     int boneTransformsOffset)
        -
      • -
      - - - -
        -
      • -

        startBoneTransformsVector

        -
        public static void startBoneTransformsVector(FlatBufferBuilder builder,
        -                                             int numElems)
        -
      • -
      - - - -
        -
      • -

        endSkeletonDef

        -
        public static int endSkeletonDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/SubmeshAabb.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/SubmeshAabb.html deleted file mode 100644 index a21f8afc..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/SubmeshAabb.html +++ /dev/null @@ -1,448 +0,0 @@ - - - - - -SubmeshAabb (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class SubmeshAabb

-
-
- -
-
    -
  • -
    -
    -
    public final class SubmeshAabb
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SubmeshAabb

        -
        public SubmeshAabb()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsSubmeshAabb

        -
        public static SubmeshAabb getRootAsSubmeshAabb(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsSubmeshAabb

        -
        public static SubmeshAabb getRootAsSubmeshAabb(java.nio.ByteBuffer _bb,
        -                                               SubmeshAabb obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public SubmeshAabb __assign(int _i,
        -                            java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        minPosition

        -
        public Vec3 minPosition()
        -
      • -
      - - - -
        -
      • -

        minPosition

        -
        public Vec3 minPosition(Vec3 obj)
        -
      • -
      - - - -
        -
      • -

        maxPosition

        -
        public Vec3 maxPosition()
        -
      • -
      - - - -
        -
      • -

        maxPosition

        -
        public Vec3 maxPosition(Vec3 obj)
        -
      • -
      - - - -
        -
      • -

        startSubmeshAabb

        -
        public static void startSubmeshAabb(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addMinPosition

        -
        public static void addMinPosition(FlatBufferBuilder builder,
        -                                  int minPositionOffset)
        -
      • -
      - - - -
        -
      • -

        addMaxPosition

        -
        public static void addMaxPosition(FlatBufferBuilder builder,
        -                                  int maxPositionOffset)
        -
      • -
      - - - -
        -
      • -

        endSubmeshAabb

        -
        public static int endSubmeshAabb(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureDef.html deleted file mode 100644 index b8022558..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureDef.html +++ /dev/null @@ -1,875 +0,0 @@ - - - - - -TextureDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class TextureDef

-
-
- -
-
    -
  • -
    -
    -
    public final class TextureDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TextureDef

        -
        public TextureDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsTextureDef

        -
        public static TextureDef getRootAsTextureDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsTextureDef

        -
        public static TextureDef getRootAsTextureDef(java.nio.ByteBuffer _bb,
        -                                             TextureDef obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public TextureDef __assign(int _i,
        -                           java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        name

        -
        public java.lang.String name()
        -
      • -
      - - - -
        -
      • -

        nameAsByteBuffer

        -
        public java.nio.ByteBuffer nameAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        nameInByteBuffer

        -
        public java.nio.ByteBuffer nameInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        file

        -
        public java.lang.String file()
        -
      • -
      - - - -
        -
      • -

        fileAsByteBuffer

        -
        public java.nio.ByteBuffer fileAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        fileInByteBuffer

        -
        public java.nio.ByteBuffer fileInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        data

        -
        public int data(int j)
        -
      • -
      - - - -
        -
      • -

        dataLength

        -
        public int dataLength()
        -
      • -
      - - - -
        -
      • -

        dataAsByteBuffer

        -
        public java.nio.ByteBuffer dataAsByteBuffer()
        -
      • -
      - - - -
        -
      • -

        dataInByteBuffer

        -
        public java.nio.ByteBuffer dataInByteBuffer(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        generateMipmaps

        -
        public boolean generateMipmaps()
        -
      • -
      - - - -
        -
      • -

        premultiplyAlpha

        -
        public boolean premultiplyAlpha()
        -
      • -
      - - - -
        -
      • -

        minFilter

        -
        public int minFilter()
        -
      • -
      - - - -
        -
      • -

        magFilter

        -
        public int magFilter()
        -
      • -
      - - - -
        -
      • -

        wrapS

        -
        public int wrapS()
        -
      • -
      - - - -
        -
      • -

        wrapT

        -
        public int wrapT()
        -
      • -
      - - - -
        -
      • -

        wrapR

        -
        public int wrapR()
        -
      • -
      - - - -
        -
      • -

        targetType

        -
        public int targetType()
        -
      • -
      - - - -
        -
      • -

        isRgbm

        -
        public boolean isRgbm()
        -
      • -
      - - - -
        -
      • -

        createTextureDef

        -
        public static int createTextureDef(FlatBufferBuilder builder,
        -                                   int nameOffset,
        -                                   int fileOffset,
        -                                   int dataOffset,
        -                                   boolean generate_mipmaps,
        -                                   boolean premultiply_alpha,
        -                                   int min_filter,
        -                                   int mag_filter,
        -                                   int wrap_s,
        -                                   int wrap_t,
        -                                   int wrap_r,
        -                                   int target_type,
        -                                   boolean is_rgbm)
        -
      • -
      - - - -
        -
      • -

        startTextureDef

        -
        public static void startTextureDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addName

        -
        public static void addName(FlatBufferBuilder builder,
        -                           int nameOffset)
        -
      • -
      - - - -
        -
      • -

        addFile

        -
        public static void addFile(FlatBufferBuilder builder,
        -                           int fileOffset)
        -
      • -
      - - - -
        -
      • -

        addData

        -
        public static void addData(FlatBufferBuilder builder,
        -                           int dataOffset)
        -
      • -
      - - - -
        -
      • -

        createDataVector

        -
        public static int createDataVector(FlatBufferBuilder builder,
        -                                   byte[] data)
        -
      • -
      - - - -
        -
      • -

        createDataVector

        -
        public static int createDataVector(FlatBufferBuilder builder,
        -                                   java.nio.ByteBuffer data)
        -
      • -
      - - - -
        -
      • -

        startDataVector

        -
        public static void startDataVector(FlatBufferBuilder builder,
        -                                   int numElems)
        -
      • -
      - - - -
        -
      • -

        addGenerateMipmaps

        -
        public static void addGenerateMipmaps(FlatBufferBuilder builder,
        -                                      boolean generateMipmaps)
        -
      • -
      - - - -
        -
      • -

        addPremultiplyAlpha

        -
        public static void addPremultiplyAlpha(FlatBufferBuilder builder,
        -                                       boolean premultiplyAlpha)
        -
      • -
      - - - -
        -
      • -

        addMinFilter

        -
        public static void addMinFilter(FlatBufferBuilder builder,
        -                                int minFilter)
        -
      • -
      - - - -
        -
      • -

        addMagFilter

        -
        public static void addMagFilter(FlatBufferBuilder builder,
        -                                int magFilter)
        -
      • -
      - - - -
        -
      • -

        addWrapS

        -
        public static void addWrapS(FlatBufferBuilder builder,
        -                            int wrapS)
        -
      • -
      - - - -
        -
      • -

        addWrapT

        -
        public static void addWrapT(FlatBufferBuilder builder,
        -                            int wrapT)
        -
      • -
      - - - -
        -
      • -

        addWrapR

        -
        public static void addWrapR(FlatBufferBuilder builder,
        -                            int wrapR)
        -
      • -
      - - - -
        -
      • -

        addTargetType

        -
        public static void addTargetType(FlatBufferBuilder builder,
        -                                 int targetType)
        -
      • -
      - - - -
        -
      • -

        addIsRgbm

        -
        public static void addIsRgbm(FlatBufferBuilder builder,
        -                             boolean isRgbm)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureFiltering.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureFiltering.html deleted file mode 100644 index e6297924..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureFiltering.html +++ /dev/null @@ -1,372 +0,0 @@ - - - - - -TextureFiltering (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class TextureFiltering

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.TextureFiltering
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class TextureFiltering
    -extends java.lang.Object
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public static java.lang.String name(int e)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureTargetType.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureTargetType.html deleted file mode 100644 index 58b65cef..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureTargetType.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - -TextureTargetType (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class TextureTargetType

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.TextureTargetType
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class TextureTargetType
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static shortCubeMap 
      static java.lang.String[]names 
      static shortStandard2d 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - - - - - - - - - -
        -
      • -

        names

        -
        public static final java.lang.String[] names
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public static java.lang.String name(int e)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureWrap.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureWrap.html deleted file mode 100644 index 4479286b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/TextureWrap.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -TextureWrap (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class TextureWrap

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.TextureWrap
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class TextureWrap
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public static java.lang.String name(int e)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantArrayDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantArrayDef.html deleted file mode 100644 index 8c2d5258..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantArrayDef.html +++ /dev/null @@ -1,467 +0,0 @@ - - - - - -VariantArrayDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class VariantArrayDef

-
-
- -
-
    -
  • -
    -
    -
    public final class VariantArrayDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VariantArrayDef

        -
        public VariantArrayDef()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantArrayDefImpl.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantArrayDefImpl.html deleted file mode 100644 index 14d96168..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantArrayDefImpl.html +++ /dev/null @@ -1,439 +0,0 @@ - - - - - -VariantArrayDefImpl (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class VariantArrayDefImpl

-
-
- -
-
    -
  • -
    -
    -
    public final class VariantArrayDefImpl
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VariantArrayDefImpl

        -
        public VariantArrayDefImpl()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsVariantArrayDefImpl

        -
        public static VariantArrayDefImpl getRootAsVariantArrayDefImpl(java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - -
        -
      • -

        valueType

        -
        public byte valueType()
        -
      • -
      - - - - - - - -
        -
      • -

        createVariantArrayDefImpl

        -
        public static int createVariantArrayDefImpl(FlatBufferBuilder builder,
        -                                            byte value_type,
        -                                            int valueOffset)
        -
      • -
      - - - -
        -
      • -

        startVariantArrayDefImpl

        -
        public static void startVariantArrayDefImpl(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValueType

        -
        public static void addValueType(FlatBufferBuilder builder,
        -                                byte valueType)
        -
      • -
      - - - -
        -
      • -

        addValue

        -
        public static void addValue(FlatBufferBuilder builder,
        -                            int valueOffset)
        -
      • -
      - - - -
        -
      • -

        endVariantArrayDefImpl

        -
        public static int endVariantArrayDefImpl(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantDef.html deleted file mode 100644 index 50f97307..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantDef.html +++ /dev/null @@ -1,492 +0,0 @@ - - - - - -VariantDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class VariantDef

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.VariantDef
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class VariantDef
    -extends java.lang.Object
    -
    A variant type that can be converted into a lull::Variant.
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantMapDef.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantMapDef.html deleted file mode 100644 index 04d5d5cd..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/VariantMapDef.html +++ /dev/null @@ -1,467 +0,0 @@ - - - - - -VariantMapDef (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class VariantMapDef

-
-
- -
-
    -
  • -
    -
    -
    public final class VariantMapDef
    -extends Table
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VariantMapDef

        -
        public VariantMapDef()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRootAsVariantMapDef

        -
        public static VariantMapDef getRootAsVariantMapDef(java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        getRootAsVariantMapDef

        -
        public static VariantMapDef getRootAsVariantMapDef(java.nio.ByteBuffer _bb,
        -                                                   VariantMapDef obj)
        -
      • -
      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public VariantMapDef __assign(int _i,
        -                              java.nio.ByteBuffer _bb)
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        valuesLength

        -
        public int valuesLength()
        -
      • -
      - - - -
        -
      • -

        createVariantMapDef

        -
        public static int createVariantMapDef(FlatBufferBuilder builder,
        -                                      int valuesOffset)
        -
      • -
      - - - -
        -
      • -

        startVariantMapDef

        -
        public static void startVariantMapDef(FlatBufferBuilder builder)
        -
      • -
      - - - -
        -
      • -

        addValues

        -
        public static void addValues(FlatBufferBuilder builder,
        -                             int valuesOffset)
        -
      • -
      - - - -
        -
      • -

        createValuesVector

        -
        public static int createValuesVector(FlatBufferBuilder builder,
        -                                     int[] data)
        -
      • -
      - - - -
        -
      • -

        startValuesVector

        -
        public static void startValuesVector(FlatBufferBuilder builder,
        -                                     int numElems)
        -
      • -
      - - - -
        -
      • -

        endVariantMapDef

        -
        public static int endVariantMapDef(FlatBufferBuilder builder)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec2.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec2.html deleted file mode 100644 index 6ef2ec9a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec2.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -Vec2 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Vec2

-
-
- -
-
    -
  • -
    -
    -
    public final class Vec2
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Vec2() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Vec2__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      static intcreateVec2(FlatBufferBuilder builder, - float x, - float y) 
      floatx() 
      floaty() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Vec2

        -
        public Vec2()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Vec2 __assign(int _i,
        -                     java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        x

        -
        public float x()
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y()
        -
      • -
      - - - -
        -
      • -

        createVec2

        -
        public static int createVec2(FlatBufferBuilder builder,
        -                             float x,
        -                             float y)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec2i.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec2i.html deleted file mode 100644 index a0b2d24a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec2i.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -Vec2i (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Vec2i

-
-
- -
-
    -
  • -
    -
    -
    public final class Vec2i
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Vec2i() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Vec2i__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      static intcreateVec2i(FlatBufferBuilder builder, - int x, - int y) 
      intx() 
      inty() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Vec2i

        -
        public Vec2i()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Vec2i __assign(int _i,
        -                      java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        x

        -
        public int x()
        -
      • -
      - - - -
        -
      • -

        y

        -
        public int y()
        -
      • -
      - - - -
        -
      • -

        createVec2i

        -
        public static int createVec2i(FlatBufferBuilder builder,
        -                              int x,
        -                              int y)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec3.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec3.html deleted file mode 100644 index af6898e3..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec3.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - -Vec3 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Vec3

-
-
- -
-
    -
  • -
    -
    -
    public final class Vec3
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Vec3() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Vec3__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      static intcreateVec3(FlatBufferBuilder builder, - float x, - float y, - float z) 
      floatx() 
      floaty() 
      floatz() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Vec3

        -
        public Vec3()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Vec3 __assign(int _i,
        -                     java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        x

        -
        public float x()
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y()
        -
      • -
      - - - -
        -
      • -

        z

        -
        public float z()
        -
      • -
      - - - -
        -
      • -

        createVec3

        -
        public static int createVec3(FlatBufferBuilder builder,
        -                             float x,
        -                             float y,
        -                             float z)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec4.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec4.html deleted file mode 100644 index 3381d566..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/Vec4.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - -Vec4 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class Vec4

-
-
- -
-
    -
  • -
    -
    -
    public final class Vec4
    -extends Struct
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Vec4() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Vec4__assign(int _i, - java.nio.ByteBuffer _bb) 
      void__init(int _i, - java.nio.ByteBuffer _bb) 
      static intcreateVec4(FlatBufferBuilder builder, - float x, - float y, - float z, - float w) 
      floatw() 
      floatx() 
      floaty() 
      floatz() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Vec4

        -
        public Vec4()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public Vec4 __assign(int _i,
        -                     java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        x

        -
        public float x()
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y()
        -
      • -
      - - - -
        -
      • -

        z

        -
        public float z()
        -
      • -
      - - - -
        -
      • -

        w

        -
        public float w()
        -
      • -
      - - - -
        -
      • -

        createVec4

        -
        public static int createVec4(FlatBufferBuilder builder,
        -                             float x,
        -                             float y,
        -                             float z,
        -                             float w)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttribute.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttribute.html deleted file mode 100644 index b0648bbf..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttribute.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -VertexAttribute (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class VertexAttribute

-
-
- -
-
    -
  • -
    -
    -
    public final class VertexAttribute
    -extends Struct
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VertexAttribute

        -
        public VertexAttribute()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __init

        -
        public void __init(int _i,
        -                   java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        __assign

        -
        public VertexAttribute __assign(int _i,
        -                                java.nio.ByteBuffer _bb)
        -
      • -
      - - - -
        -
      • -

        usage

        -
        public int usage()
        -
      • -
      - - - -
        -
      • -

        type

        -
        public int type()
        -
      • -
      - - - -
        -
      • -

        createVertexAttribute

        -
        public static int createVertexAttribute(FlatBufferBuilder builder,
        -                                        int usage,
        -                                        int type)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttributeType.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttributeType.html deleted file mode 100644 index 1420e40c..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttributeType.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - - -VertexAttributeType (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class VertexAttributeType

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.VertexAttributeType
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class VertexAttributeType
    -extends java.lang.Object
    -
    Defines the data structure of a single attribute in a vertex. Each type is - assumed to be 4-byte aligned.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intEmpty 
      static java.lang.String[]names 
      static intScalar1f 
      static intVec2f 
      static intVec2us 
      static intVec3f 
      static intVec4f 
      static intVec4ub 
      static intVec4us 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttributeUsage.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttributeUsage.html deleted file mode 100644 index 5cbc052f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/VertexAttributeUsage.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - -VertexAttributeUsage (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.lullmodel
-

Class VertexAttributeUsage

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.lullmodel.VertexAttributeUsage
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class VertexAttributeUsage
    -extends java.lang.Object
    -
    Defines how data in a vertex is interpreted by the shader.
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringname(int e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/package-frame.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/package-frame.html deleted file mode 100644 index 0ee156af..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/package-frame.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - -com.google.ar.sceneform.lullmodel (core API) - - - - -

com.google.ar.sceneform.lullmodel

- - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/package-summary.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/package-summary.html deleted file mode 100644 index e9443d49..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/package-summary.html +++ /dev/null @@ -1,368 +0,0 @@ - - - - - -com.google.ar.sceneform.lullmodel (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.lullmodel

-
-
- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/lullmodel/package-tree.html b/docs/javadoc/com/google/ar/sceneform/lullmodel/package-tree.html deleted file mode 100644 index 48b51b67..00000000 --- a/docs/javadoc/com/google/ar/sceneform/lullmodel/package-tree.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -com.google.ar.sceneform.lullmodel Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.lullmodel

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/MathHelper.html b/docs/javadoc/com/google/ar/sceneform/math/MathHelper.html deleted file mode 100644 index 8e2628ed..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/MathHelper.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - -MathHelper (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.math
-

Class MathHelper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.math.MathHelper
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class MathHelper
    -extends java.lang.Object
    -
    Static functions for common math operations.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      MathHelper() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static booleanalmostEqualRelativeAndAbs(float a, - float b) -
      Returns true if two floats are equal within a tolerance.
      -
      static floatclamp(float value, - float min, - float max) -
      Clamps a value between a minimum and maximum range.
      -
      static floatlerp(float a, - float b, - float t) -
      Linearly interpolates between a and b by a ratio.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MathHelper

        -
        public MathHelper()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        almostEqualRelativeAndAbs

        -
        public static boolean almostEqualRelativeAndAbs(float a,
        -                                                float b)
        -
        Returns true if two floats are equal within a tolerance. Useful for comparing floating point - numbers while accounting for the limitations in floating point precision.
        -
      • -
      - - - -
        -
      • -

        clamp

        -
        public static float clamp(float value,
        -                          float min,
        -                          float max)
        -
        Clamps a value between a minimum and maximum range.
        -
      • -
      - - - -
        -
      • -

        lerp

        -
        public static float lerp(float a,
        -                         float b,
        -                         float t)
        -
        Linearly interpolates between a and b by a ratio.
        -
        -
        Parameters:
        -
        a - the beginning value
        -
        b - the ending value
        -
        t - ratio between the two floats
        -
        Returns:
        -
        interpolated value between the two floats
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/Matrix.html b/docs/javadoc/com/google/ar/sceneform/math/Matrix.html deleted file mode 100644 index 21f4d0d8..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/Matrix.html +++ /dev/null @@ -1,581 +0,0 @@ - - - - - -Matrix (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.math
-

Class Matrix

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.math.Matrix
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Matrix
    -extends java.lang.Object
    -
    4x4 Matrix representing translation, scale, and rotation. Column major, right handed [0, 4, 8, - 12] [1, 5, 9, 13] [2, 6, 10, 14] [3, 7, 11, 15]
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        IDENTITY_DATA

        -
        public static final float[] IDENTITY_DATA
        -
      • -
      - - - -
        -
      • -

        data

        -
        public float[] data
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Matrix

        -
        public Matrix()
        -
      • -
      - - - -
        -
      • -

        Matrix

        -
        public Matrix(float[] data)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        set

        -
        public void set(float[] data)
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(Matrix m)
        -
      • -
      - - - -
        -
      • -

        decomposeTranslation

        -
        public void decomposeTranslation(Vector3 destTranslation)
        -
      • -
      - - - -
        -
      • -

        decomposeScale

        -
        public void decomposeScale(Vector3 destScale)
        -
      • -
      - - - -
        -
      • -

        decomposeRotation

        -
        public void decomposeRotation(Vector3 decomposedScale,
        -                              Quaternion destRotation)
        -
      • -
      - - - -
        -
      • -

        decomposeRotation

        -
        public void decomposeRotation(Vector3 decomposedScale,
        -                              Matrix destMatrix)
        -
      • -
      - - - -
        -
      • -

        extractQuaternion

        -
        public void extractQuaternion(Quaternion destQuaternion)
        -
      • -
      - - - -
        -
      • -

        makeTranslation

        -
        public void makeTranslation(Vector3 translation)
        -
      • -
      - - - -
        -
      • -

        setTranslation

        -
        public void setTranslation(Vector3 translation)
        -
      • -
      - - - -
        -
      • -

        makeRotation

        -
        public void makeRotation(Quaternion rotation)
        -
      • -
      - - - -
        -
      • -

        makeScale

        -
        public void makeScale(float scale)
        -
      • -
      - - - -
        -
      • -

        makeScale

        -
        public void makeScale(Vector3 scale)
        -
      • -
      - - - - - - - -
        -
      • -

        multiply

        -
        public static void multiply(Matrix lhs,
        -                            Matrix rhs,
        -                            Matrix dest)
        -
      • -
      - - - -
        -
      • -

        transformPoint

        -
        public Vector3 transformPoint(Vector3 vector)
        -
      • -
      - - - -
        -
      • -

        transformDirection

        -
        public Vector3 transformDirection(Vector3 vector)
        -
        Transforms a direction by ignoring any translation. - -

        If the matrix is uniformly (positively) scaled, then the resulting direction will be correct - but scaled by the same factor. If a unit direction is required then the result should be - normalized. - -

        If the scale is non-uniform or negative then the result vector will be distorted. In this - case the matrix used should be the inverse transpose of the incoming matrix.

        -
      • -
      - - - -
        -
      • -

        invert

        -
        public static boolean invert(Matrix matrix,
        -                             Matrix dest)
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public static boolean equals(Matrix lhs,
        -                             Matrix rhs)
        -
        Compares Matrix values
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/Quaternion.html b/docs/javadoc/com/google/ar/sceneform/math/Quaternion.html deleted file mode 100644 index 96dd7e03..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/Quaternion.html +++ /dev/null @@ -1,806 +0,0 @@ - - - - - -Quaternion (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.math
-

Class Quaternion

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.math.Quaternion
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Quaternion
    -extends java.lang.Object
    -
    A Sceneform quaternion class for floats. - -

    Quaternion operations are Hamiltonian using the right-hand-rule convention.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      floatw 
      floatx 
      floaty 
      floatz 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      Quaternion() -
      Construct Quaternion and set to Identity
      -
      Quaternion(float x, - float y, - float z, - float w) -
      Construct Quaternion and set each value.
      -
      Quaternion(Quaternion q) -
      Construct Quaternion using values from another Quaternion
      -
      Quaternion(Vector3 eulerAngles) -
      Construct Quaternion based on eulerAngles.
      -
      Quaternion(Vector3 axis, - float angle) -
      Construct Quaternion using an axis/angle to define the rotation
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static QuaternionaxisAngle(Vector3 axis, - float degrees) -
      Get a new Quaternion using an axis/angle to define the rotation
      -
      booleanequals(java.lang.Object other) -
      Returns true if the other object is a Quaternion and the dot product is 1.0 +/- a tolerance.
      -
      static booleanequals(Quaternion lhs, - Quaternion rhs) -
      Compare two Quaternions - - Tests for equality by calculating the dot product of lhs and rhs. lhs and -lhs will not be - equal according to this function.
      -
      static QuaternioneulerAngles(Vector3 eulerAngles) -
      Get a new Quaternion using eulerAngles to define the rotation.
      -
      inthashCode() 
      static Quaternionidentity() -
      Get a Quaternion set to identity
      -
      static Vector3inverseRotateVector(Quaternion q, - Vector3 src) 
      Quaternioninverted() -
      Get a Quaternion with the opposite rotation
      -
      static QuaternionlookRotation(Vector3 forwardInWorld, - Vector3 desiredUpInWorld) -
      Get a new Quaternion representing a rotation towards a specified forward direction.
      -
      static Quaternionmultiply(Quaternion lhs, - Quaternion rhs) -
      Create a Quaternion by combining two Quaternions multiply(lhs, rhs) is equivalent to performing - the rhs rotation then lhs rotation Ordering is important for this operation.
      -
      booleannormalize() -
      Rescales the quaternion to the unit length.
      -
      Quaternionnormalized() -
      Get a Quaternion with a matching rotation but scaled to unit length.
      -
      static Vector3rotateVector(Quaternion q, - Vector3 src) -
      Rotates a Vector3 by a Quaternion
      -
      static QuaternionrotationBetweenVectors(Vector3 start, - Vector3 end) -
      Get a new Quaternion representing the rotation from one vector to another.
      -
      voidset(float qx, - float qy, - float qz, - float qw) -
      Set each value and normalize the Quaternion
      -
      voidset(Quaternion q) -
      Copy values from another Quaternion into this one
      -
      voidset(Vector3 axis, - float angle) -
      Update this Quaternion using an axis/angle to define the rotation
      -
      voidsetIdentity() -
      Set the Quaternion to identity
      -
      static Quaternionslerp(Quaternion start, - Quaternion end, - float t) 
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        x

        -
        public float x
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y
        -
      • -
      - - - -
        -
      • -

        z

        -
        public float z
        -
      • -
      - - - -
        -
      • -

        w

        -
        public float w
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Quaternion

        -
        public Quaternion()
        -
        Construct Quaternion and set to Identity
        -
      • -
      - - - -
        -
      • -

        Quaternion

        -
        public Quaternion(float x,
        -                  float y,
        -                  float z,
        -                  float w)
        -
        Construct Quaternion and set each value. The Quaternion will be normalized during construction
        -
      • -
      - - - -
        -
      • -

        Quaternion

        -
        public Quaternion(Quaternion q)
        -
        Construct Quaternion using values from another Quaternion
        -
      • -
      - - - -
        -
      • -

        Quaternion

        -
        public Quaternion(Vector3 axis,
        -                  float angle)
        -
        Construct Quaternion using an axis/angle to define the rotation
        -
        -
        Parameters:
        -
        axis - Sets rotation direction
        -
        angle - Angle size in degrees
        -
        -
      • -
      - - - -
        -
      • -

        Quaternion

        -
        public Quaternion(Vector3 eulerAngles)
        -
        Construct Quaternion based on eulerAngles.
        -
        -
        Parameters:
        -
        eulerAngles - - the angle in degrees for each axis.
        -
        See Also:
        -
        eulerAngles(Vector3 eulerAngles)
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        set

        -
        public void set(Quaternion q)
        -
        Copy values from another Quaternion into this one
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(Vector3 axis,
        -                float angle)
        -
        Update this Quaternion using an axis/angle to define the rotation
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(float qx,
        -                float qy,
        -                float qz,
        -                float qw)
        -
        Set each value and normalize the Quaternion
        -
      • -
      - - - -
        -
      • -

        setIdentity

        -
        public void setIdentity()
        -
        Set the Quaternion to identity
        -
      • -
      - - - -
        -
      • -

        normalize

        -
        public boolean normalize()
        -
        Rescales the quaternion to the unit length. - -

        If the Quaternion can not be scaled, it is set to identity and false is returned.

        -
        -
        Returns:
        -
        true if the Quaternion was non-zero
        -
        -
      • -
      - - - -
        -
      • -

        normalized

        -
        public Quaternion normalized()
        -
        Get a Quaternion with a matching rotation but scaled to unit length.
        -
        -
        Returns:
        -
        the quaternion scaled to the unit length, or zero if that can not be done.
        -
        -
      • -
      - - - -
        -
      • -

        inverted

        -
        public Quaternion inverted()
        -
        Get a Quaternion with the opposite rotation
        -
        -
        Returns:
        -
        the opposite rotation
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        rotateVector

        -
        public static Vector3 rotateVector(Quaternion q,
        -                                   Vector3 src)
        -
        Rotates a Vector3 by a Quaternion
        -
        -
        Returns:
        -
        The rotated vector
        -
        -
      • -
      - - - - - - - -
        -
      • -

        multiply

        -
        public static Quaternion multiply(Quaternion lhs,
        -                                  Quaternion rhs)
        -
        Create a Quaternion by combining two Quaternions multiply(lhs, rhs) is equivalent to performing - the rhs rotation then lhs rotation Ordering is important for this operation.
        -
        -
        Returns:
        -
        The combined rotation
        -
        -
      • -
      - - - - - - - -
        -
      • -

        axisAngle

        -
        public static Quaternion axisAngle(Vector3 axis,
        -                                   float degrees)
        -
        Get a new Quaternion using an axis/angle to define the rotation
        -
        -
        Parameters:
        -
        axis - Sets rotation direction
        -
        degrees - Angle size in degrees
        -
        -
      • -
      - - - -
        -
      • -

        eulerAngles

        -
        public static Quaternion eulerAngles(Vector3 eulerAngles)
        -
        Get a new Quaternion using eulerAngles to define the rotation. - -

        The rotations are applied in Z, Y, X order. This is consistent with other graphics engines. - One thing to note is the coordinate systems are different between Sceneform and Unity, so the - same angles used here will have cause a different orientation than Unity. Carefully check your - parameter values to get the same effect as in other engines.

        -
        -
        Parameters:
        -
        eulerAngles - - the angles in degrees.
        -
        -
      • -
      - - - -
        -
      • -

        rotationBetweenVectors

        -
        public static Quaternion rotationBetweenVectors(Vector3 start,
        -                                                Vector3 end)
        -
        Get a new Quaternion representing the rotation from one vector to another.
        -
      • -
      - - - -
        -
      • -

        lookRotation

        -
        public static Quaternion lookRotation(Vector3 forwardInWorld,
        -                                      Vector3 desiredUpInWorld)
        -
        Get a new Quaternion representing a rotation towards a specified forward direction. If - upInWorld is orthogonal to forwardInWorld, then the Y axis is aligned with desiredUpInWorld.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public static boolean equals(Quaternion lhs,
        -                             Quaternion rhs)
        -
        Compare two Quaternions - -

        Tests for equality by calculating the dot product of lhs and rhs. lhs and -lhs will not be - equal according to this function.

        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object other)
        -
        Returns true if the other object is a Quaternion and the dot product is 1.0 +/- a tolerance.
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        identity

        -
        public static Quaternion identity()
        -
        Get a Quaternion set to identity
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/QuaternionEvaluator.html b/docs/javadoc/com/google/ar/sceneform/math/QuaternionEvaluator.html deleted file mode 100644 index 99a3a3c1..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/QuaternionEvaluator.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - -QuaternionEvaluator (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.math
-

Class QuaternionEvaluator

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.math.QuaternionEvaluator
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    android.animation.TypeEvaluator<Quaternion>
    -
    -
    -
    -
    public class QuaternionEvaluator
    -extends java.lang.Object
    -implements android.animation.TypeEvaluator<Quaternion>
    -
    TypeEvaluator for Quaternions. Used to animate rotations.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        QuaternionEvaluator

        -
        public QuaternionEvaluator()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/Vector3.html b/docs/javadoc/com/google/ar/sceneform/math/Vector3.html deleted file mode 100644 index cff46bea..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/Vector3.html +++ /dev/null @@ -1,844 +0,0 @@ - - - - - -Vector3 (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.math
-

Class Vector3

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.math.Vector3
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Vector3
    -extends java.lang.Object
    -
    A Vector with 3 floats.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      floatx 
      floaty 
      floatz 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      Vector3() -
      Construct a Vector3 and assign zero to all values
      -
      Vector3(float x, - float y, - float z) -
      Construct a Vector3 and assign each value
      -
      Vector3(Vector3 v) -
      Construct a Vector3 and copy the values
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Vector3add(Vector3 lhs, - Vector3 rhs) -
      Adds two Vector3's
      -
      static floatangleBetweenVectors(Vector3 a, - Vector3 b) -
      Returns the shortest angle in degrees between two vectors.
      -
      static Vector3back() -
      Gets a Vector3 set to (0, 0, 1)
      -
      static Vector3cross(Vector3 lhs, - Vector3 rhs) -
      Get cross product of two Vector3's
      -
      static floatdot(Vector3 lhs, - Vector3 rhs) -
      Get dot product of two Vector3's
      -
      static Vector3down() -
      Gets a Vector3 set to (0, -1, 0)
      -
      booleanequals(java.lang.Object other) -
      Returns true if the other object is a Vector3 and each component is equal within a tolerance.
      -
      static booleanequals(Vector3 lhs, - Vector3 rhs) -
      Compares two Vector3's are equal if each component is equal within a tolerance.
      -
      static Vector3forward() -
      Gets a Vector3 set to (0, 0, -1)
      -
      inthashCode() 
      static Vector3left() -
      Gets a Vector3 set to (-1, 0, 0)
      -
      floatlength() 
      floatlengthSquared() 
      static Vector3lerp(Vector3 a, - Vector3 b, - float t) -
      Linearly interpolates between a and b.
      -
      static Vector3max(Vector3 lhs, - Vector3 rhs) -
      Get a Vector3 with each value set to the element wise maximum of two Vector3's values
      -
      static Vector3min(Vector3 lhs, - Vector3 rhs) -
      Get a Vector3 with each value set to the element wise minimum of two Vector3's values
      -
      Vector3negated() -
      Negates a Vector3
      -
      Vector3normalized() -
      Scales the Vector3 to the unit length
      -
      static Vector3one() -
      Gets a Vector3 with all values set to one
      -
      static Vector3right() -
      Gets a Vector3 set to (1, 0, 0)
      -
      Vector3scaled(float a) -
      Uniformly scales a Vector3
      -
      voidset(float vx, - float vy, - float vz) -
      Set each value
      -
      voidset(Vector3 v) -
      Copy the values from another Vector3 to this Vector3
      -
      static Vector3subtract(Vector3 lhs, - Vector3 rhs) -
      Subtract two Vector3
      -
      java.lang.StringtoString() 
      static Vector3up() -
      Gets a Vector3 set to (0, 1, 0)
      -
      static Vector3zero() -
      Gets a Vector3 with all values set to zero
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        x

        -
        public float x
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y
        -
      • -
      - - - -
        -
      • -

        z

        -
        public float z
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Vector3

        -
        public Vector3()
        -
        Construct a Vector3 and assign zero to all values
        -
      • -
      - - - -
        -
      • -

        Vector3

        -
        public Vector3(float x,
        -               float y,
        -               float z)
        -
        Construct a Vector3 and assign each value
        -
      • -
      - - - -
        -
      • -

        Vector3

        -
        public Vector3(Vector3 v)
        -
        Construct a Vector3 and copy the values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        set

        -
        public void set(Vector3 v)
        -
        Copy the values from another Vector3 to this Vector3
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(float vx,
        -                float vy,
        -                float vz)
        -
        Set each value
        -
      • -
      - - - -
        -
      • -

        lengthSquared

        -
        public float lengthSquared()
        -
      • -
      - - - -
        -
      • -

        length

        -
        public float length()
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        normalized

        -
        public Vector3 normalized()
        -
        Scales the Vector3 to the unit length
        -
      • -
      - - - -
        -
      • -

        scaled

        -
        public Vector3 scaled(float a)
        -
        Uniformly scales a Vector3
        -
        -
        Returns:
        -
        a Vector3 multiplied by a scalar amount
        -
        -
      • -
      - - - -
        -
      • -

        negated

        -
        public Vector3 negated()
        -
        Negates a Vector3
        -
        -
        Returns:
        -
        A Vector3 with opposite direction
        -
        -
      • -
      - - - -
        -
      • -

        add

        -
        public static Vector3 add(Vector3 lhs,
        -                          Vector3 rhs)
        -
        Adds two Vector3's
        -
        -
        Returns:
        -
        The combined Vector3
        -
        -
      • -
      - - - -
        -
      • -

        subtract

        -
        public static Vector3 subtract(Vector3 lhs,
        -                               Vector3 rhs)
        -
        Subtract two Vector3
        -
        -
        Returns:
        -
        The combined Vector3
        -
        -
      • -
      - - - -
        -
      • -

        dot

        -
        public static float dot(Vector3 lhs,
        -                        Vector3 rhs)
        -
        Get dot product of two Vector3's
        -
        -
        Returns:
        -
        The scalar product of the Vector3's
        -
        -
      • -
      - - - -
        -
      • -

        cross

        -
        public static Vector3 cross(Vector3 lhs,
        -                            Vector3 rhs)
        -
        Get cross product of two Vector3's
        -
        -
        Returns:
        -
        A Vector3 perpendicular to Vector3's
        -
        -
      • -
      - - - -
        -
      • -

        min

        -
        public static Vector3 min(Vector3 lhs,
        -                          Vector3 rhs)
        -
        Get a Vector3 with each value set to the element wise minimum of two Vector3's values
        -
      • -
      - - - -
        -
      • -

        max

        -
        public static Vector3 max(Vector3 lhs,
        -                          Vector3 rhs)
        -
        Get a Vector3 with each value set to the element wise maximum of two Vector3's values
        -
      • -
      - - - -
        -
      • -

        lerp

        -
        public static Vector3 lerp(Vector3 a,
        -                           Vector3 b,
        -                           float t)
        -
        Linearly interpolates between a and b.
        -
        -
        Parameters:
        -
        a - the beginning value
        -
        b - the ending value
        -
        t - ratio between the two floats.
        -
        Returns:
        -
        interpolated value between the two floats
        -
        -
      • -
      - - - -
        -
      • -

        angleBetweenVectors

        -
        public static float angleBetweenVectors(Vector3 a,
        -                                        Vector3 b)
        -
        Returns the shortest angle in degrees between two vectors. The result is never greater than 180 - degrees.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public static boolean equals(Vector3 lhs,
        -                             Vector3 rhs)
        -
        Compares two Vector3's are equal if each component is equal within a tolerance.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object other)
        -
        Returns true if the other object is a Vector3 and each component is equal within a tolerance.
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        zero

        -
        public static Vector3 zero()
        -
        Gets a Vector3 with all values set to zero
        -
      • -
      - - - -
        -
      • -

        one

        -
        public static Vector3 one()
        -
        Gets a Vector3 with all values set to one
        -
      • -
      - - - -
        -
      • -

        forward

        -
        public static Vector3 forward()
        -
        Gets a Vector3 set to (0, 0, -1)
        -
      • -
      - - - -
        -
      • -

        back

        -
        public static Vector3 back()
        -
        Gets a Vector3 set to (0, 0, 1)
        -
      • -
      - - - -
        -
      • -

        up

        -
        public static Vector3 up()
        -
        Gets a Vector3 set to (0, 1, 0)
        -
      • -
      - - - -
        -
      • -

        down

        -
        public static Vector3 down()
        -
        Gets a Vector3 set to (0, -1, 0)
        -
      • -
      - - - -
        -
      • -

        right

        -
        public static Vector3 right()
        -
        Gets a Vector3 set to (1, 0, 0)
        -
      • -
      - - - -
        -
      • -

        left

        -
        public static Vector3 left()
        -
        Gets a Vector3 set to (-1, 0, 0)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/Vector3Evaluator.html b/docs/javadoc/com/google/ar/sceneform/math/Vector3Evaluator.html deleted file mode 100644 index 47364326..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/Vector3Evaluator.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - -Vector3Evaluator (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.math
-

Class Vector3Evaluator

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.math.Vector3Evaluator
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    android.animation.TypeEvaluator<Vector3>
    -
    -
    -
    -
    public class Vector3Evaluator
    -extends java.lang.Object
    -implements android.animation.TypeEvaluator<Vector3>
    -
    TypeEvaluator for Vector3. Used to animate positions and other vectors.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Vector3Evaluator() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Vector3evaluate(float fraction, - Vector3 startValue, - Vector3 endValue) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Vector3Evaluator

        -
        public Vector3Evaluator()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        evaluate

        -
        public Vector3 evaluate(float fraction,
        -                        Vector3 startValue,
        -                        Vector3 endValue)
        -
        -
        Specified by:
        -
        evaluate in interface android.animation.TypeEvaluator<Vector3>
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/package-frame.html b/docs/javadoc/com/google/ar/sceneform/math/package-frame.html deleted file mode 100644 index b95f2ca7..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - -com.google.ar.sceneform.math (core API) - - - - -

com.google.ar.sceneform.math

- - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/package-summary.html b/docs/javadoc/com/google/ar/sceneform/math/package-summary.html deleted file mode 100644 index 7f4016a9..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/package-summary.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - -com.google.ar.sceneform.math (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.math

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    MathHelper -
    Static functions for common math operations.
    -
    Matrix -
    4x4 Matrix representing translation, scale, and rotation.
    -
    Quaternion -
    A Sceneform quaternion class for floats.
    -
    QuaternionEvaluator -
    TypeEvaluator for Quaternions.
    -
    Vector3 -
    A Vector with 3 floats.
    -
    Vector3Evaluator -
    TypeEvaluator for Vector3.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/math/package-tree.html b/docs/javadoc/com/google/ar/sceneform/math/package-tree.html deleted file mode 100644 index e69a8094..00000000 --- a/docs/javadoc/com/google/ar/sceneform/math/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -com.google.ar.sceneform.math Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.math

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.google.ar.sceneform.math.MathHelper
    • -
    • com.google.ar.sceneform.math.Matrix
    • -
    • com.google.ar.sceneform.math.Quaternion
    • -
    • com.google.ar.sceneform.math.QuaternionEvaluator (implements android.animation.TypeEvaluator<T>)
    • -
    • com.google.ar.sceneform.math.Vector3
    • -
    • com.google.ar.sceneform.math.Vector3Evaluator (implements android.animation.TypeEvaluator<T>)
    • -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/package-frame.html b/docs/javadoc/com/google/ar/sceneform/package-frame.html deleted file mode 100644 index 476b40ed..00000000 --- a/docs/javadoc/com/google/ar/sceneform/package-frame.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - -com.google.ar.sceneform (core API) - - - - -

com.google.ar.sceneform

- - - diff --git a/docs/javadoc/com/google/ar/sceneform/package-summary.html b/docs/javadoc/com/google/ar/sceneform/package-summary.html deleted file mode 100644 index d410a645..00000000 --- a/docs/javadoc/com/google/ar/sceneform/package-summary.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - -com.google.ar.sceneform (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    Node.LifecycleListener -
    Interface definition for callbacks to be invoked when node lifecycle events occur.
    -
    Node.OnTapListener -
    Interface definition for a callback to be invoked when a node is tapped.
    -
    Node.OnTouchListener -
    Interface definition for a callback to be invoked when a touch event is dispatched to this - node.
    -
    Node.TransformChangedListener -
    Interface definition for callbacks to be invoked when the transformation of the node changes.
    -
    Scene.OnPeekTouchListener -
    Interface definition for a callback to be invoked when a touch event is dispatched to a scene.
    -
    Scene.OnTouchListener -
    Interface definition for a callback to be invoked when a touch event is dispatched to a scene.
    -
    Scene.OnUpdateListener -
    Interface definition for a callback to be invoked once per frame immediately before the scene - is updated.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    AnchorNode -
    Node that is automatically positioned in world space based on an ARCore Anchor.
    -
    ArSceneView -
    A SurfaceView that integrates with ARCore and renders a scene.
    -
    Camera -
    Represents a virtual camera, which determines the perspective through which the scene is viewed.
    -
    FrameTime -
    Provides time information for the current frame.
    -
    HitTestResult -
    Stores the results of calls to Scene.hitTest and Scene.hitTestAll.
    -
    Node -
    A Node represents a transformation within the scene graph's hierarchy.
    -
    NodeParent -
    Base class for all classes that can contain a set of nodes as children.
    -
    Scene -
    The Sceneform Scene maintains the scene graph, a hierarchical organization of a scene's content.
    -
    SceneView -
    A Sceneform SurfaceView that manages rendering and interaction with the scene.
    -
    Sun -
    Represents the "sun" - the default directional light in the scene.
    -
    TouchEventSystem -
    Manages propagation of touch events to node's within a scene.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/package-tree.html b/docs/javadoc/com/google/ar/sceneform/package-tree.html deleted file mode 100644 index 2907ae95..00000000 --- a/docs/javadoc/com/google/ar/sceneform/package-tree.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - -com.google.ar.sceneform Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.google.ar.sceneform.FrameTime
    • -
    • com.google.ar.sceneform.NodeParent - -
    • -
    • com.google.ar.sceneform.collision.RayHit - -
    • -
    • com.google.ar.sceneform.TouchEventSystem
    • -
    • android.view.View (implements android.view.accessibility.AccessibilityEventSource, android.graphics.drawable.Drawable.Callback, android.view.KeyEvent.Callback) -
        -
      • android.view.SurfaceView -
          -
        • com.google.ar.sceneform.SceneView (implements android.view.Choreographer.FrameCallback) - -
        • -
        -
      • -
      -
    • -
    -
  • -
-

Interface Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/CleanupRegistry.html b/docs/javadoc/com/google/ar/sceneform/rendering/CleanupRegistry.html deleted file mode 100644 index d6caaf43..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/CleanupRegistry.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - -CleanupRegistry (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class CleanupRegistry<T>

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.CleanupRegistry<T>
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    ResourceHolder
    -
    -
    -
    -
    public class CleanupRegistry<T>
    -extends java.lang.Object
    -implements ResourceHolder
    -
    Maintains a ReferenceQueue and executes a Runnable after each object in the queue - is garbage collected.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      CleanupRegistry() 
      CleanupRegistry(java.util.HashSet<com.google.ar.sceneform.rendering.CleanupItem<T>> cleanupItemHashSet, - java.lang.ref.ReferenceQueue<T> referenceQueue) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voiddestroyAllResources() -
      Ignores reference count and releases any associated resources
      -
      longreclaimReleasedResources() -
      Polls the ReferenceQueue for garbage collected objects and runs the associated Runnable
      -
      voidregister(T trackedObject, - java.lang.Runnable cleanupCallback) -
      Adds trackedOBject to the ReferenceQueue.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CleanupRegistry

        -
        public CleanupRegistry()
        -
      • -
      - - - -
        -
      • -

        CleanupRegistry

        -
        public CleanupRegistry(java.util.HashSet<com.google.ar.sceneform.rendering.CleanupItem<T>> cleanupItemHashSet,
        -                       java.lang.ref.ReferenceQueue<T> referenceQueue)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - -
        -
      • -

        register

        -
        public void register(T trackedObject,
        -                     java.lang.Runnable cleanupCallback)
        -
        Adds trackedOBject to the ReferenceQueue.
        -
        -
        Parameters:
        -
        trackedObject - The target to be tracked.
        -
        cleanupCallback - Will be called after trackedOBject is disposed.
        -
        -
      • -
      - - - -
        -
      • -

        reclaimReleasedResources

        -
        public long reclaimReleasedResources()
        -
        Polls the ReferenceQueue for garbage collected objects and runs the associated Runnable
        -
        -
        Specified by:
        -
        reclaimReleasedResources in interface ResourceHolder
        -
        Returns:
        -
        count of resources remaining.
        -
        -
      • -
      - - - -
        -
      • -

        destroyAllResources

        -
        public void destroyAllResources()
        -
        Ignores reference count and releases any associated resources
        -
        -
        Specified by:
        -
        destroyAllResources in interface ResourceHolder
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Color.html b/docs/javadoc/com/google/ar/sceneform/rendering/Color.html deleted file mode 100644 index c9976c8f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Color.html +++ /dev/null @@ -1,497 +0,0 @@ - - - - - -Color (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Color

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Color
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Color
    -extends java.lang.Object
    -
    An RGBA color. Each component is a value with a range from 0 to 1. Can be created from an Android - ColorInt.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      floata 
      floatb 
      floatg 
      floatr 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      Color() -
      Construct a Color and default it to white (1, 1, 1, 1).
      -
      Color(Color color) -
      Construct a Color with the values of another color.
      -
      Color(float r, - float g, - float b) -
      Construct a color with the RGB values passed in and an alpha of 1.
      -
      Color(float r, - float g, - float b, - float a) -
      Construct a color with the RGBA values passed in.
      -
      Color(int argb) -
      Construct a color with an integer in the sRGB color space packed as an ARGB value.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      ColorinverseTonemap() -
      Returns a new color with Sceneform's tonemapping inversed.
      -
      voidset(Color color) -
      Set to the values of another color.
      -
      voidset(float r, - float g, - float b) -
      Set to the RGB values passed in and an alpha of 1.
      -
      voidset(float r, - float g, - float b, - float a) -
      Set to the RGBA values passed in.
      -
      voidset(int argb) -
      Set to RGBA values from an integer in the sRGB color space packed as an ARGB value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        r

        -
        public float r
        -
      • -
      - - - -
        -
      • -

        g

        -
        public float g
        -
      • -
      - - - -
        -
      • -

        b

        -
        public float b
        -
      • -
      - - - -
        -
      • -

        a

        -
        public float a
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Color

        -
        public Color()
        -
        Construct a Color and default it to white (1, 1, 1, 1).
        -
      • -
      - - - -
        -
      • -

        Color

        -
        public Color(Color color)
        -
        Construct a Color with the values of another color.
        -
      • -
      - - - -
        -
      • -

        Color

        -
        public Color(float r,
        -             float g,
        -             float b)
        -
        Construct a color with the RGB values passed in and an alpha of 1.
        -
      • -
      - - - -
        -
      • -

        Color

        -
        public Color(float r,
        -             float g,
        -             float b,
        -             float a)
        -
        Construct a color with the RGBA values passed in.
        -
      • -
      - - - -
        -
      • -

        Color

        -
        public Color(int argb)
        -
        Construct a color with an integer in the sRGB color space packed as an ARGB value. Used for - constructing from an Android ColorInt.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        set

        -
        public void set(Color color)
        -
        Set to the values of another color.
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(float r,
        -                float g,
        -                float b)
        -
        Set to the RGB values passed in and an alpha of 1.
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(float r,
        -                float g,
        -                float b,
        -                float a)
        -
        Set to the RGBA values passed in.
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set(int argb)
        -
        Set to RGBA values from an integer in the sRGB color space packed as an ARGB value. Used for - setting from an Android ColorInt.
        -
      • -
      - - - -
        -
      • -

        inverseTonemap

        -
        public Color inverseTonemap()
        -
        Returns a new color with Sceneform's tonemapping inversed.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/DpToMetersViewSizer.html b/docs/javadoc/com/google/ar/sceneform/rendering/DpToMetersViewSizer.html deleted file mode 100644 index 76d35247..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/DpToMetersViewSizer.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - -DpToMetersViewSizer (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class DpToMetersViewSizer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.DpToMetersViewSizer
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      DpToMetersViewSizer(int dpPerMeters) -
      Constructor for creating a sizer for controlling the size of a ViewRenderable by - defining how many dp there are per meter.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetDpPerMeters() -
      Returns the number of dp (density-independent pixels) there are per meter that is used for - controlling the size of a ViewRenderable.
      -
      Vector3getSize(android.view.View view) -
      Calculates the desired size of the view in the Scene.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DpToMetersViewSizer

        -
        public DpToMetersViewSizer(int dpPerMeters)
        -
        Constructor for creating a sizer for controlling the size of a ViewRenderable by - defining how many dp there are per meter.
        -
        -
        Parameters:
        -
        dpPerMeters - a number greater than zero representing the ratio of dp to meters
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDpPerMeters

        -
        public int getDpPerMeters()
        -
        Returns the number of dp (density-independent pixels) there are per meter that is used for - controlling the size of a ViewRenderable.
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public Vector3 getSize(android.view.View view)
        -
        Description copied from interface: ViewSizer
        -
        Calculates the desired size of the view in the Scene. Vector3.x represents the width, and Vector3.y represents the height.
        -
        -
        Specified by:
        -
        getSize in interface ViewSizer
        -
        Parameters:
        -
        view - the view to calculate the size of
        -
        Returns:
        -
        a new vector that represents the view's size in the Scene
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/EngineInstance.html b/docs/javadoc/com/google/ar/sceneform/rendering/EngineInstance.html deleted file mode 100644 index c0085e69..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/EngineInstance.html +++ /dev/null @@ -1,341 +0,0 @@ - - - - - -EngineInstance (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class EngineInstance

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.EngineInstance
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class EngineInstance
    -extends java.lang.Object
    -
    Store a single Filament Engine instance.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        EngineInstance

        -
        public EngineInstance()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        enableHeadlessEngine

        -
        public static void enableHeadlessEngine()
        -
      • -
      - - - -
        -
      • -

        disableHeadlessEngine

        -
        public static void disableHeadlessEngine()
        -
      • -
      - - - -
        -
      • -

        isHeadlessMode

        -
        public static boolean isHeadlessMode()
        -
      • -
      - - - -
        -
      • -

        getEngine

        -
        public static IEngine getEngine()
        -
        Get the Filament Engine instance, creating it if necessary.
        -
        -
        Throws:
        -
        java.lang.IllegalStateException
        -
        -
      • -
      - - - -
        -
      • -

        destroyEngine

        -
        public static void destroyEngine()
        -
      • -
      - - - -
        -
      • -

        isEngineDestroyed

        -
        public static boolean isEngineDestroyed()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/EnvironmentalHdrLightEstimate.html b/docs/javadoc/com/google/ar/sceneform/rendering/EnvironmentalHdrLightEstimate.html deleted file mode 100644 index f386a04d..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/EnvironmentalHdrLightEstimate.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - -EnvironmentalHdrLightEstimate (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class EnvironmentalHdrLightEstimate

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.EnvironmentalHdrLightEstimate
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class EnvironmentalHdrLightEstimate
    -extends java.lang.Object
    -implements java.io.Serializable
    -
    Serialization structure for saving light estimate state for offline use, e.g. in tests.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      EnvironmentalHdrLightEstimate(float[] sphericalHarmonics, - float[] direction, - Color colorCorrection, - float relativeIntensity, - android.media.Image[] cubeMap) 
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        EnvironmentalHdrLightEstimate

        -
        public EnvironmentalHdrLightEstimate(float[] sphericalHarmonics,
        -                                     float[] direction,
        -                                     Color colorCorrection,
        -                                     float relativeIntensity,
        -                                     android.media.Image[] cubeMap)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSphericalHarmonics

        -
        public float[] getSphericalHarmonics()
        -
      • -
      - - - -
        -
      • -

        getDirection

        -
        public float[] getDirection()
        -
      • -
      - - - -
        -
      • -

        getColor

        -
        public Color getColor()
        -
      • -
      - - - -
        -
      • -

        getRelativeIntensity

        -
        public float getRelativeIntensity()
        -
      • -
      - - - -
        -
      • -

        getCubeMap

        -
        public com.google.ar.sceneform.rendering.EnvironmentalHdrLightEstimate.CubeMapImage[] getCubeMap()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ExternalTexture.html b/docs/javadoc/com/google/ar/sceneform/rendering/ExternalTexture.html deleted file mode 100644 index 43c53eba..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ExternalTexture.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - -ExternalTexture (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ExternalTexture

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.ExternalTexture
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class ExternalTexture
    -extends java.lang.Object
    -
    Creates an Android SurfaceTexture and Surface that can be displayed by Sceneform. - Useful for displaying video, or anything else that can be drawn to a SurfaceTexture. - -

    The getFilamentEngine OpenGL ES texture is automatically created by Sceneform. Also, SurfaceTexture.updateTexImage() is automatically called and should not be called manually. - -

    Call Material.setExternalTexture(String, ExternalTexture) to use an ExternalTexture. - The material parameter MUST be of type 'samplerExternal'.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ExternalTexture() -
      Creates an ExternalTexture with a new Android SurfaceTexture and Surface.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      android.view.SurfacegetSurface() -
      Gets the surface created for this ExternalTexture that draws to getSurfaceTexture()
      -
      android.graphics.SurfaceTexturegetSurfaceTexture() -
      Gets the surface texture created for this ExternalTexture.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ExternalTexture

        -
        public ExternalTexture()
        -
        Creates an ExternalTexture with a new Android SurfaceTexture and Surface.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSurfaceTexture

        -
        public android.graphics.SurfaceTexture getSurfaceTexture()
        -
        Gets the surface texture created for this ExternalTexture.
        -
      • -
      - - - -
        -
      • -

        getSurface

        -
        public android.view.Surface getSurface()
        -
        Gets the surface created for this ExternalTexture that draws to getSurfaceTexture()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/FilamentEngineWrapper.html b/docs/javadoc/com/google/ar/sceneform/rendering/FilamentEngineWrapper.html deleted file mode 100644 index c2547807..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/FilamentEngineWrapper.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - -FilamentEngineWrapper (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class FilamentEngineWrapper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.FilamentEngineWrapper
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    IEngine
    -
    -
    -
    Direct Known Subclasses:
    -
    HeadlessEngineWrapper
    -
    -
    -
    -
    public class FilamentEngineWrapper
    -extends java.lang.Object
    -implements IEngine
    -
    Wraps calls to Filament engine.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FilamentEngineWrapper

        -
        public FilamentEngineWrapper(Engine engine)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getFilamentEngine

        -
        public Engine getFilamentEngine()
        -
        -
        Specified by:
        -
        getFilamentEngine in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        isValid

        -
        public boolean isValid()
        -
        -
        Specified by:
        -
        isValid in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroy

        -
        public void destroy()
        -
        -
        Specified by:
        -
        destroy in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createSwapChain

        -
        public SwapChain createSwapChain(java.lang.Object surface)
        -
        Description copied from interface: IEngine
        -
        Valid surface types: - Android: Surface - Other: none
        -
        -
        Specified by:
        -
        createSwapChain in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createSwapChain

        -
        public SwapChain createSwapChain(java.lang.Object surface,
        -                                 long flags)
        -
        Description copied from interface: IEngine
        -
        Valid surface types: - Android: Surface - Other: none - -

        Flags: see CONFIG flags in SwapChain.

        -
        -
        Specified by:
        -
        createSwapChain in interface IEngine
        -
        See Also:
        -
        SwapChain#CONFIG_DEFAULT, -SwapChain#CONFIG_TRANSPARENT, -SwapChain#CONFIG_READABLE
        -
        -
      • -
      - - - -
        -
      • -

        createSwapChainFromNativeSurface

        -
        public SwapChain createSwapChainFromNativeSurface(NativeSurface surface,
        -                                                  long flags)
        -
        -
        Specified by:
        -
        createSwapChainFromNativeSurface in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroySwapChain

        -
        public void destroySwapChain(SwapChain swapChain)
        -
        -
        Specified by:
        -
        destroySwapChain in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createView

        -
        public View createView()
        -
        -
        Specified by:
        -
        createView in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyView

        -
        public void destroyView(View view)
        -
        -
        Specified by:
        -
        destroyView in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createRenderer

        -
        public com.google.android.filament.Renderer createRenderer()
        -
        -
        Specified by:
        -
        createRenderer in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyRenderer

        -
        public void destroyRenderer(com.google.android.filament.Renderer renderer)
        -
        -
        Specified by:
        -
        destroyRenderer in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createCamera

        -
        public Camera createCamera()
        -
        -
        Specified by:
        -
        createCamera in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createCamera

        -
        public Camera createCamera(int entity)
        -
        -
        Specified by:
        -
        createCamera in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyCamera

        -
        public void destroyCamera(Camera camera)
        -
        -
        Specified by:
        -
        destroyCamera in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createScene

        -
        public Scene createScene()
        -
        -
        Specified by:
        -
        createScene in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyScene

        -
        public void destroyScene(Scene scene)
        -
        -
        Specified by:
        -
        destroyScene in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyStream

        -
        public void destroyStream(Stream stream)
        -
        -
        Specified by:
        -
        destroyStream in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        createFence

        -
        public Fence createFence()
        -
        -
        Specified by:
        -
        createFence in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyFence

        -
        public void destroyFence(Fence fence)
        -
        -
        Specified by:
        -
        destroyFence in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyIndexBuffer

        -
        public void destroyIndexBuffer(IndexBuffer indexBuffer)
        -
        -
        Specified by:
        -
        destroyIndexBuffer in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyVertexBuffer

        -
        public void destroyVertexBuffer(VertexBuffer vertexBuffer)
        -
        -
        Specified by:
        -
        destroyVertexBuffer in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyIndirectLight

        -
        public void destroyIndirectLight(IndirectLight ibl)
        -
        -
        Specified by:
        -
        destroyIndirectLight in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyMaterial

        -
        public void destroyMaterial(com.google.android.filament.Material material)
        -
        -
        Specified by:
        -
        destroyMaterial in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyMaterialInstance

        -
        public void destroyMaterialInstance(MaterialInstance materialInstance)
        -
        -
        Specified by:
        -
        destroyMaterialInstance in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroySkybox

        -
        public void destroySkybox(Skybox skybox)
        -
        -
        Specified by:
        -
        destroySkybox in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyTexture

        -
        public void destroyTexture(com.google.android.filament.Texture texture)
        -
        -
        Specified by:
        -
        destroyTexture in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        destroyEntity

        -
        public void destroyEntity(int entity)
        -
        -
        Specified by:
        -
        destroyEntity in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        getTransformManager

        -
        public TransformManager getTransformManager()
        -
        -
        Specified by:
        -
        getTransformManager in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        getLightManager

        -
        public LightManager getLightManager()
        -
        -
        Specified by:
        -
        getLightManager in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        getRenderableManager

        -
        public RenderableManager getRenderableManager()
        -
        -
        Specified by:
        -
        getRenderableManager in interface IEngine
        -
        -
      • -
      - - - -
        -
      • -

        flushAndWait

        -
        public void flushAndWait()
        -
        -
        Specified by:
        -
        flushAndWait in interface IEngine
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/FixedHeightViewSizer.html b/docs/javadoc/com/google/ar/sceneform/rendering/FixedHeightViewSizer.html deleted file mode 100644 index ff90cb24..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/FixedHeightViewSizer.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - -FixedHeightViewSizer (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class FixedHeightViewSizer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.FixedHeightViewSizer
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      FixedHeightViewSizer(float heightMeters) -
      Constructor for creating a sizer for controlling the size of a ViewRenderable by - defining a fixed height.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      floatgetHeight() -
      Returns the height in meters used for controlling the size of a ViewRenderable.
      -
      Vector3getSize(android.view.View view) -
      Calculates the desired size of the view in the Scene.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FixedHeightViewSizer

        -
        public FixedHeightViewSizer(float heightMeters)
        -
        Constructor for creating a sizer for controlling the size of a ViewRenderable by - defining a fixed height.
        -
        -
        Parameters:
        -
        heightMeters - a number greater than zero representing the height in meters.
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getHeight

        -
        public float getHeight()
        -
        Returns the height in meters used for controlling the size of a ViewRenderable.
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public Vector3 getSize(android.view.View view)
        -
        Description copied from interface: ViewSizer
        -
        Calculates the desired size of the view in the Scene. Vector3.x represents the width, and Vector3.y represents the height.
        -
        -
        Specified by:
        -
        getSize in interface ViewSizer
        -
        Parameters:
        -
        view - the view to calculate the size of
        -
        Returns:
        -
        a new vector that represents the view's size in the Scene
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/FixedWidthViewSizer.html b/docs/javadoc/com/google/ar/sceneform/rendering/FixedWidthViewSizer.html deleted file mode 100644 index 23b757e4..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/FixedWidthViewSizer.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - -FixedWidthViewSizer (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class FixedWidthViewSizer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.FixedWidthViewSizer
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      FixedWidthViewSizer(float widthMeters) -
      Constructor for creating a sizer for controlling the size of a ViewRenderable by - defining a fixed width.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Vector3getSize(android.view.View view) -
      Calculates the desired size of the view in the Scene.
      -
      floatgetWidth() -
      Returns the width in meters used for controlling the size of a ViewRenderable.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FixedWidthViewSizer

        -
        public FixedWidthViewSizer(float widthMeters)
        -
        Constructor for creating a sizer for controlling the size of a ViewRenderable by - defining a fixed width.
        -
        -
        Parameters:
        -
        widthMeters - a number greater than zero representing the width in meters.
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getWidth

        -
        public float getWidth()
        -
        Returns the width in meters used for controlling the size of a ViewRenderable.
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public Vector3 getSize(android.view.View view)
        -
        Description copied from interface: ViewSizer
        -
        Calculates the desired size of the view in the Scene. Vector3.x represents the width, and Vector3.y represents the height.
        -
        -
        Specified by:
        -
        getSize in interface ViewSizer
        -
        Parameters:
        -
        view - the view to calculate the size of
        -
        Returns:
        -
        a new vector that represents the view's size in the Scene
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/GLHelper.html b/docs/javadoc/com/google/ar/sceneform/rendering/GLHelper.html deleted file mode 100644 index bfd5ef0d..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/GLHelper.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - -GLHelper (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class GLHelper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.GLHelper
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class GLHelper
    -extends java.lang.Object
    -
    Convenience class to perform common GL operations
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      GLHelper() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static intcreateCameraTexture() 
      static voiddestroyContext(android.opengl.EGLContext context) 
      static android.opengl.EGLContextmakeContext() 
      static android.opengl.EGLContextmakeContext(android.opengl.EGLContext shareContext) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GLHelper

        -
        public GLHelper()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        makeContext

        -
        public static android.opengl.EGLContext makeContext()
        -
      • -
      - - - -
        -
      • -

        makeContext

        -
        public static android.opengl.EGLContext makeContext(android.opengl.EGLContext shareContext)
        -
      • -
      - - - -
        -
      • -

        createCameraTexture

        -
        public static int createCameraTexture()
        -
      • -
      - - - -
        -
      • -

        destroyContext

        -
        public static void destroyContext(android.opengl.EGLContext context)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/HeadlessEngineWrapper.html b/docs/javadoc/com/google/ar/sceneform/rendering/HeadlessEngineWrapper.html deleted file mode 100644 index f034eb88..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/HeadlessEngineWrapper.html +++ /dev/null @@ -1,428 +0,0 @@ - - - - - -HeadlessEngineWrapper (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class HeadlessEngineWrapper

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    IEngine
    -
    -
    -
    -
    public class HeadlessEngineWrapper
    -extends FilamentEngineWrapper
    -
    Interface for the swiftshader backed version of the Filament engine.
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/IEngine.html b/docs/javadoc/com/google/ar/sceneform/rendering/IEngine.html deleted file mode 100644 index 900c5db0..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/IEngine.html +++ /dev/null @@ -1,633 +0,0 @@ - - - - - -IEngine (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Interface IEngine

-
-
-
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getFilamentEngine

        -
        Engine getFilamentEngine()
        -
      • -
      - - - -
        -
      • -

        isValid

        -
        boolean isValid()
        -
      • -
      - - - -
        -
      • -

        destroy

        -
        void destroy()
        -
      • -
      - - - -
        -
      • -

        createSwapChain

        -
        SwapChain createSwapChain(java.lang.Object surface)
        -
        Valid surface types: - Android: Surface - Other: none
        -
      • -
      - - - -
        -
      • -

        createSwapChain

        -
        SwapChain createSwapChain(java.lang.Object surface,
        -                          long flags)
        -
        Valid surface types: - Android: Surface - Other: none - -

        Flags: see CONFIG flags in SwapChain.

        -
        -
        See Also:
        -
        SwapChain#CONFIG_DEFAULT, -SwapChain#CONFIG_TRANSPARENT, -SwapChain#CONFIG_READABLE
        -
        -
      • -
      - - - -
        -
      • -

        createSwapChainFromNativeSurface

        -
        SwapChain createSwapChainFromNativeSurface(NativeSurface surface,
        -                                           long flags)
        -
      • -
      - - - -
        -
      • -

        destroySwapChain

        -
        void destroySwapChain(SwapChain swapChain)
        -
      • -
      - - - -
        -
      • -

        createView

        -
        View createView()
        -
      • -
      - - - -
        -
      • -

        destroyView

        -
        void destroyView(View view)
        -
      • -
      - - - -
        -
      • -

        createRenderer

        -
        com.google.android.filament.Renderer createRenderer()
        -
      • -
      - - - -
        -
      • -

        destroyRenderer

        -
        void destroyRenderer(com.google.android.filament.Renderer renderer)
        -
      • -
      - - - -
        -
      • -

        createCamera

        -
        Camera createCamera()
        -
      • -
      - - - -
        -
      • -

        createCamera

        -
        Camera createCamera(int entity)
        -
      • -
      - - - -
        -
      • -

        destroyCamera

        -
        void destroyCamera(Camera camera)
        -
      • -
      - - - -
        -
      • -

        createScene

        -
        Scene createScene()
        -
      • -
      - - - -
        -
      • -

        destroyScene

        -
        void destroyScene(Scene scene)
        -
      • -
      - - - -
        -
      • -

        destroyStream

        -
        void destroyStream(Stream stream)
        -
      • -
      - - - -
        -
      • -

        createFence

        -
        Fence createFence()
        -
      • -
      - - - -
        -
      • -

        destroyFence

        -
        void destroyFence(Fence fence)
        -
      • -
      - - - -
        -
      • -

        destroyIndexBuffer

        -
        void destroyIndexBuffer(IndexBuffer indexBuffer)
        -
      • -
      - - - -
        -
      • -

        destroyVertexBuffer

        -
        void destroyVertexBuffer(VertexBuffer vertexBuffer)
        -
      • -
      - - - -
        -
      • -

        destroyIndirectLight

        -
        void destroyIndirectLight(IndirectLight ibl)
        -
      • -
      - - - -
        -
      • -

        destroyMaterial

        -
        void destroyMaterial(com.google.android.filament.Material material)
        -
      • -
      - - - -
        -
      • -

        destroyMaterialInstance

        -
        void destroyMaterialInstance(MaterialInstance materialInstance)
        -
      • -
      - - - -
        -
      • -

        destroySkybox

        -
        void destroySkybox(Skybox skybox)
        -
      • -
      - - - -
        -
      • -

        destroyTexture

        -
        void destroyTexture(com.google.android.filament.Texture texture)
        -
      • -
      - - - -
        -
      • -

        destroyEntity

        -
        void destroyEntity(int entity)
        -
      • -
      - - - -
        -
      • -

        getTransformManager

        -
        TransformManager getTransformManager()
        -
      • -
      - - - -
        -
      • -

        getLightManager

        -
        LightManager getLightManager()
        -
      • -
      - - - -
        -
      • -

        getRenderableManager

        -
        RenderableManager getRenderableManager()
        -
      • -
      - - - -
        -
      • -

        flushAndWait

        -
        void flushAndWait()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Light.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/Light.Builder.html deleted file mode 100644 index eb812816..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Light.Builder.html +++ /dev/null @@ -1,401 +0,0 @@ - - - - - -Light.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Light.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Light.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Light
    -
    -
    -
    -
    public static final class Light.Builder
    -extends java.lang.Object
    -
    Factory class for Light
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Lightbuild() -
      Creates a new Light based on the parameters set previously
      -
      Light.BuildersetColor(Color color) -
      Sets the "RGB" color of the light.
      -
      Light.BuildersetColorTemperature(float temperature) -
      Sets the "RGB" color of the light based on the desired "color temperature."
      -
      Light.BuildersetFalloffRadius(float falloffRadius) -
      Sets the range that the light intensity falls off to zero.
      -
      Light.BuildersetInnerConeAngle(float coneInner) -
      Spotlights shine light in a cone, this value determines the size of the inner part of the - cone.
      -
      Light.BuildersetIntensity(float intensity) -
      Sets the light intensity which determines how bright the light is in Lux (lx) or Lumens (lm) - (depending on the light type).
      -
      Light.BuildersetOuterConeAngle(float coneOuter) -
      Spotlights shine light in a cone, this value determines the size of the outer part of the - cone.
      -
      Light.BuildersetShadowCastingEnabled(boolean enableShadows) -
      Determines whether the light casts shadows, or whether synthetic objects can block the light.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setShadowCastingEnabled

        -
        public Light.Builder setShadowCastingEnabled(boolean enableShadows)
        -
        Determines whether the light casts shadows, or whether synthetic objects can block the light.
        -
        -
        Parameters:
        -
        enableShadows - true to enable to shadows, false to disable; default is false.
        -
        -
      • -
      - - - -
        -
      • -

        setColor

        -
        public Light.Builder setColor(Color color)
        -
        Sets the "RGB" color of the light. Note that intensity if is a separate parameter, so you - should set the pure color (i.e. each channel is in the [0,1] range). However setting values - outside that range is valid.
        -
        -
        Parameters:
        -
        color - "RGB" color, default is (1, 1, 1)
        -
        -
      • -
      - - - -
        -
      • -

        setColorTemperature

        -
        public Light.Builder setColorTemperature(float temperature)
        -
        Sets the "RGB" color of the light based on the desired "color temperature."
        -
        -
        Parameters:
        -
        temperature - color temperature in Kelvin on a scale from 1,000 to 10,000K. Typical - commercial and residential lighting falls somewhere in the 2000K to 6500K range.
        -
        -
      • -
      - - - -
        -
      • -

        setIntensity

        -
        public Light.Builder setIntensity(float intensity)
        -
        Sets the light intensity which determines how bright the light is in Lux (lx) or Lumens (lm) - (depending on the light type). Larger values produce brighter lights and near zero values - generate very little light. A household light bulb will generally have an intensity between - 800 - 2500 lm whereas sunlight will be around 120,000 lx. There is no absolute upper bound - but values larger than sunlight (120,000 lx) are generally not needed.
        -
        -
        Parameters:
        -
        intensity - the intensity of the light, values greater than one are valid. The intensity - will be clamped and cannot be zero or negative. For directional lights the default is 420 - lx. For other other lights the default is 2500 lm.
        -
        -
      • -
      - - - -
        -
      • -

        setFalloffRadius

        -
        public Light.Builder setFalloffRadius(float falloffRadius)
        -
        Sets the range that the light intensity falls off to zero. This has no affect on infinite - light types - the Directional types.
        -
        -
        Parameters:
        -
        falloffRadius - the light radius in world units, default is 10.0f.
        -
        -
      • -
      - - - -
        -
      • -

        setInnerConeAngle

        -
        public Light.Builder setInnerConeAngle(float coneInner)
        -
        Spotlights shine light in a cone, this value determines the size of the inner part of the - cone. The intensity is interpolated between the inner and outer cone angles - meaning if they - are the same than the cone is perfectly sharp. Generally you will want the inner cone to be - smaller than the outer cone to avoid aliasing.
        -
        -
        Parameters:
        -
        coneInner - inner cone angle in radians, default is 0.5
        -
        -
      • -
      - - - -
        -
      • -

        setOuterConeAngle

        -
        public Light.Builder setOuterConeAngle(float coneOuter)
        -
        Spotlights shine light in a cone, this value determines the size of the outer part of the - cone. The intensity is interpolated between the inner and outer cone angles - meaning if they - are the same than the cone is perfectly sharp. Generally you will want the inner cone to be - smaller than the outer cone to avoid aliasing.
        -
        -
        Parameters:
        -
        coneOuter - outer cone angle in radians, default is 0.6
        -
        -
      • -
      - - - -
        -
      • -

        build

        -
        public Light build()
        -
        Creates a new Light based on the parameters set previously
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Light.Type.html b/docs/javadoc/com/google/ar/sceneform/rendering/Light.Type.html deleted file mode 100644 index e283b738..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Light.Type.html +++ /dev/null @@ -1,386 +0,0 @@ - - - - - -Light.Type (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum Light.Type

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Enum<Light.Type>
    • -
    • -
        -
      • com.google.ar.sceneform.rendering.Light.Type
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<Light.Type>
    -
    -
    -
    Enclosing class:
    -
    Light
    -
    -
    -
    -
    public static enum Light.Type
    -extends java.lang.Enum<Light.Type>
    -
    Type of Light Source
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      DIRECTIONAL -
      Approximates an infinitely far away, purely directional light
      -
      FOCUSED_SPOTLIGHT -
      The same as a spotlight with the exception that the apparent lighting stays the same as the - cone angle changes.
      -
      POINT -
      Approximates light radiating in all directions from a single point in space, where the - intensity falls off with the inverse square of the distance.
      -
      SPOTLIGHT -
      Similar to a point light but radiating light in a cone rather than all directions.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Light.TypevalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static Light.Type[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        POINT

        -
        public static final Light.Type POINT
        -
        Approximates light radiating in all directions from a single point in space, where the - intensity falls off with the inverse square of the distance. Point lights have a position but - no direction. Use Light.setFalloffRadius(float) to control the falloff.
        -
      • -
      - - - -
        -
      • -

        DIRECTIONAL

        -
        public static final Light.Type DIRECTIONAL
        -
        Approximates an infinitely far away, purely directional light
        -
      • -
      - - - -
        -
      • -

        SPOTLIGHT

        -
        public static final Light.Type SPOTLIGHT
        -
        Similar to a point light but radiating light in a cone rather than all directions. Note that - as you make the cone wider, the energy is spread causing the lighting to appear dimmer. A - spotlight has a position and a direction. Use Light.setInnerConeAngle(float) and Light.setOuterConeAngle(float) to control the cone size.
        -
      • -
      - - - - -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Light.Type[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (Light.Type c : Light.Type.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Light.Type valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Light.html b/docs/javadoc/com/google/ar/sceneform/rendering/Light.html deleted file mode 100644 index dd229031..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Light.html +++ /dev/null @@ -1,552 +0,0 @@ - - - - - -Light (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Light

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Light
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Light
    -extends java.lang.Object
    -
    Light property store.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        builder

        -
        public static Light.Builder builder(Light.Type type)
        -
        Constructs a default light, if nothing else is set
        -
      • -
      - - - -
        -
      • -

        setColor

        -
        public void setColor(Color color)
        -
        Sets the "RGB" color of the light. Note that intensity is a separate parameter, so you should - set the pure color (i.e. each channel is in the [0,1] range). However setting values outside - that range is valid.
        -
        -
        Parameters:
        -
        color - "RGB" color, the default is 0xffffffff
        -
        -
      • -
      - - - -
        -
      • -

        setColorTemperature

        -
        public void setColorTemperature(float temperature)
        -
        Sets the "RGB" color of the light based on the desired "color temperature."
        -
        -
        Parameters:
        -
        temperature - color temperature in Kelvin on a scale from 1,000 to 10,000K. Typical - commercial and residential lighting falls somewhere in the 2000K to 6500K range.
        -
        -
      • -
      - - - -
        -
      • -

        setIntensity

        -
        public void setIntensity(float intensity)
        -
        Sets the light intensity which determines how bright the light is in Lux (lx) or Lumens (lm) - (depending on the light type). Larger values produce brighter lights and near zero values - generate very little light. A household light bulb will generally have an intensity between 800 - - 2500 lm whereas sunlight will be around 120,000 lx. There is no absolute upper bound but - values larger than sunlight (120,000 lx) are generally not needed.
        -
        -
        Parameters:
        -
        intensity - the intensity of the light, values greater than one are valid. The intensity - will be clamped and cannot be zero or negative. For directional lights the default is 420 - lx. For other other lights the default is 2500 lm.
        -
        -
      • -
      - - - -
        -
      • -

        setFalloffRadius

        -
        public void setFalloffRadius(float falloffRadius)
        -
        Sets the range that the light intensity falls off to zero. This has no affect on the Light.Type.DIRECTIONAL type.
        -
        -
        Parameters:
        -
        falloffRadius - the light radius in world units, default is 10.0
        -
        -
      • -
      - - - -
        -
      • -

        setInnerConeAngle

        -
        public void setInnerConeAngle(float coneInner)
        -
        Spotlights shine light in a cone, this value determines the size of the inner part of the cone. - The intensity is interpolated between the inner and outer cone angles - meaning if they are the - same than the cone is perfectly sharp. Generally you will want the inner cone to be smaller - than the outer cone to avoid aliasing.
        -
        -
        Parameters:
        -
        coneInner - inner cone angle in radians, default 0.5
        -
        -
      • -
      - - - -
        -
      • -

        setOuterConeAngle

        -
        public void setOuterConeAngle(float coneOuter)
        -
        Spotlights shine light in a cone, this value determines the size of the outer part of the cone. - The intensity is interpolated between the inner and outer cone angles - meaning if they are the - same than the cone is perfectly sharp. Generally you will want the inner cone to be smaller - than the outer cone to avoid aliasing.
        -
        -
        Parameters:
        -
        coneOuter - outer cone angle in radians, default is 0.6
        -
        -
      • -
      - - - - - - - -
        -
      • -

        isShadowCastingEnabled

        -
        public boolean isShadowCastingEnabled()
        -
        Returns true if the light has shadow casting enabled.
        -
      • -
      - - - -
        -
      • -

        getLocalPosition

        -
        public Vector3 getLocalPosition()
        -
      • -
      - - - -
        -
      • -

        getLocalDirection

        -
        public Vector3 getLocalDirection()
        -
      • -
      - - - -
        -
      • -

        getColor

        -
        public Color getColor()
        -
        Get the RGB Color of the light.
        -
      • -
      - - - -
        -
      • -

        getIntensity

        -
        public float getIntensity()
        -
        Get the intensity of the light.
        -
      • -
      - - - -
        -
      • -

        getFalloffRadius

        -
        public float getFalloffRadius()
        -
        Get the falloff radius of the light.
        -
      • -
      - - - -
        -
      • -

        getInnerConeAngle

        -
        public float getInnerConeAngle()
        -
        Get the inner cone angle for spotlights.
        -
      • -
      - - - -
        -
      • -

        getOuterConeAngle

        -
        public float getOuterConeAngle()
        -
        Get the outer cone angle for spotlights.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/LightInstance.html b/docs/javadoc/com/google/ar/sceneform/rendering/LightInstance.html deleted file mode 100644 index 10ea9a91..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/LightInstance.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - -LightInstance (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class LightInstance

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.LightInstance
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class LightInstance
    -extends java.lang.Object
    -
    Wraps a Filament Light.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        updateTransform

        -
        public void updateTransform()
        -
      • -
      - - - -
        -
      • -

        attachToRenderer

        -
        public void attachToRenderer(Renderer renderer)
        -
      • -
      - - - -
        -
      • -

        detachFromRenderer

        -
        public void detachFromRenderer()
        -
      • -
      - - - -
        -
      • -

        getLight

        -
        public Light getLight()
        -
      • -
      - - - -
        -
      • -

        dispose

        -
        public void dispose()
        -
      • -
      - - - -
        -
      • -

        finalize

        -
        protected void finalize()
        -                 throws java.lang.Throwable
        -
        -
        Overrides:
        -
        finalize in class java.lang.Object
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/LightProbe.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/LightProbe.Builder.html deleted file mode 100644 index 70ac066b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/LightProbe.Builder.html +++ /dev/null @@ -1,366 +0,0 @@ - - - - - -LightProbe.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class LightProbe.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.LightProbe.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    LightProbe
    -
    -
    -
    -
    public static final class LightProbe.Builder
    -extends java.lang.Object
    -
    Factory class for LightProbe
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setIntensity

        -
        public LightProbe.Builder setIntensity(float intensity)
        -
        Set the intensity of the indirect lighting.
        -
        -
        Parameters:
        -
        intensity - intensity of the indirect lighting, the default is 220.
        -
        -
      • -
      - - - -
        -
      • -

        setRotation

        -
        public LightProbe.Builder setRotation(Quaternion rotation)
        -
        Sets the rotation of the indirect light.
        -
        -
        Parameters:
        -
        rotation - the rotation of the indirect light, identity when null
        -
        -
      • -
      - - - -
        -
      • -

        setAssetName

        -
        public LightProbe.Builder setAssetName(java.lang.String name)
        -
        Set the name of the Light Probe to load if the binary bundle file contains more than one.
        -
        -
        Parameters:
        -
        name - the name of the Light Probe to load.
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public LightProbe.Builder setSource(android.content.Context context,
        -                                    android.net.Uri sourceUri)
        -
        Allows a LightProbe to be constructed from Uri. Construction will be - asynchronous.
        -
        -
        Parameters:
        -
        context - a context used for loading the resource
        -
        sourceUri - a remote Uri or android resource Uri.
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public LightProbe.Builder setSource(android.content.Context context,
        -                                    int resource)
        -
        Allows a LightProbe to be constructed from resource. Construction will be - asynchronous.
        -
        -
        Parameters:
        -
        context - a context used for loading the resource
        -
        resource - an android resource with raw type.
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public LightProbe.Builder setSource(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator)
        -
        Allows a LightProbe to be constructed via callable function.
        -
      • -
      - - - -
        -
      • -

        build

        -
        public java.util.concurrent.CompletableFuture<LightProbe> build()
        -
        Creates a new LightProbe based on the parameters set previously
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/LightProbe.html b/docs/javadoc/com/google/ar/sceneform/rendering/LightProbe.html deleted file mode 100644 index b6427326..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/LightProbe.html +++ /dev/null @@ -1,434 +0,0 @@ - - - - - -LightProbe (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class LightProbe

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.LightProbe
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class LightProbe
    -extends java.lang.Object
    -
    Loads "light probe" data needed for Image Based Lighting. This includes a cubemap with mip maps - generated to match the lighting model used by Sceneform and Spherical Harmonics coefficients for - diffuse image based lighting.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class LightProbe.Builder -
      Factory class for LightProbe
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static LightProbe.Builderbuilder() -
      Constructs a default LightProbe, if nothing else is set
      -
      voiddispose() 
      protected voidfinalize() 
      floatgetIntensity() -
      Get the overall intensity of the indirect light.
      -
      QuaterniongetRotation() -
      Gets the rotation of the indirect light, identity if null.
      -
      booleanisReady() -
      Returns true if the LightProbe is ready to be used for rendering.
      -
      voidsetCubeMap(android.media.Image[] cubemapImageArray) 
      voidsetEnvironmentalHdrSphericalHarmonics(float[] sphericalHarmonics, - float exposure, - EnvironmentalHdrParameters environmentalHdrParameters) -
      Updates spherical harmonics with values not premultiplied by the SH basis.
      -
      voidsetIntensity(float intensity) -
      Set the overall intensity of the indirect light.
      -
      voidsetLightEstimate(Color colorCorrection, - float estimate) -
      Modify light intensity using ArCore light estimation.
      -
      voidsetRotation(Quaternion rotation) -
      Sets the rotation of the indirect light.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        builder

        -
        public static LightProbe.Builder builder()
        -
        Constructs a default LightProbe, if nothing else is set
        -
      • -
      - - - -
        -
      • -

        setIntensity

        -
        public void setIntensity(float intensity)
        -
        Set the overall intensity of the indirect light.
        -
        -
        Parameters:
        -
        intensity - the intensity of indirect lighting, the default is 220.0
        -
        -
      • -
      - - - -
        -
      • -

        getIntensity

        -
        public float getIntensity()
        -
        Get the overall intensity of the indirect light.
        -
      • -
      - - - -
        -
      • -

        setRotation

        -
        public void setRotation(Quaternion rotation)
        -
        Sets the rotation of the indirect light.
        -
        -
        Parameters:
        -
        rotation - the rotation of the indirect light, identity when null
        -
        -
      • -
      - - - -
        -
      • -

        getRotation

        -
        public Quaternion getRotation()
        -
        Gets the rotation of the indirect light, identity if null.
        -
      • -
      - - - -
        -
      • -

        isReady

        -
        public boolean isReady()
        -
        Returns true if the LightProbe is ready to be used for rendering.
        -
      • -
      - - - -
        -
      • -

        finalize

        -
        protected void finalize()
        -                 throws java.lang.Throwable
        -
        -
        Overrides:
        -
        finalize in class java.lang.Object
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        dispose

        -
        public void dispose()
        -
      • -
      - - - -
        -
      • -

        setEnvironmentalHdrSphericalHarmonics

        -
        public void setEnvironmentalHdrSphericalHarmonics(float[] sphericalHarmonics,
        -                                                  float exposure,
        -                                                  EnvironmentalHdrParameters environmentalHdrParameters)
        -
        Updates spherical harmonics with values not premultiplied by the SH basis.
        -
      • -
      - - - -
        -
      • -

        setLightEstimate

        -
        public void setLightEstimate(Color colorCorrection,
        -                             float estimate)
        -
        Modify light intensity using ArCore light estimation. ArCore light estimation is not compatible - with Environmental HDR, only one may be used.
        -
      • -
      - - - -
        -
      • -

        setCubeMap

        -
        public void setCubeMap(android.media.Image[] cubemapImageArray)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/LoadGltfListener.GltfLoadStage.html b/docs/javadoc/com/google/ar/sceneform/rendering/LoadGltfListener.GltfLoadStage.html deleted file mode 100644 index d74d231b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/LoadGltfListener.GltfLoadStage.html +++ /dev/null @@ -1,403 +0,0 @@ - - - - - -LoadGltfListener.GltfLoadStage (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum LoadGltfListener.GltfLoadStage

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static LoadGltfListener.GltfLoadStage[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (LoadGltfListener.GltfLoadStage c : LoadGltfListener.GltfLoadStage.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static LoadGltfListener.GltfLoadStage valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/LoadGltfListener.html b/docs/javadoc/com/google/ar/sceneform/rendering/LoadGltfListener.html deleted file mode 100644 index d616dcc0..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/LoadGltfListener.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - -LoadGltfListener (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Interface LoadGltfListener

-
-
-
-
    -
  • -
    -
    -
    public interface LoadGltfListener
    -
    Interface callbacks for events that occur when loading a gltf file into a renderable.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        reportBytesDownloaded

        -
        void reportBytesDownloaded(long bytes)
        -
      • -
      - - - -
        -
      • -

        onFinishedFetchingMaterials

        -
        void onFinishedFetchingMaterials()
        -
      • -
      - - - -
        -
      • -

        onFinishedLoadingModel

        -
        void onFinishedLoadingModel(long durationMs)
        -
      • -
      - - - -
        -
      • -

        onFinishedReadingFiles

        -
        void onFinishedReadingFiles(long durationMs)
        -
      • -
      - - - -
        -
      • -

        setModelSize

        -
        void setModelSize(float modelSizeMeters)
        -
      • -
      - - - -
        -
      • -

        onReadingFilesFailed

        -
        void onReadingFilesFailed(java.lang.Exception exception)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/LoadRenderableFromFilamentGltfTask.html b/docs/javadoc/com/google/ar/sceneform/rendering/LoadRenderableFromFilamentGltfTask.html deleted file mode 100644 index d97266e6..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/LoadRenderableFromFilamentGltfTask.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - -LoadRenderableFromFilamentGltfTask (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class LoadRenderableFromFilamentGltfTask<T extends Renderable>

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.LoadRenderableFromFilamentGltfTask<T>
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class LoadRenderableFromFilamentGltfTask<T extends Renderable>
    -extends java.lang.Object
    -
    Task for initializing a renderable with glTF data loaded with gltfio.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.util.concurrent.CompletableFuture<T>downloadAndProcessRenderable(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator) -
      Returns CompletableFuture for a new Renderable.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        downloadAndProcessRenderable

        -
        public java.util.concurrent.CompletableFuture<T> downloadAndProcessRenderable(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator)
        -
        Returns CompletableFuture for a new Renderable.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/LullModel.html b/docs/javadoc/com/google/ar/sceneform/rendering/LullModel.html deleted file mode 100644 index f156519f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/LullModel.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -LullModel (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class LullModel

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.LullModel
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class LullModel
    -extends java.lang.Object
    -
    Helper functions for loading and processing lull models.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static WrapMode[]fromLullWrapMode 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      LullModel() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static MagFilterfromLullToMagFilter(com.google.ar.schemas.lull.TextureDef textureDef) 
      static MinFilterfromLullToMinFilter(com.google.ar.schemas.lull.TextureDef textureDef) 
      static intgetByteCountPerVertex(ModelInstanceDef modelInstanceDef) 
      static booleanisLullModel(java.nio.ByteBuffer buffer) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        fromLullWrapMode

        -
        public static final WrapMode[] fromLullWrapMode
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        LullModel

        -
        public LullModel()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isLullModel

        -
        public static boolean isLullModel(java.nio.ByteBuffer buffer)
        -
      • -
      - - - -
        -
      • -

        getByteCountPerVertex

        -
        public static int getByteCountPerVertex(ModelInstanceDef modelInstanceDef)
        -
      • -
      - - - -
        -
      • -

        fromLullToMinFilter

        -
        public static MinFilter fromLullToMinFilter(com.google.ar.schemas.lull.TextureDef textureDef)
        -
      • -
      - - - -
        -
      • -

        fromLullToMagFilter

        -
        public static MagFilter fromLullToMagFilter(com.google.ar.schemas.lull.TextureDef textureDef)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Material.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/Material.Builder.html deleted file mode 100644 index 3721a6ab..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Material.Builder.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - -Material.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Material.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Material.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Material
    -
    -
    -
    -
    public static final class Material.Builder
    -extends java.lang.Object
    -
    Builder for constructing a Material
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setSource

        -
        public Material.Builder setSource(java.nio.ByteBuffer materialBuffer)
        -
        Allows a Material to be created with data. - -

        Construction will be immediate. Please use setRegistryId(Object) to register this - material for reuse.

        -
        -
        Parameters:
        -
        materialBuffer - Sets the material data.
        -
        Returns:
        -
        Material.Builder for chaining setup calls
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public Material.Builder setSource(android.content.Context context,
        -                                  android.net.Uri sourceUri)
        -
        Allows a Material to be constructed from Uri. Construction will be - asynchronous.
        -
        -
        Parameters:
        -
        context - Sets the Context used for loading the resource
        -
        sourceUri - Sets a remote Uri or android resource Uri. The material will be added to the - registry using the Uri. A previously registered material with the same Uri will be - re-used.
        -
        Returns:
        -
        Material.Builder for chaining setup calls
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public Material.Builder setSource(android.content.Context context,
        -                                  int resource)
        -
        Allows a Material to be constructed from resource. - -

        Construction will be asynchronous.

        -
        -
        Parameters:
        -
        context - Sets the Context used for loading the resource
        -
        resource - an android resource with raw type. A previously registered material with the - same resource id will be re-used.
        -
        Returns:
        -
        Material.Builder for chaining setup calls
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public Material.Builder setSource(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator)
        -
        Allows a Material to be constructed via callable function.
        -
        -
        Parameters:
        -
        inputStreamCreator - Supplies an InputStream with the Material data
        -
        Returns:
        -
        Material.Builder for chaining setup calls
        -
        -
      • -
      - - - -
        -
      • -

        setRegistryId

        -
        public Material.Builder setRegistryId(java.lang.Object registryId)
        -
        Allows a Material to be reused. If registryId is non-null it will be saved in a - registry and the registry will be checked for this id before construction.
        -
        -
        Parameters:
        -
        registryId - allows the function to be skipped and a previous material to be re-used
        -
        Returns:
        -
        Material.Builder for chaining setup calls
        -
        -
      • -
      - - - -
        -
      • -

        build

        -
        public java.util.concurrent.CompletableFuture<Material> build()
        -
        Creates a new Material based on the parameters set previously. A source must be - specified.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Material.html b/docs/javadoc/com/google/ar/sceneform/rendering/Material.html deleted file mode 100644 index a5263bc8..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Material.html +++ /dev/null @@ -1,591 +0,0 @@ - - - - - -Material (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Material

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Material
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Material
    -extends java.lang.Object
    -
    Represents a reference to a material.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class Material.Builder -
      Builder for constructing a Material
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Material.Builderbuilder() -
      Constructs a Material
      -
      ExternalTexturegetExternalTexture(java.lang.String name) 
      MaterialmakeCopy() -
      Creates a new instance of this Material.
      -
      voidsetBoolean(java.lang.String name, - boolean x) 
      voidsetBoolean2(java.lang.String name, - boolean x, - boolean y) 
      voidsetBoolean3(java.lang.String name, - boolean x, - boolean y, - boolean z) 
      voidsetBoolean4(java.lang.String name, - boolean x, - boolean y, - boolean z, - boolean w) 
      voidsetExternalTexture(java.lang.String name, - ExternalTexture externalTexture) -
      Sets an ExternalTexture to a parameter of type 'samplerExternal' on this material.
      -
      voidsetFloat(java.lang.String name, - float x) 
      voidsetFloat2(java.lang.String name, - float x, - float y) 
      voidsetFloat3(java.lang.String name, - Color color) 
      voidsetFloat3(java.lang.String name, - float x, - float y, - float z) 
      voidsetFloat3(java.lang.String name, - Vector3 value) 
      voidsetFloat4(java.lang.String name, - Color color) 
      voidsetFloat4(java.lang.String name, - float x, - float y, - float z, - float w) 
      voidsetInt(java.lang.String name, - int x) 
      voidsetInt2(java.lang.String name, - int x, - int y) 
      voidsetInt3(java.lang.String name, - int x, - int y, - int z) 
      voidsetInt4(java.lang.String name, - int x, - int y, - int z, - int w) 
      voidsetTexture(java.lang.String name, - Texture texture) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        makeCopy

        -
        public Material makeCopy()
        -
        Creates a new instance of this Material. - -

        The new material will have a unique copy of the material parameters that can be changed - independently. The getFilamentEngine material resource is immutable and will be shared between - instances.

        -
      • -
      - - - -
        -
      • -

        setBoolean

        -
        public void setBoolean(java.lang.String name,
        -                       boolean x)
        -
      • -
      - - - -
        -
      • -

        setBoolean2

        -
        public void setBoolean2(java.lang.String name,
        -                        boolean x,
        -                        boolean y)
        -
      • -
      - - - -
        -
      • -

        setBoolean3

        -
        public void setBoolean3(java.lang.String name,
        -                        boolean x,
        -                        boolean y,
        -                        boolean z)
        -
      • -
      - - - -
        -
      • -

        setBoolean4

        -
        public void setBoolean4(java.lang.String name,
        -                        boolean x,
        -                        boolean y,
        -                        boolean z,
        -                        boolean w)
        -
      • -
      - - - -
        -
      • -

        setFloat

        -
        public void setFloat(java.lang.String name,
        -                     float x)
        -
      • -
      - - - -
        -
      • -

        setFloat2

        -
        public void setFloat2(java.lang.String name,
        -                      float x,
        -                      float y)
        -
      • -
      - - - -
        -
      • -

        setFloat3

        -
        public void setFloat3(java.lang.String name,
        -                      float x,
        -                      float y,
        -                      float z)
        -
      • -
      - - - -
        -
      • -

        setFloat3

        -
        public void setFloat3(java.lang.String name,
        -                      Vector3 value)
        -
      • -
      - - - -
        -
      • -

        setFloat3

        -
        public void setFloat3(java.lang.String name,
        -                      Color color)
        -
      • -
      - - - -
        -
      • -

        setFloat4

        -
        public void setFloat4(java.lang.String name,
        -                      float x,
        -                      float y,
        -                      float z,
        -                      float w)
        -
      • -
      - - - -
        -
      • -

        setFloat4

        -
        public void setFloat4(java.lang.String name,
        -                      Color color)
        -
      • -
      - - - -
        -
      • -

        setInt

        -
        public void setInt(java.lang.String name,
        -                   int x)
        -
      • -
      - - - -
        -
      • -

        setInt2

        -
        public void setInt2(java.lang.String name,
        -                    int x,
        -                    int y)
        -
      • -
      - - - -
        -
      • -

        setInt3

        -
        public void setInt3(java.lang.String name,
        -                    int x,
        -                    int y,
        -                    int z)
        -
      • -
      - - - -
        -
      • -

        setInt4

        -
        public void setInt4(java.lang.String name,
        -                    int x,
        -                    int y,
        -                    int z,
        -                    int w)
        -
      • -
      - - - -
        -
      • -

        setTexture

        -
        public void setTexture(java.lang.String name,
        -                       Texture texture)
        -
      • -
      - - - -
        -
      • -

        setExternalTexture

        -
        public void setExternalTexture(java.lang.String name,
        -                               ExternalTexture externalTexture)
        -
        Sets an ExternalTexture to a parameter of type 'samplerExternal' on this material.
        -
        -
        Parameters:
        -
        name - the name of the parameter in the material
        -
        externalTexture - the texture to set
        -
        -
      • -
      - - - -
        -
      • -

        getExternalTexture

        -
        public ExternalTexture getExternalTexture(java.lang.String name)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/MaterialFactory.html b/docs/javadoc/com/google/ar/sceneform/rendering/MaterialFactory.html deleted file mode 100644 index ed4759de..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/MaterialFactory.html +++ /dev/null @@ -1,521 +0,0 @@ - - - - - -MaterialFactory (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class MaterialFactory

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.MaterialFactory
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class MaterialFactory
    -extends java.lang.Object
    -
    Utility class used to construct default Materials.
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/MaterialInternalDataGltfImpl.html b/docs/javadoc/com/google/ar/sceneform/rendering/MaterialInternalDataGltfImpl.html deleted file mode 100644 index 4daf1a98..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/MaterialInternalDataGltfImpl.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - -MaterialInternalDataGltfImpl (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class MaterialInternalDataGltfImpl

-
-
- -
-
    -
  • -
    -
    -
    public class MaterialInternalDataGltfImpl
    -extends SharedReference
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      protected voidonDispose() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ModelRenderable.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/ModelRenderable.Builder.html deleted file mode 100644 index 48d264ee..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ModelRenderable.Builder.html +++ /dev/null @@ -1,534 +0,0 @@ - - - - - -ModelRenderable.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ModelRenderable.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.ModelRenderable.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ModelRenderable
    -
    -
    -
    -
    public static final class ModelRenderable.Builder
    -extends java.lang.Object
    -
    Factory class for ModelRenderable.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        registryId

        -
        protected java.lang.Object registryId
        -
      • -
      - - - -
        -
      • -

        context

        -
        protected android.content.Context context
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getRenderableClass

        -
        protected java.lang.Class<ModelRenderable> getRenderableClass()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        setSource

        -
        public B setSource(android.content.Context context,
        -                   java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator)
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public B setSource(android.content.Context context,
        -                   android.net.Uri sourceUri)
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public B setSource(android.content.Context context,
        -                   android.net.Uri sourceUri,
        -                   boolean enableCaching)
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public B setSource(android.content.Context context,
        -                   int resource)
        -
      • -
      - - - - - - - -
        -
      • -

        setRegistryId

        -
        public B setRegistryId(java.lang.Object registryId)
        -
      • -
      - - - -
        -
      • -

        setIsFilamentGltf

        -
        public B setIsFilamentGltf(boolean isFilamentGltf)
        -
      • -
      - - - -
        -
      • -

        setAnimationFrameRate

        -
        public B setAnimationFrameRate(int frameRate)
        -
        Sets the number of frames per seconds defined in the asset.
        -
        -
        Parameters:
        -
        frameRate - The number of frames during one second
        -
        -
      • -
      - - - -
        -
      • -

        hasSource

        -
        public java.lang.Boolean hasSource()
        -
        True if a source function will be called during build
        -
      • -
      - - - -
        -
      • -

        build

        -
        public java.util.concurrent.CompletableFuture<T> build()
        -
        Constructs a Renderable with the parameters of the builder.
        -
        -
        Returns:
        -
        the constructed Renderable
        -
        -
      • -
      - - - -
        -
      • -

        checkPreconditions

        -
        protected void checkPreconditions()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ModelRenderable.html b/docs/javadoc/com/google/ar/sceneform/rendering/ModelRenderable.html deleted file mode 100644 index a663b87b..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ModelRenderable.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - -ModelRenderable (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ModelRenderable

-
-
- -
-
    -
  • -
    -
    -
    public class ModelRenderable
    -extends Renderable
    -
    Renders a 3D Model by attaching it to a Node with Node.setRenderable(Renderable). - -
    
    - future = ModelRenderable.builder().setSource(context, R.raw.renderable).build();
    - renderable = future.thenAccept(...);
    - 
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        makeCopy

        -
        public ModelRenderable makeCopy()
        -
        Creates a new instance of this ModelRenderable. - -

        The new renderable will have unique copy of all mutable state. All materials referenced by - the ModelRenderable will also be instanced. Immutable data will be shared between the - instances.

        -
        -
        Specified by:
        -
        makeCopy in class Renderable
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/PlaneRenderer.html b/docs/javadoc/com/google/ar/sceneform/rendering/PlaneRenderer.html deleted file mode 100644 index 5a3a7413..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/PlaneRenderer.html +++ /dev/null @@ -1,496 +0,0 @@ - - - - - -PlaneRenderer (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class PlaneRenderer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.PlaneRenderer
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class PlaneRenderer
    -extends java.lang.Object
    -
    Control rendering of ARCore planes. - -

    Used to visualize detected planes and to control whether Renderables cast shadows on them.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringMATERIAL_COLOR -
      Float3 material parameter to control the RGB tint of the plane.
      -
      static java.lang.StringMATERIAL_SPOTLIGHT_RADIUS -
      Float material parameter to control the radius of the spotlight.
      -
      static java.lang.StringMATERIAL_TEXTURE -
      Material parameter that controls what texture is being used when rendering the planes.
      -
      static java.lang.StringMATERIAL_UV_SCALE -
      Float2 material parameter to control the X/Y scaling of the texture's UV coordinates.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      PlaneRenderer(Renderer renderer) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.util.concurrent.CompletableFuture<Material>getMaterial() -
      Returns default material instance used to render the planes.
      -
      booleanisEnabled() -
      Check if the plane renderer is enabled.
      -
      booleanisShadowReceiver() -
      Return true if Renderables in the scene cast shadows onto the planes.
      -
      booleanisVisible() -
      Return true if plane visualization is visible.
      -
      voidsetEnabled(boolean enabled) -
      Enable/disable the plane renderer.
      -
      voidsetShadowReceiver(boolean shadowReceiver) -
      Control whether Renderables in the scene should cast shadows onto the planes.
      -
      voidsetVisible(boolean visible) -
      Control visibility of plane visualization.
      -
      voidupdate(Frame frame, - int viewWidth, - int viewHeight) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        MATERIAL_TEXTURE

        -
        public static final java.lang.String MATERIAL_TEXTURE
        -
        Material parameter that controls what texture is being used when rendering the planes.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        MATERIAL_UV_SCALE

        -
        public static final java.lang.String MATERIAL_UV_SCALE
        -
        Float2 material parameter to control the X/Y scaling of the texture's UV coordinates. Can be - used to adjust for the texture's aspect ratio and control the frequency of tiling.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        MATERIAL_COLOR

        -
        public static final java.lang.String MATERIAL_COLOR
        -
        Float3 material parameter to control the RGB tint of the plane.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        MATERIAL_SPOTLIGHT_RADIUS

        -
        public static final java.lang.String MATERIAL_SPOTLIGHT_RADIUS
        -
        Float material parameter to control the radius of the spotlight.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PlaneRenderer

        -
        public PlaneRenderer(Renderer renderer)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setEnabled

        -
        public void setEnabled(boolean enabled)
        -
        Enable/disable the plane renderer.
        -
      • -
      - - - -
        -
      • -

        isEnabled

        -
        public boolean isEnabled()
        -
        Check if the plane renderer is enabled.
        -
      • -
      - - - -
        -
      • -

        setShadowReceiver

        -
        public void setShadowReceiver(boolean shadowReceiver)
        -
        Control whether Renderables in the scene should cast shadows onto the planes. - -

        If false - no planes receive shadows, regardless of the per-plane setting.

        -
      • -
      - - - -
        -
      • -

        isShadowReceiver

        -
        public boolean isShadowReceiver()
        -
        Return true if Renderables in the scene cast shadows onto the planes.
        -
      • -
      - - - -
        -
      • -

        setVisible

        -
        public void setVisible(boolean visible)
        -
        Control visibility of plane visualization. - -

        If false - no planes are drawn. Note that shadow visibility is independent of plane - visibility.

        -
      • -
      - - - -
        -
      • -

        isVisible

        -
        public boolean isVisible()
        -
        Return true if plane visualization is visible.
        -
      • -
      - - - -
        -
      • -

        getMaterial

        -
        public java.util.concurrent.CompletableFuture<Material> getMaterial()
        -
        Returns default material instance used to render the planes.
        -
      • -
      - - - -
        -
      • -

        update

        -
        public void update(Frame frame,
        -                   int viewWidth,
        -                   int viewHeight)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Renderable.html b/docs/javadoc/com/google/ar/sceneform/rendering/Renderable.html deleted file mode 100644 index 00bdbe9f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Renderable.html +++ /dev/null @@ -1,709 +0,0 @@ - - - - - -Renderable (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Renderable

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Renderable
    • -
    -
  • -
-
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - - - - - -
        -
      • -

        RENDER_PRIORITY_DEFAULT

        -
        public static final int RENDER_PRIORITY_DEFAULT
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        RENDER_PRIORITY_FIRST

        -
        public static final int RENDER_PRIORITY_FIRST
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        RENDER_PRIORITY_LAST

        -
        public static final int RENDER_PRIORITY_LAST
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        DEFAULT_ANIMATION_FRAME_RATE

        -
        public static final int DEFAULT_ANIMATION_FRAME_RATE
        -
        The default number of frames per seconds for this renderable animation
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Renderable

        -
        protected Renderable(com.google.ar.sceneform.rendering.Renderable.Builder<? extends Renderable,? extends com.google.ar.sceneform.rendering.Renderable.Builder<?,?>> builder)
        -
      • -
      - - - -
        -
      • -

        Renderable

        -
        protected Renderable(Renderable other)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        getMaterial

        -
        public Material getMaterial()
        -
        Returns the material bound to the first submesh.
        -
      • -
      - - - -
        -
      • -

        getMaterial

        -
        public Material getMaterial(int submeshIndex)
        -
        Returns the material bound to the specified submesh.
        -
      • -
      - - - -
        -
      • -

        setMaterial

        -
        public void setMaterial(Material material)
        -
        Sets the material bound to the first submesh.
        -
      • -
      - - - -
        -
      • -

        setMaterial

        -
        public void setMaterial(int submeshIndex,
        -                        Material material)
        -
        Sets the material bound to the specified submesh.
        -
      • -
      - - - -
        -
      • -

        getSubmeshName

        -
        public java.lang.String getSubmeshName(int submeshIndex)
        -
        Returns the name associated with the specified submesh.
        -
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the index is out of range
        -
        -
      • -
      - - - -
        -
      • -

        getRenderPriority

        -
        public int getRenderPriority()
        -
        Get the render priority that controls the order of rendering. The priority is between a range - of 0 (rendered first) and 7 (rendered last). The default value is 4.
        -
      • -
      - - - -
        -
      • -

        setRenderPriority

        -
        public void setRenderPriority(int renderPriority)
        -
        Set the render priority to control the order of rendering. The priority is between a range of 0 - (rendered first) and 7 (rendered last). The default value is 4.
        -
      • -
      - - - -
        -
      • -

        isShadowCaster

        -
        public boolean isShadowCaster()
        -
        Returns true if configured to cast shadows on other renderables.
        -
      • -
      - - - -
        -
      • -

        setShadowCaster

        -
        public void setShadowCaster(boolean isShadowCaster)
        -
        Sets whether the renderable casts shadow on other renderables in the scene.
        -
      • -
      - - - -
        -
      • -

        isShadowReceiver

        -
        public boolean isShadowReceiver()
        -
        Returns true if configured to receive shadows cast by other renderables.
        -
      • -
      - - - -
        -
      • -

        setShadowReceiver

        -
        public void setShadowReceiver(boolean isShadowReceiver)
        -
        Sets whether the renderable receives shadows cast by other renderables in the scene.
        -
      • -
      - - - -
        -
      • -

        getAnimationFrameRate

        -
        public int getAnimationFrameRate()
        -
        Gets the number of frames per seconds defined in the asset animation.
        -
      • -
      - - - -
        -
      • -

        getSubmeshCount

        -
        public int getSubmeshCount()
        -
        Returns the number of submeshes that this renderable has. All Renderables have at least one.
        -
      • -
      - - - -
        -
      • -

        getId

        -
        public ChangeId getId()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        makeCopy

        -
        public abstract Renderable makeCopy()
        -
        Creates a new instance of this Renderable. - -

        The new renderable will have unique copy of all mutable state. All materials referenced by - the Renderable will also be instanced. Immutable data will be shared between the instances.

        -
      • -
      - - - -
        -
      • -

        getFinalModelMatrix

        -
        public Matrix getFinalModelMatrix(Matrix originalMatrix)
        -
        Gets the final model matrix to use for rendering this Renderable based on the matrix - passed in. Default implementation simply passes through the original matrix. WARNING: Do not - modify the originalMatrix! If the final matrix isn't the same as the original matrix, then a - new instance must be returned.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Builder.html deleted file mode 100644 index ffa9bfa4..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Builder.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - -RenderableDefinition.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class RenderableDefinition.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.RenderableDefinition.Builder
    • -
    -
  • -
-
- -
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Submesh.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Submesh.Builder.html deleted file mode 100644 index 910174e8..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Submesh.Builder.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - -RenderableDefinition.Submesh.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class RenderableDefinition.Submesh.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.RenderableDefinition.Submesh.Builder
    • -
    -
  • -
-
- -
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Submesh.html b/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Submesh.html deleted file mode 100644 index 1a4f1b80..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.Submesh.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -RenderableDefinition.Submesh (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class RenderableDefinition.Submesh

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.RenderableDefinition.Submesh
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    RenderableDefinition
    -
    -
    -
    -
    public static class RenderableDefinition.Submesh
    -extends java.lang.Object
    -
    Represents a Submesh for a RenderableDefinition. Each RenderableDefinition may have multiple - Submeshes.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setTriangleIndices

        -
        public void setTriangleIndices(java.util.List<java.lang.Integer> triangleIndices)
        -
      • -
      - - - -
        -
      • -

        getTriangleIndices

        -
        public java.util.List<java.lang.Integer> getTriangleIndices()
        -
      • -
      - - - -
        -
      • -

        setMaterial

        -
        public void setMaterial(Material material)
        -
      • -
      - - - -
        -
      • -

        getMaterial

        -
        public Material getMaterial()
        -
      • -
      - - - -
        -
      • -

        setName

        -
        public void setName(java.lang.String name)
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.html b/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.html deleted file mode 100644 index 1ef189e1..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableDefinition.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -RenderableDefinition (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class RenderableDefinition

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.RenderableDefinition
    • -
    -
  • -
-
- -
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInstance.html b/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInstance.html deleted file mode 100644 index db701413..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInstance.html +++ /dev/null @@ -1,552 +0,0 @@ - - - - - -RenderableInstance (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class RenderableInstance

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.RenderableInstance
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    AnimatableModel
    -
    -
    -
    -
    public class RenderableInstance
    -extends java.lang.Object
    -implements AnimatableModel
    -
    Controls how a Renderable is displayed. There can be multiple RenderableInstances - displaying a single Renderable.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getFilamentAsset

        -
        public FilamentAsset getFilamentAsset()
        -
      • -
      - - - -
        -
      • -

        getFilamentAnimator

        -
        public Animator getFilamentAnimator()
        -
      • -
      - - - - - - - -
        -
      • -

        getEntity

        -
        public int getEntity()
        -
      • -
      - - - -
        -
      • -

        getRenderedEntity

        -
        public int getRenderedEntity()
        -
      • -
      - - - -
        -
      • -

        getWorldModelMatrix

        -
        public Matrix getWorldModelMatrix()
        -
      • -
      - - - - - - - -
        -
      • -

        getAnimation

        -
        public ModelAnimation getAnimation(int animationIndex)
        -
        Get the associated ModelAnimation at the given index or throw - an IndexOutOfBoundsException.
        -
        -
        Specified by:
        -
        getAnimation in interface AnimatableModel
        -
        Parameters:
        -
        animationIndex - Zero-based index for the animation of interest.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        onAnimationUpdateRequest

        -
        public boolean onAnimationUpdateRequest(ModelAnimation animation)
        -
        We use our own Choreographer to update the animations
        -
        -
        Specified by:
        -
        onAnimationUpdateRequest in interface AnimatableModel
        -
        Returns:
        -
        true is the changes have been applied
        -
        -
      • -
      - - - -
        -
      • -

        prepareForDraw

        -
        public void prepareForDraw()
        -
      • -
      - - - -
        -
      • -

        attachToRenderer

        -
        public void attachToRenderer(Renderer renderer)
        -
      • -
      - - - -
        -
      • -

        detachFromRenderer

        -
        public void detachFromRenderer()
        -
      • -
      - - - -
        -
      • -

        getRelativeTransform

        -
        public Matrix getRelativeTransform()
        -
        Returns the transform of this renderable relative to it's node. This will be non-null if the - .sfa file includes a scale other than 1 or has recentering turned on.
        -
      • -
      - - - -
        -
      • -

        getRelativeTransformInverse

        -
        public Matrix getRelativeTransformInverse()
        -
        Returns the inverse transform of this renderable relative to it's node. This will be non-null - if the .sfa file includes a scale other than 1 or has recentering turned on.
        -
      • -
      - - - -
        -
      • -

        updateAnimations

        -
        public boolean updateAnimations(boolean force)
        -
        Apply animations changes if fore=true or the animation has dirty values. -
        -
        -
        Parameters:
        -
        force - Update even if the animation time position didn't changed.
        -
        Returns:
        -
        true if any animation update has been made.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInternalFilamentAssetData.html b/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInternalFilamentAssetData.html deleted file mode 100644 index e93e60c4..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInternalFilamentAssetData.html +++ /dev/null @@ -1,638 +0,0 @@ - - - - - -RenderableInternalFilamentAssetData (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class RenderableInternalFilamentAssetData

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.RenderableInternalFilamentAssetData
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class RenderableInternalFilamentAssetData
    -extends java.lang.Object
    -
    Represents the data used by a Renderable for rendering natively loaded glTF data.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RenderableInternalFilamentAssetData

        -
        public RenderableInternalFilamentAssetData()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setCenterAabb

        -
        public void setCenterAabb(Vector3 center)
        -
      • -
      - - - -
        -
      • -

        getCenterAabb

        -
        public Vector3 getCenterAabb()
        -
      • -
      - - - -
        -
      • -

        setExtentsAabb

        -
        public void setExtentsAabb(Vector3 halfExtents)
        -
      • -
      - - - -
        -
      • -

        getExtentsAabb

        -
        public Vector3 getExtentsAabb()
        -
      • -
      - - - -
        -
      • -

        getSizeAabb

        -
        public Vector3 getSizeAabb()
        -
      • -
      - - - -
        -
      • -

        setTransformScale

        -
        public void setTransformScale(float scale)
        -
      • -
      - - - -
        -
      • -

        getTransformScale

        -
        public float getTransformScale()
        -
      • -
      - - - -
        -
      • -

        setTransformOffset

        -
        public void setTransformOffset(Vector3 offset)
        -
      • -
      - - - -
        -
      • -

        getTransformOffset

        -
        public Vector3 getTransformOffset()
        -
      • -
      - - - -
        -
      • -

        getMeshes

        -
        public java.util.ArrayList<com.google.ar.sceneform.rendering.RenderableInternalData.MeshData> getMeshes()
        -
      • -
      - - - -
        -
      • -

        getMaterialBindingIds

        -
        public java.util.ArrayList<java.lang.Integer> getMaterialBindingIds()
        -
      • -
      - - - -
        -
      • -

        setIndexBuffer

        -
        public void setIndexBuffer(IndexBuffer indexBuffer)
        -
      • -
      - - - -
        -
      • -

        getIndexBuffer

        -
        public IndexBuffer getIndexBuffer()
        -
      • -
      - - - -
        -
      • -

        setVertexBuffer

        -
        public void setVertexBuffer(VertexBuffer vertexBuffer)
        -
      • -
      - - - -
        -
      • -

        getVertexBuffer

        -
        public VertexBuffer getVertexBuffer()
        -
      • -
      - - - -
        -
      • -

        setRawIndexBuffer

        -
        public void setRawIndexBuffer(java.nio.IntBuffer rawIndexBuffer)
        -
      • -
      - - - -
        -
      • -

        getRawIndexBuffer

        -
        public java.nio.IntBuffer getRawIndexBuffer()
        -
      • -
      - - - -
        -
      • -

        setRawPositionBuffer

        -
        public void setRawPositionBuffer(java.nio.FloatBuffer rawPositionBuffer)
        -
      • -
      - - - -
        -
      • -

        getRawPositionBuffer

        -
        public java.nio.FloatBuffer getRawPositionBuffer()
        -
      • -
      - - - -
        -
      • -

        setRawTangentsBuffer

        -
        public void setRawTangentsBuffer(java.nio.FloatBuffer rawTangentsBuffer)
        -
      • -
      - - - -
        -
      • -

        getRawTangentsBuffer

        -
        public java.nio.FloatBuffer getRawTangentsBuffer()
        -
      • -
      - - - -
        -
      • -

        setRawUvBuffer

        -
        public void setRawUvBuffer(java.nio.FloatBuffer rawUvBuffer)
        -
      • -
      - - - -
        -
      • -

        getRawUvBuffer

        -
        public java.nio.FloatBuffer getRawUvBuffer()
        -
      • -
      - - - -
        -
      • -

        setRawColorBuffer

        -
        public void setRawColorBuffer(java.nio.FloatBuffer rawColorBuffer)
        -
      • -
      - - - -
        -
      • -

        getRawColorBuffer

        -
        public java.nio.FloatBuffer getRawColorBuffer()
        -
      • -
      - - - -
        -
      • -

        setAnimationNames

        -
        public void setAnimationNames(java.util.List<java.lang.String> animationNames)
        -
      • -
      - - - -
        -
      • -

        getAnimationNames

        -
        public java.util.List<java.lang.String> getAnimationNames()
        -
      • -
      - - - -
        -
      • -

        buildInstanceData

        -
        public void buildInstanceData(Renderable renderable,
        -                              int renderedEntity)
        -
      • -
      - - - -
        -
      • -

        dispose

        -
        public void dispose()
        -
        Removes any memory used by the object.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Renderer.html b/docs/javadoc/com/google/ar/sceneform/rendering/Renderer.html deleted file mode 100644 index 0281745f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Renderer.html +++ /dev/null @@ -1,805 +0,0 @@ - - - - - -Renderer (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Renderer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Renderer
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Renderer
    -extends java.lang.Object
    -
    A rendering context. - -

    Contains everything that will be drawn on a surface.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Renderer

        -
        public Renderer(android.view.SurfaceView view)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        startMirroring

        -
        public void startMirroring(android.view.Surface surface,
        -                           int left,
        -                           int bottom,
        -                           int width,
        -                           int height)
        -
        Starts mirroring to the specified Surface.
        -
      • -
      - - - -
        -
      • -

        stopMirroring

        -
        public void stopMirroring(android.view.Surface surface)
        -
        Stops mirroring to the specified Surface.
        -
      • -
      - - - -
        -
      • -

        getFilamentRenderer

        -
        public com.google.android.filament.Renderer getFilamentRenderer()
        -
        Access to the underlying Filament renderer.
        -
      • -
      - - - -
        -
      • -

        getSurfaceView

        -
        public android.view.SurfaceView getSurfaceView()
        -
      • -
      - - - -
        -
      • -

        setClearColor

        -
        public void setClearColor(Color color)
        -
      • -
      - - - -
        -
      • -

        setDefaultClearColor

        -
        public void setDefaultClearColor()
        -
      • -
      - - - -
        -
      • -

        setFrontFaceWindingInverted

        -
        public void setFrontFaceWindingInverted(java.lang.Boolean inverted)
        -
        Inverts winding for front face rendering.
        -
      • -
      - - - -
        -
      • -

        isFrontFaceWindingInverted

        -
        public boolean isFrontFaceWindingInverted()
        -
        Checks whether winding is inverted for front face rendering.
        -
      • -
      - - - -
        -
      • -

        setCameraProvider

        -
        public void setCameraProvider(CameraProvider cameraProvider)
        -
      • -
      - - - -
        -
      • -

        onPause

        -
        public void onPause()
        -
      • -
      - - - -
        -
      • -

        onResume

        -
        public void onResume()
        -
      • -
      - - - -
        -
      • -

        setFrameRenderDebugCallback

        -
        public void setFrameRenderDebugCallback(java.lang.Runnable onFrameRenderDebugCallback)
        -
        Sets a callback to happen after each frame is rendered. This can be used to log performance - metrics for a given frame.
        -
      • -
      - - - - - - - -
        -
      • -

        animate

        -
        public void animate()
        -
        Apply all the animations states of entities
        -
      • -
      - - - -
        -
      • -

        render

        -
        public void render(boolean debugEnabled)
        -
      • -
      - - - -
        -
      • -

        dispose

        -
        public void dispose()
        -
      • -
      - - - -
        -
      • -

        getContext

        -
        public android.content.Context getContext()
        -
      • -
      - - - -
        -
      • -

        setLightProbe

        -
        public void setLightProbe(LightProbe lightProbe)
        -
        Set the Light Probe used for reflections and indirect light.
        -
      • -
      - - - -
        -
      • -

        setDesiredSize

        -
        public void setDesiredSize(int width,
        -                           int height)
        -
      • -
      - - - -
        -
      • -

        getDesiredWidth

        -
        public int getDesiredWidth()
        -
      • -
      - - - -
        -
      • -

        getDesiredHeight

        -
        public int getDesiredHeight()
        -
      • -
      - - - -
        -
      • -

        onNativeWindowChanged

        -
        public void onNativeWindowChanged(android.view.Surface surface)
        -
      • -
      - - - -
        -
      • -

        onDetachedFromSurface

        -
        public void onDetachedFromSurface()
        -
      • -
      - - - -
        -
      • -

        setDynamicResolutionEnabled

        -
        public void setDynamicResolutionEnabled(boolean isEnabled)
        -
      • -
      - - - -
        -
      • -

        setAntiAliasing

        -
        public void setAntiAliasing(com.google.android.filament.View.AntiAliasing antiAliasing)
        -
      • -
      - - - -
        -
      • -

        setDithering

        -
        public void setDithering(com.google.android.filament.View.Dithering dithering)
        -
      • -
      - - - -
        -
      • -

        setPostProcessingEnabled

        -
        public void setPostProcessingEnabled(boolean enablePostProcessing)
        -
      • -
      - - - -
        -
      • -

        setRenderQuality

        -
        public void setRenderQuality(com.google.android.filament.View.RenderQuality renderQuality)
        -
      • -
      - - - -
        -
      • -

        enablePerformanceMode

        -
        public void enablePerformanceMode()
        -
        Sets a high performance configuration for the filament view. Disables MSAA, disables - post-process, disables dynamic resolution, sets quality to 'low'.
        -
      • -
      - - - -
        -
      • -

        getEnvironmentalHdrParameters

        -
        public EnvironmentalHdrParameters getEnvironmentalHdrParameters()
        -
        Getter to help convert between filament and Environmental HDR.
        -
      • -
      - - - -
        -
      • -

        setEnvironmentalHdrParameters

        -
        public void setEnvironmentalHdrParameters(EnvironmentalHdrParameters environmentalHdrParameters)
        -
        Setter to help convert between filament and Environmental HDR.
        -
      • -
      - - - -
        -
      • -

        onResized

        -
        public void onResized(int width,
        -                      int height)
        -
      • -
      - - - -
        -
      • -

        setUseHdrLightEstimate

        -
        public void setUseHdrLightEstimate(boolean useHdrLightEstimate)
        -
      • -
      - - - -
        -
      • -

        getExposure

        -
        public float getExposure()
        -
        Returns the exposure setting for renderering.
        -
      • -
      - - - -
        -
      • -

        reclaimReleasedResources

        -
        public static long reclaimReleasedResources()
        -
        Releases rendering resources ready for garbage collection
        -
        -
        Returns:
        -
        Count of resources currently in use
        -
        -
      • -
      - - - -
        -
      • -

        destroyAllResources

        -
        public static void destroyAllResources()
        -
        Immediately releases all rendering resources, even if in use.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ResourceManager.html b/docs/javadoc/com/google/ar/sceneform/rendering/ResourceManager.html deleted file mode 100644 index 93eddaaa..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ResourceManager.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - -ResourceManager (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ResourceManager

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.ResourceManager
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class ResourceManager
    -extends java.lang.Object
    -
    Minimal resource manager. Maintains mappings from ids to created resources and a task executor - dedicated to loading resources asynchronously.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        reclaimReleasedResources

        -
        public long reclaimReleasedResources()
        -
      • -
      - - - -
        -
      • -

        destroyAllResources

        -
        public void destroyAllResources()
        -
        Forcibly deletes all tracked references
        -
      • -
      - - - -
        -
      • -

        addResourceHolder

        -
        public void addResourceHolder(ResourceHolder resource)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/SceneformBundle.html b/docs/javadoc/com/google/ar/sceneform/rendering/SceneformBundle.html deleted file mode 100644 index 48983073..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/SceneformBundle.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - -SceneformBundle (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class SceneformBundle

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.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

        -
        public static 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(SceneformBundleDef rcb)
        -                                            throws java.io.IOException
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        isSceneformBundle

        -
        public static boolean isSceneformBundle(java.nio.ByteBuffer buffer)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ShapeFactory.html b/docs/javadoc/com/google/ar/sceneform/rendering/ShapeFactory.html deleted file mode 100644 index ceb5999d..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ShapeFactory.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - -ShapeFactory (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ShapeFactory

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.ShapeFactory
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class ShapeFactory
    -extends java.lang.Object
    -
    Utility class used to dynamically construct ModelRenderables for various shapes.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ShapeFactory

        -
        public ShapeFactory()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        makeCube

        -
        public static ModelRenderable makeCube(Vector3 size,
        -                                       Vector3 center,
        -                                       Material material)
        -
        Creates a ModelRenderable in the shape of a cube with the give specifications.
        -
        -
        Parameters:
        -
        size - the size of the constructed cube
        -
        center - the center of the constructed cube
        -
        material - the material to use for rendering the cube
        -
        Returns:
        -
        renderable representing a cube with the given parameters
        -
        -
      • -
      - - - -
        -
      • -

        makeSphere

        -
        public static ModelRenderable makeSphere(float radius,
        -                                         Vector3 center,
        -                                         Material material)
        -
        Creates a ModelRenderable in the shape of a sphere with the give specifications.
        -
        -
        Parameters:
        -
        radius - the radius of the constructed sphere
        -
        center - the center of the constructed sphere
        -
        material - the material to use for rendering the sphere
        -
        Returns:
        -
        renderable representing a sphere with the given parameters
        -
        -
      • -
      - - - -
        -
      • -

        makeCylinder

        -
        public static ModelRenderable makeCylinder(float radius,
        -                                           float height,
        -                                           Vector3 center,
        -                                           Material material)
        -
        Creates a ModelRenderable in the shape of a cylinder with the give specifications.
        -
        -
        Parameters:
        -
        radius - the radius of the constructed cylinder
        -
        height - the height of the constructed cylinder
        -
        center - the center of the constructed cylinder
        -
        material - the material to use for rendering the cylinder
        -
        Returns:
        -
        renderable representing a cylinder with the given parameters
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Builder.html deleted file mode 100644 index 3f495387..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Builder.html +++ /dev/null @@ -1,436 +0,0 @@ - - - - - -Texture.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Texture.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Texture.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Texture
    -
    -
    -
    -
    public static final class Texture.Builder
    -extends java.lang.Object
    -
    Factory class for Texture
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setSource

        -
        public Texture.Builder setSource(android.content.Context context,
        -                                 android.net.Uri sourceUri)
        -
        Allows a Texture to be constructed from Uri. Construction will be - asynchronous.
        -
        -
        Parameters:
        -
        sourceUri - Sets a remote Uri or android resource Uri. The texture will be added to the - registry using the Uri A previously registered texture with the same Uri will be re-used.
        -
        context - Sets the Context used to resolve sourceUri
        -
        Returns:
        -
        Texture.Builder for chaining setup calls.
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public Texture.Builder setSource(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator)
        -
        Allows a Texture to be constructed via callable function.
        -
        -
        Parameters:
        -
        inputStreamCreator - Supplies an InputStream with the Texture data.
        -
        Returns:
        -
        Texture.Builder for chaining setup calls.
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public Texture.Builder setSource(android.content.Context context,
        -                                 int resource)
        -
        Allows a Texture to be constructed from resource. Construction will be asynchronous.
        -
        -
        Parameters:
        -
        resource - an android resource with raw type. A previously registered texture with the - same resource id will be re-used.
        -
        context - Context used for resolution
        -
        Returns:
        -
        Texture.Builder for chaining setup calls.
        -
        -
      • -
      - - - -
        -
      • -

        setSource

        -
        public Texture.Builder setSource(android.graphics.Bitmap bitmap)
        -
        Allows a Texture to be constructed from a Bitmap. Construction will be - immediate. - -

        The Bitmap must meet the following conditions to be used by Sceneform: - -

          -
        • Bitmap.getConfig() must be Bitmap.Config#ARGB_8888. -
        • Bitmap.isPremultiplied() must be true. -
        • The width and height must be smaller than 4096 pixels. -
        -
        -
        Parameters:
        -
        bitmap - Bitmap source of texture data
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the bitmap isn't valid
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setRegistryId

        -
        public Texture.Builder setRegistryId(java.lang.Object registryId)
        -
        Allows a Texture to be reused. If registryId is non-null it will be saved in a - registry and the registry will be checked for this id before construction.
        -
        -
        Parameters:
        -
        registryId - Allows the function to be skipped and a previous texture to be re-used.
        -
        Returns:
        -
        Texture.Builder for chaining setup calls.
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        build

        -
        public java.util.concurrent.CompletableFuture<Texture> build()
        -
        Creates a new Texture based on the parameters set previously
        -
        -
        Throws:
        -
        java.lang.IllegalStateException - if the builder is not properly set
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.Builder.html deleted file mode 100644 index 3abfd25a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.Builder.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - -Texture.Sampler.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Texture.Sampler.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Texture.Sampler.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Texture.Sampler
    -
    -
    -
    -
    public static class Texture.Sampler.Builder
    -extends java.lang.Object
    -
    Builder for constructing Sampler objects.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.MagFilter.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.MagFilter.html deleted file mode 100644 index cb40f5a1..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.MagFilter.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - -Texture.Sampler.MagFilter (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum Texture.Sampler.MagFilter

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      LINEAR 
      NEAREST 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Texture.Sampler.MagFiltervalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static Texture.Sampler.MagFilter[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Texture.Sampler.MagFilter[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (Texture.Sampler.MagFilter c : Texture.Sampler.MagFilter.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Texture.Sampler.MagFilter valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.MinFilter.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.MinFilter.html deleted file mode 100644 index 75f3f5b1..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.MinFilter.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - -Texture.Sampler.MinFilter (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum Texture.Sampler.MinFilter

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Texture.Sampler.MinFilter[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (Texture.Sampler.MinFilter c : Texture.Sampler.MinFilter.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Texture.Sampler.MinFilter valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode.html deleted file mode 100644 index 797687b5..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -Texture.Sampler.WrapMode (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum Texture.Sampler.WrapMode

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Texture.Sampler.WrapModevalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static Texture.Sampler.WrapMode[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Texture.Sampler.WrapMode[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (Texture.Sampler.WrapMode c : Texture.Sampler.WrapMode.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Texture.Sampler.WrapMode valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.html deleted file mode 100644 index 548d7b44..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Sampler.html +++ /dev/null @@ -1,365 +0,0 @@ - - - - - -Texture.Sampler (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Texture.Sampler

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Texture.Sampler
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Texture
    -
    -
    -
    -
    public static class Texture.Sampler
    -extends java.lang.Object
    -
    Controls what settings are used to sample Textures when rendering.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getMinFilter

        -
        public Texture.Sampler.MinFilter getMinFilter()
        -
        Get the minifying function used whenever the level-of-detail function determines that the - texture should be minified.
        -
      • -
      - - - -
        -
      • -

        getMagFilter

        -
        public Texture.Sampler.MagFilter getMagFilter()
        -
        Get the magnification function used whenever the level-of-detail function determines that the - texture should be magnified.
        -
      • -
      - - - -
        -
      • -

        getWrapModeS

        -
        public Texture.Sampler.WrapMode getWrapModeS()
        -
        Get the wrap mode for texture coordinate S. The wrap mode determines how a texture is - rendered for uv coordinates outside the range of [0, 1].
        -
      • -
      - - - -
        -
      • -

        getWrapModeT

        -
        public Texture.Sampler.WrapMode getWrapModeT()
        -
        Get the wrap mode for texture coordinate T. The wrap mode determines how a texture is - rendered for uv coordinates outside the range of [0, 1].
        -
      • -
      - - - -
        -
      • -

        getWrapModeR

        -
        public Texture.Sampler.WrapMode getWrapModeR()
        -
        Get the wrap mode for texture coordinate R. The wrap mode determines how a texture is - rendered for uv coordinates outside the range of [0, 1].
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Usage.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Usage.html deleted file mode 100644 index 81a1a00a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.Usage.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - -Texture.Usage (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum Texture.Usage

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Enum<Texture.Usage>
    • -
    • -
        -
      • com.google.ar.sceneform.rendering.Texture.Usage
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<Texture.Usage>
    -
    -
    -
    Enclosing class:
    -
    Texture
    -
    -
    -
    -
    public static enum Texture.Usage
    -extends java.lang.Enum<Texture.Usage>
    -
    Type of Texture usage.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      COLOR -
      Texture contains a color map
      -
      DATA -
      Texture contains arbitrary data
      -
      NORMAL -
      Texture contains a normal map
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Texture.UsagevalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static Texture.Usage[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        COLOR

        -
        public static final Texture.Usage COLOR
        -
        Texture contains a color map
        -
      • -
      - - - -
        -
      • -

        NORMAL

        -
        public static final Texture.Usage NORMAL
        -
        Texture contains a normal map
        -
      • -
      - - - -
        -
      • -

        DATA

        -
        public static final Texture.Usage DATA
        -
        Texture contains arbitrary data
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Texture.Usage[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (Texture.Usage c : Texture.Usage.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Texture.Usage valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.html b/docs/javadoc/com/google/ar/sceneform/rendering/Texture.html deleted file mode 100644 index 1fe22ced..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Texture.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - -Texture (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Texture

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Texture
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Texture
    -extends java.lang.Object
    -
    Represents a reference to a texture.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class Texture.Builder -
      Factory class for Texture
      -
      static class Texture.Sampler -
      Controls what settings are used to sample Textures when rendering.
      -
      static class Texture.Usage -
      Type of Texture usage.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Texture.Builderbuilder() -
      Constructs a default texture, if nothing else is set
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        builder

        -
        public static Texture.Builder builder()
        -
        Constructs a default texture, if nothing else is set
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/TextureInternalData.html b/docs/javadoc/com/google/ar/sceneform/rendering/TextureInternalData.html deleted file mode 100644 index 72aff70a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/TextureInternalData.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -TextureInternalData (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class TextureInternalData

-
-
- -
-
    -
  • -
    -
    -
    public class TextureInternalData
    -extends SharedReference
    -
    Represents shared data used by Textures for rendering. The data will be released when all - Textures using this data are finalized.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      TextureInternalData(com.google.android.filament.Texture filamentTexture, - Texture.Sampler sampler) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      protected voidonDispose() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TextureInternalData

        -
        public TextureInternalData(com.google.android.filament.Texture filamentTexture,
        -                           Texture.Sampler sampler)
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ThreadPools.html b/docs/javadoc/com/google/ar/sceneform/rendering/ThreadPools.html deleted file mode 100644 index 84ed154f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ThreadPools.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - -ThreadPools (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ThreadPools

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.ThreadPools
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class ThreadPools
    -extends java.lang.Object
    -
    Provides access to default Executors to be used
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.util.concurrent.ExecutorgetMainExecutor() -
      Executor for anything that that touches Renderer state
      -
      static java.util.concurrent.ExecutorgetThreadPoolExecutor() -
      Default background Executor for async operations including file reading.
      -
      static voidsetMainExecutor(java.util.concurrent.Executor executor) 
      static voidsetThreadPoolExecutor(java.util.concurrent.Executor executor) -
      Sets the default background Executor.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getMainExecutor

        -
        public static java.util.concurrent.Executor getMainExecutor()
        -
        Executor for anything that that touches Renderer state
        -
      • -
      - - - -
        -
      • -

        setMainExecutor

        -
        public static void setMainExecutor(java.util.concurrent.Executor executor)
        -
        -
        Parameters:
        -
        executor - provides access to the main thread.
        -
        -
      • -
      - - - -
        -
      • -

        getThreadPoolExecutor

        -
        public static java.util.concurrent.Executor getThreadPoolExecutor()
        -
        Default background Executor for async operations including file reading.
        -
      • -
      - - - -
        -
      • -

        setThreadPoolExecutor

        -
        public static void setThreadPoolExecutor(java.util.concurrent.Executor executor)
        -
        Sets the default background Executor. - -

        Tasks may be long running. This should not include the main thread

        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.Builder.html deleted file mode 100644 index 68ef3e8a..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.Builder.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - -Vertex.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Vertex.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Vertex.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Vertex
    -
    -
    -
    -
    public static final class Vertex.Builder
    -extends java.lang.Object
    -
    Factory class for Vertex.
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.UvCoordinate.html b/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.UvCoordinate.html deleted file mode 100644 index 61cd6c98..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.UvCoordinate.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - -Vertex.UvCoordinate (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Vertex.UvCoordinate

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Vertex.UvCoordinate
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Vertex
    -
    -
    -
    -
    public static final class Vertex.UvCoordinate
    -extends java.lang.Object
    -
    Represents a texture Coordinate for a Vertex. Values should be between 0 and 1.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      floatx 
      floaty 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      UvCoordinate(float x, - float y) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        x

        -
        public float x
        -
      • -
      - - - -
        -
      • -

        y

        -
        public float y
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        UvCoordinate

        -
        public UvCoordinate(float x,
        -                    float y)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.html b/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.html deleted file mode 100644 index b85e6576..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Vertex.html +++ /dev/null @@ -1,372 +0,0 @@ - - - - - -Vertex (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class Vertex

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.Vertex
    • -
    -
  • -
-
- -
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.Builder.html b/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.Builder.html deleted file mode 100644 index 0d5b7e77..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.Builder.html +++ /dev/null @@ -1,588 +0,0 @@ - - - - - -ViewRenderable.Builder (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ViewRenderable.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.rendering.ViewRenderable.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ViewRenderable
    -
    -
    -
    -
    public static final class ViewRenderable.Builder
    -extends java.lang.Object
    -
    Factory class for ViewRenderable
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.HorizontalAlignment.html b/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.HorizontalAlignment.html deleted file mode 100644 index be5241a2..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.HorizontalAlignment.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -ViewRenderable.HorizontalAlignment (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum ViewRenderable.HorizontalAlignment

-
-
- -
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      CENTER 
      LEFT 
      RIGHT 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static ViewRenderable.HorizontalAlignmentvalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static ViewRenderable.HorizontalAlignment[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static ViewRenderable.HorizontalAlignment[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (ViewRenderable.HorizontalAlignment c : ViewRenderable.HorizontalAlignment.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static ViewRenderable.HorizontalAlignment valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.VerticalAlignment.html b/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.VerticalAlignment.html deleted file mode 100644 index 11897ed3..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.VerticalAlignment.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -ViewRenderable.VerticalAlignment (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Enum ViewRenderable.VerticalAlignment

-
-
- -
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      BOTTOM 
      CENTER 
      TOP 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static ViewRenderable.VerticalAlignmentvalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static ViewRenderable.VerticalAlignment[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static ViewRenderable.VerticalAlignment[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (ViewRenderable.VerticalAlignment c : ViewRenderable.VerticalAlignment.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static ViewRenderable.VerticalAlignment valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.html b/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.html deleted file mode 100644 index 666ff5f7..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ViewRenderable.html +++ /dev/null @@ -1,501 +0,0 @@ - - - - - -ViewRenderable (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Class ViewRenderable

-
-
- -
-
    -
  • -
    -
    -
    public class ViewRenderable
    -extends Renderable
    -
    Renders a 2D Android view in 3D space by attaching it to a Node - with Node.setRenderable(Renderable). By default, the size of the - view is 1 meter in the Scene per 250dp in the layout. Use a - ViewSizer to control how the size of the view in the Scene is calculated. - -
    
    - future = ViewRenderable.builder().setView(context, R.layout.view).build();
    - viewRenderable = future.thenAccept(...);
    - 
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/ViewSizer.html b/docs/javadoc/com/google/ar/sceneform/rendering/ViewSizer.html deleted file mode 100644 index f95edac5..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/ViewSizer.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - -ViewSizer (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.rendering
-

Interface ViewSizer

-
-
-
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSize

        -
        Vector3 getSize(android.view.View view)
        -
        Calculates the desired size of the view in the Scene. Vector3.x represents the width, and Vector3.y represents the height.
        -
        -
        Parameters:
        -
        view - the view to calculate the size of
        -
        Returns:
        -
        a new vector that represents the view's size in the Scene
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/package-frame.html b/docs/javadoc/com/google/ar/sceneform/rendering/package-frame.html deleted file mode 100644 index 5a746254..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/package-frame.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - -com.google.ar.sceneform.rendering (core API) - - - - -

com.google.ar.sceneform.rendering

- - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/package-summary.html b/docs/javadoc/com/google/ar/sceneform/rendering/package-summary.html deleted file mode 100644 index 5d1a9667..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/package-summary.html +++ /dev/null @@ -1,531 +0,0 @@ - - - - - -com.google.ar.sceneform.rendering (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.rendering

-
-
- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/package-tree.html b/docs/javadoc/com/google/ar/sceneform/rendering/package-tree.html deleted file mode 100644 index 2f8f3ddf..00000000 --- a/docs/javadoc/com/google/ar/sceneform/rendering/package-tree.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - -com.google.ar.sceneform.rendering Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.rendering

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/resources/package-frame.html b/docs/javadoc/com/google/ar/sceneform/resources/package-frame.html deleted file mode 100644 index f13038cc..00000000 --- a/docs/javadoc/com/google/ar/sceneform/resources/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - -com.google.ar.sceneform.resources (core API) - - - - -

com.google.ar.sceneform.resources

-
-

Interfaces

- -

Classes

- -
- - diff --git a/docs/javadoc/com/google/ar/sceneform/resources/package-summary.html b/docs/javadoc/com/google/ar/sceneform/resources/package-summary.html deleted file mode 100644 index f11aec22..00000000 --- a/docs/javadoc/com/google/ar/sceneform/resources/package-summary.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -com.google.ar.sceneform.resources (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.resources

-
-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    ResourceHolder -
    Pool or cachce for resources
    -
    -
  • -
  • - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    ResourceRegistry<T> -
    ResourceRegistry keeps track of resources that have been loaded and are in the process of being - loaded.
    -
    SharedReference -
    Used for managing memory of shared object using reference counting.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/resources/package-tree.html b/docs/javadoc/com/google/ar/sceneform/resources/package-tree.html deleted file mode 100644 index 53e06b75..00000000 --- a/docs/javadoc/com/google/ar/sceneform/resources/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -com.google.ar.sceneform.resources Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.resources

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/ArCoreVersion.html b/docs/javadoc/com/google/ar/sceneform/utilities/ArCoreVersion.html deleted file mode 100644 index cd0ff71f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/ArCoreVersion.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - -ArCoreVersion (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.utilities
-

Class ArCoreVersion

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.utilities.ArCoreVersion
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class ArCoreVersion
    -extends java.lang.Object
    -
    Utilities for detecting and handling the version of Ar Core.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intVERSION_CODE_1_3 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ArCoreVersion() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static intgetMinArCoreVersionCode(android.content.Context context) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ArCoreVersion

        -
        public ArCoreVersion()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getMinArCoreVersionCode

        -
        public static int getMinArCoreVersionCode(android.content.Context context)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/EnvironmentalHdrParameters.html b/docs/javadoc/com/google/ar/sceneform/utilities/EnvironmentalHdrParameters.html deleted file mode 100644 index 752a2c50..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/EnvironmentalHdrParameters.html +++ /dev/null @@ -1,402 +0,0 @@ - - - - - -EnvironmentalHdrParameters (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.utilities
-

Class EnvironmentalHdrParameters

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.utilities.EnvironmentalHdrParameters
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class EnvironmentalHdrParameters
    -extends java.lang.Object
    -
    Provides scaling factors from Environmental Hdr to Filament. - -

    A conversion is required to convert between Environmental Hdr units and an intensity value - Filament can use.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DEFAULT_AMBIENT_SH_SCALE_FOR_FILAMENT

        -
        public static final float DEFAULT_AMBIENT_SH_SCALE_FOR_FILAMENT
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        DEFAULT_DIRECT_INTENSITY_FOR_FILAMENT

        -
        public static final float DEFAULT_DIRECT_INTENSITY_FOR_FILAMENT
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        DEFAULT_REFLECTION_SCALE_FOR_FILAMENT

        -
        public static final float DEFAULT_REFLECTION_SCALE_FOR_FILAMENT
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        getAmbientShScaleForFilament

        -
        public float getAmbientShScaleForFilament()
        -
        A scale factor bridging Environmental Hdr's ambient sh to Filament's ambient sh values. - -

        This number has been hand tuned by comparing lighting to reference app - /third_party/arcore/unity/apps/whitebox

        -
      • -
      - - - -
        -
      • -

        getDirectIntensityForFilament

        -
        public float getDirectIntensityForFilament()
        -
        Environmental Hdr provides a relative intensity, a number above zero and often below 8.
        -
      • -
      - - - -
        -
      • -

        getReflectionScaleForFilament

        -
        public float getReflectionScaleForFilament()
        -
        A scale factor bridging Environmental Hdr's relative intensity to a lux based intensity for - reflections only.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/LoadHelper.html b/docs/javadoc/com/google/ar/sceneform/utilities/LoadHelper.html deleted file mode 100644 index 9ec30710..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/LoadHelper.html +++ /dev/null @@ -1,531 +0,0 @@ - - - - - -LoadHelper (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.utilities
-

Class LoadHelper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.utilities.LoadHelper
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class LoadHelper
    -extends java.lang.Object
    -
    Convenience class to parse Uri's.
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static intdrawableResourceNameToIdentifier(android.content.Context context, - java.lang.String name) -
      Return the integer resource id for the specified resource name.
      -
      static voidenableCaching(android.content.Context context) -
      Enables HTTP caching with default settings, remote Uri requests responses are cached to - cacheBaseDir/cacheFolderName
      -
      static voidenableCaching(long cacheByteSize, - java.io.File cacheBaseDir, - java.lang.String cacheFolderName) -
      Enables HTTP caching, remote Uri requests responses are cached to cacheBaseDir/cacheFolderName
      -
      static voidflushHttpCache() 
      static java.util.concurrent.Callable<java.io.InputStream>fromResource(android.content.Context context, - int resId) -
      Creates an InputStream from an Android resource ID.
      -
      static java.util.concurrent.Callable<java.io.InputStream>fromUri(android.content.Context context, - android.net.Uri sourceUri) -
      Creates different InputStreams depending on the contents of the Uri
      -
      static java.util.concurrent.Callable<java.io.InputStream>fromUri(android.content.Context context, - android.net.Uri sourceUri, - java.util.Map<java.lang.String,java.lang.String> requestProperty) -
      Creates different InputStreams depending on the contents of the Uri.
      -
      static java.lang.StringgetLastPathSegment(android.net.Uri uri) 
      static java.lang.BooleanisAndroidResource(android.net.Uri sourceUri) -
      True if the Uri is an Android resource, false if any other uri.
      -
      static booleanisDataUri(android.net.Uri uri) 
      static java.lang.BooleanisFileAsset(android.net.Uri sourceUri) -
      True if the Uri is a filename, false if it is a remote location.
      -
      static booleanisGltfDataUri(android.net.Uri uri) 
      static intrawResourceNameToIdentifier(android.content.Context context, - java.lang.String name) -
      Return the integer resource id for the specified resource name.
      -
      static android.net.UriresolveUri(android.net.Uri unresolvedUri, - android.net.Uri parentUri) -
      Normalizes Uri's based on a reference Uri.
      -
      static android.net.UriresourceToUri(android.content.Context context, - int resID) -
      Generates a Uri from an Android resource.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        INVALID_RESOURCE_IDENTIFIER

        -
        public static final int INVALID_RESOURCE_IDENTIFIER
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isAndroidResource

        -
        public static java.lang.Boolean isAndroidResource(android.net.Uri sourceUri)
        -
        True if the Uri is an Android resource, false if any other uri.
        -
      • -
      - - - -
        -
      • -

        isFileAsset

        -
        public static java.lang.Boolean isFileAsset(android.net.Uri sourceUri)
        -
        True if the Uri is a filename, false if it is a remote location.
        -
      • -
      - - - -
        -
      • -

        resolveUri

        -
        public static android.net.Uri resolveUri(android.net.Uri unresolvedUri,
        -                                         android.net.Uri parentUri)
        -
        Normalizes Uri's based on a reference Uri. This function is for convenience only since the Uri - class can do this as well.
        -
      • -
      - - - -
        -
      • -

        fromResource

        -
        public static java.util.concurrent.Callable<java.io.InputStream> fromResource(android.content.Context context,
        -                                                                              int resId)
        -
        Creates an InputStream from an Android resource ID.
        -
        -
        Throws:
        -
        java.lang.IllegalArgumentException - for resources that can't be loaded.
        -
        -
      • -
      - - - -
        -
      • -

        fromUri

        -
        public static java.util.concurrent.Callable<java.io.InputStream> fromUri(android.content.Context context,
        -                                                                         android.net.Uri sourceUri)
        -
        Creates different InputStreams depending on the contents of the Uri
        -
        -
        Throws:
        -
        java.lang.IllegalArgumentException - for Uri's that can't be loaded.
        -
        -
      • -
      - - - -
        -
      • -

        fromUri

        -
        public static java.util.concurrent.Callable<java.io.InputStream> fromUri(android.content.Context context,
        -                                                                         android.net.Uri sourceUri,
        -                                                                         java.util.Map<java.lang.String,java.lang.String> requestProperty)
        -
        Creates different InputStreams depending on the contents of the Uri.
        -
        -
        Parameters:
        -
        requestProperty - Adds connection properties to created input stream.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - for Uri's that can't be loaded.
        -
        -
      • -
      - - - -
        -
      • -

        resourceToUri

        -
        public static android.net.Uri resourceToUri(android.content.Context context,
        -                                            int resID)
        -
        Generates a Uri from an Android resource.
        -
        -
        Throws:
        -
        Resources.NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        rawResourceNameToIdentifier

        -
        public static int rawResourceNameToIdentifier(android.content.Context context,
        -                                              java.lang.String name)
        -
        Return the integer resource id for the specified resource name.
        -
      • -
      - - - -
        -
      • -

        drawableResourceNameToIdentifier

        -
        public static int drawableResourceNameToIdentifier(android.content.Context context,
        -                                                   java.lang.String name)
        -
        Return the integer resource id for the specified resource name.
        -
      • -
      - - - -
        -
      • -

        enableCaching

        -
        public static void enableCaching(android.content.Context context)
        -
        Enables HTTP caching with default settings, remote Uri requests responses are cached to - cacheBaseDir/cacheFolderName
        -
      • -
      - - - -
        -
      • -

        enableCaching

        -
        public static void enableCaching(long cacheByteSize,
        -                                 java.io.File cacheBaseDir,
        -                                 java.lang.String cacheFolderName)
        -
        Enables HTTP caching, remote Uri requests responses are cached to cacheBaseDir/cacheFolderName
        -
      • -
      - - - -
        -
      • -

        flushHttpCache

        -
        public static void flushHttpCache()
        -
      • -
      - - - -
        -
      • -

        isDataUri

        -
        public static boolean isDataUri(android.net.Uri uri)
        -
      • -
      - - - -
        -
      • -

        isGltfDataUri

        -
        public static boolean isGltfDataUri(android.net.Uri uri)
        -
      • -
      - - - -
        -
      • -

        getLastPathSegment

        -
        public static java.lang.String getLastPathSegment(android.net.Uri uri)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/MovingAverageMillisecondsTracker.html b/docs/javadoc/com/google/ar/sceneform/utilities/MovingAverageMillisecondsTracker.html deleted file mode 100644 index ceb068e2..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/MovingAverageMillisecondsTracker.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - -MovingAverageMillisecondsTracker (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.utilities
-

Class MovingAverageMillisecondsTracker

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.utilities.MovingAverageMillisecondsTracker
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class MovingAverageMillisecondsTracker
    -extends java.lang.Object
    -
    Used to track a MovingAverage that represents the number of milliseconds that elapse - within the execution of a block of code.
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidbeginSample() -
      Call at the point in execution when the tracker should start measuring elapsed milliseconds.
      -
      voidendSample() -
      Call at the point in execution when the tracker should stop measuring elapsed milliseconds and - post a new sample.
      -
      doublegetAverage() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MovingAverageMillisecondsTracker

        -
        public MovingAverageMillisecondsTracker()
        -
      • -
      - - - -
        -
      • -

        MovingAverageMillisecondsTracker

        -
        public MovingAverageMillisecondsTracker(double weight)
        -
      • -
      - - - -
        -
      • -

        MovingAverageMillisecondsTracker

        -
        public MovingAverageMillisecondsTracker(com.google.ar.sceneform.utilities.MovingAverageMillisecondsTracker.Clock clock)
        -
      • -
      - - - -
        -
      • -

        MovingAverageMillisecondsTracker

        -
        public MovingAverageMillisecondsTracker(com.google.ar.sceneform.utilities.MovingAverageMillisecondsTracker.Clock clock,
        -                                        double weight)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        beginSample

        -
        public void beginSample()
        -
        Call at the point in execution when the tracker should start measuring elapsed milliseconds.
        -
      • -
      - - - -
        -
      • -

        endSample

        -
        public void endSample()
        -
        Call at the point in execution when the tracker should stop measuring elapsed milliseconds and - post a new sample.
        -
      • -
      - - - -
        -
      • -

        getAverage

        -
        public double getAverage()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/Preconditions.html b/docs/javadoc/com/google/ar/sceneform/utilities/Preconditions.html deleted file mode 100644 index 095ffeda..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/Preconditions.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - - -Preconditions (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.utilities
-

Class Preconditions

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.utilities.Preconditions
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Preconditions
    -extends java.lang.Object
    -
    Static convenience methods that help a method or constructor check whether it was invoked - correctly.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Preconditions() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidcheckElementIndex(int index, - int size) -
      Ensures that index specifies a valid element in an array, list or string of size - size.
      -
      static voidcheckElementIndex(int index, - int size, - java.lang.String desc) -
      Ensures that index specifies a valid element in an array, list or string of size - size.
      -
      static <T> TcheckNotNull(T reference) -
      Ensures that an object reference passed as a parameter to the calling method is not null.
      -
      static <T> TcheckNotNull(T reference, - java.lang.Object errorMessage) -
      Ensures that an object reference passed as a parameter to the calling method is not null.
      -
      static voidcheckState(boolean expression) -
      Ensures the truth of an expression involving the state of the calling instance, but not - involving any parameters to the calling method.
      -
      static voidcheckState(boolean expression, - java.lang.Object errorMessage) -
      Ensures the truth of an expression involving the state of the calling instance, but not - involving any parameters to the calling method.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Preconditions

        -
        public Preconditions()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - -
        -
      • -

        checkNotNull

        -
        public static <T> T checkNotNull(T reference)
        -
        Ensures that an object reference passed as a parameter to the calling method is not null.
        -
        -
        Parameters:
        -
        reference - an object reference
        -
        Throws:
        -
        java.lang.NullPointerException - if reference is null
        -
        -
      • -
      - - - - - -
        -
      • -

        checkNotNull

        -
        public static <T> T checkNotNull(T reference,
        -                                 java.lang.Object errorMessage)
        -
        Ensures that an object reference passed as a parameter to the calling method is not null.
        -
        -
        Parameters:
        -
        reference - an object reference
        -
        errorMessage - the exception message to use if the check fails; will be converted to a - string using String.valueOf(Object)
        -
        Throws:
        -
        java.lang.NullPointerException - if reference is null
        -
        -
      • -
      - - - -
        -
      • -

        checkElementIndex

        -
        public static void checkElementIndex(int index,
        -                                     int size)
        -
        Ensures that index specifies a valid element in an array, list or string of size - size. An element index may range from zero, inclusive, to size, exclusive.
        -
        -
        Parameters:
        -
        index - a user-supplied index identifying an element of an array, list or string
        -
        size - the size of that array, list or string
        -
        Throws:
        -
        java.lang.IndexOutOfBoundsException - if index is negative or is not less than size
        -
        java.lang.IllegalArgumentException - if size is negative
        -
        -
      • -
      - - - -
        -
      • -

        checkElementIndex

        -
        public static void checkElementIndex(int index,
        -                                     int size,
        -                                     java.lang.String desc)
        -
        Ensures that index specifies a valid element in an array, list or string of size - size. An element index may range from zero, inclusive, to size, exclusive.
        -
        -
        Parameters:
        -
        index - a user-supplied index identifying an element of an array, list or string
        -
        size - the size of that array, list or string
        -
        desc - the text to use to describe this index in an error message
        -
        Throws:
        -
        java.lang.IndexOutOfBoundsException - if index is negative or is not less than size
        -
        java.lang.IllegalArgumentException - if size is negative
        -
        -
      • -
      - - - -
        -
      • -

        checkState

        -
        public static void checkState(boolean expression)
        -
        Ensures the truth of an expression involving the state of the calling instance, but not - involving any parameters to the calling method.
        -
        -
        Parameters:
        -
        expression - a boolean expression
        -
        Throws:
        -
        java.lang.IllegalStateException - if expression is false
        -
        -
      • -
      - - - -
        -
      • -

        checkState

        -
        public static void checkState(boolean expression,
        -                              java.lang.Object errorMessage)
        -
        Ensures the truth of an expression involving the state of the calling instance, but not - involving any parameters to the calling method.
        -
        -
        Parameters:
        -
        expression - a boolean expression
        -
        errorMessage - the exception message to use if the check fails; will be converted to a - string using String.valueOf(Object)
        -
        Throws:
        -
        java.lang.IllegalStateException - if expression is false
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/SceneformBufferUtils.html b/docs/javadoc/com/google/ar/sceneform/utilities/SceneformBufferUtils.html deleted file mode 100644 index b6d0a10f..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/SceneformBufferUtils.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - -SceneformBufferUtils (core API) - - - - - - - - - - - -
-
com.google.ar.sceneform.utilities
-

Class SceneformBufferUtils

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.ar.sceneform.utilities.SceneformBufferUtils
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class SceneformBufferUtils
    -extends java.lang.Object
    -
    A simple class to read InputStreams Once the data is read it can be accessed as a ByteBuffer.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.nio.ByteBuffercopyByteBuffer(java.nio.ByteBuffer in) 
      static byte[]copyByteBufferToArray(java.nio.ByteBuffer in) 
      static byte[]inputStreamCallableToByteArray(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator) 
      static byte[]inputStreamToByteArray(java.io.InputStream input) 
      static java.nio.ByteBufferinputStreamToByteBuffer(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator) 
      static java.nio.ByteBufferreadFile(android.content.res.AssetManager assets, - java.lang.String path) 
      static java.nio.ByteBufferreadStream(java.io.InputStream inputStream) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        readFile

        -
        public static java.nio.ByteBuffer readFile(android.content.res.AssetManager assets,
        -                                           java.lang.String path)
        -
      • -
      - - - -
        -
      • -

        readStream

        -
        public static java.nio.ByteBuffer readStream(java.io.InputStream inputStream)
        -
      • -
      - - - -
        -
      • -

        copyByteBufferToArray

        -
        public static byte[] copyByteBufferToArray(java.nio.ByteBuffer in)
        -                                    throws java.io.IOException
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        copyByteBuffer

        -
        public static java.nio.ByteBuffer copyByteBuffer(java.nio.ByteBuffer in)
        -                                          throws java.io.IOException
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        inputStreamToByteBuffer

        -
        public static java.nio.ByteBuffer inputStreamToByteBuffer(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator)
        -
      • -
      - - - -
        -
      • -

        inputStreamCallableToByteArray

        -
        public static byte[] inputStreamCallableToByteArray(java.util.concurrent.Callable<java.io.InputStream> inputStreamCreator)
        -                                             throws java.lang.Exception
        -
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      - - - -
        -
      • -

        inputStreamToByteArray

        -
        public static byte[] inputStreamToByteArray(java.io.InputStream input)
        -                                     throws java.io.IOException
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/package-frame.html b/docs/javadoc/com/google/ar/sceneform/utilities/package-frame.html deleted file mode 100644 index 5a8911d1..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/package-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -com.google.ar.sceneform.utilities (core API) - - - - -

com.google.ar.sceneform.utilities

- - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/package-summary.html b/docs/javadoc/com/google/ar/sceneform/utilities/package-summary.html deleted file mode 100644 index 4d1ae1e5..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/package-summary.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - -com.google.ar.sceneform.utilities (core API) - - - - - - - - - - -
-

Package com.google.ar.sceneform.utilities

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    AndroidPreconditions -
    Helper class for common android specific preconditions used inside of RenderCore.
    -
    ArCoreVersion -
    Utilities for detecting and handling the version of Ar Core.
    -
    ChangeId -
    Used to identify when the state of an object has changed by incrementing an integer id.
    -
    EnvironmentalHdrParameters -
    Provides scaling factors from Environmental Hdr to Filament.
    -
    EnvironmentalHdrParameters.Builder -
    Builds ViewerConfig, a collection of runtime config options for the viewer.
    -
    LoadHelper -
    Convenience class to parse Uri's.
    -
    MovingAverage -
    Calculates an exponentially weighted moving average for a series of data.
    -
    MovingAverageMillisecondsTracker -
    Used to track a MovingAverage that represents the number of milliseconds that elapse - within the execution of a block of code.
    -
    Preconditions -
    Static convenience methods that help a method or constructor check whether it was invoked - correctly.
    -
    SceneformBufferUtils -
    A simple class to read InputStreams Once the data is read it can be accessed as a ByteBuffer.
    -
    TimeAccumulator -
    Sums time samples together.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/package-tree.html b/docs/javadoc/com/google/ar/sceneform/utilities/package-tree.html deleted file mode 100644 index e71716d6..00000000 --- a/docs/javadoc/com/google/ar/sceneform/utilities/package-tree.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -com.google.ar.sceneform.utilities Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.ar.sceneform.utilities

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/com/google/ar/sceneform/resources/ResourceHolder.html b/docs/javadoc/com/google/ar/sceneform/ux/ArFragment.OnTapModelListener.html similarity index 67% rename from docs/javadoc/com/google/ar/sceneform/resources/ResourceHolder.html rename to docs/javadoc/com/google/ar/sceneform/ux/ArFragment.OnTapModelListener.html index 848bb487..b4bd9b8e 100644 --- a/docs/javadoc/com/google/ar/sceneform/resources/ResourceHolder.html +++ b/docs/javadoc/com/google/ar/sceneform/ux/ArFragment.OnTapModelListener.html @@ -3,7 +3,7 @@ -ResourceHolder (core API) +ArFragment.OnTapModelListener (ux API) @@ -11,7 +11,7 @@ + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class ArFragment

+
+
+ +
+
    +
  • +
    +
    +
    public class ArFragment
    +extends BaseArFragment
    +
    Implements AR Required ArFragment. Does not require additional permissions and uses the default + configuration for ARCore.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ArFragment

        +
        public ArFragment()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isArRequired

        +
        public boolean isArRequired()
        +
        Description copied from class: BaseArFragment
        +
        Returns true if this application is AR Required, false if AR Optional. This is called when + initializing the application and the session.
        +
        +
        Specified by:
        +
        isArRequired in class BaseArFragment
        +
        +
      • +
      + + + +
        +
      • +

        getAdditionalPermissions

        +
        public java.lang.String[] getAdditionalPermissions()
        +
        Description copied from class: BaseArFragment
        +
        Returns an array of dangerous permissions that are required by the app in addition to + Manifest.permission.CAMERA, which is needed by ARCore. If no additional permissions are needed, + an empty array should be returned.
        +
        +
        Specified by:
        +
        getAdditionalPermissions in class BaseArFragment
        +
        +
      • +
      + + + +
        +
      • +

        handleSessionException

        +
        protected void handleSessionException(UnavailableException sessionException)
        +
        +
        Specified by:
        +
        handleSessionException in class BaseArFragment
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSessionFeatures

        +
        protected java.util.Set<Session.Feature> getSessionFeatures()
        +
        Description copied from class: BaseArFragment
        +
        Specifies additional features for creating an ARCore com.google.ar.core.Session. See + com.google.ar.core.Session.Feature.
        +
        +
        Specified by:
        +
        getSessionFeatures in class BaseArFragment
        +
        +
      • +
      + + + +
        +
      • +

        setOnTapPlaneGlbModel

        +
        public void setOnTapPlaneGlbModel(java.lang.String glbSource,
        +                                  ArFragment.OnTapModelListener listener)
        +
        Loads a monolithic binary glTF and add it to the fragment when the user tap on a detected + plane surface. +

        + Plays the animations automatically if the model has one. +

        +
        +
        Parameters:
        +
        glbSource - Glb file source location can be come from the asset folder ("model.glb") + or an http source ("http://domain.com/model.glb")
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/Renderer.PreRenderCallback.html b/docs/javadoc/com/google/ar/sceneform/ux/BaseArFragment.OnSessionInitializationListener.html similarity index 63% rename from docs/javadoc/com/google/ar/sceneform/rendering/Renderer.PreRenderCallback.html rename to docs/javadoc/com/google/ar/sceneform/ux/BaseArFragment.OnSessionInitializationListener.html index c8482932..701a073b 100644 --- a/docs/javadoc/com/google/ar/sceneform/rendering/Renderer.PreRenderCallback.html +++ b/docs/javadoc/com/google/ar/sceneform/ux/BaseArFragment.OnSessionInitializationListener.html @@ -3,7 +3,7 @@ -Renderer.PreRenderCallback (core API) +BaseArFragment.OnSessionInitializationListener (ux API) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class BaseArFragment

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • Fragment
    • +
    • +
        +
      • com.google.ar.sceneform.ux.BaseArFragment
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    ArFragment
    +
    +
    +
    +
    public abstract class BaseArFragment
    +extends Fragment
    +
    The AR fragment brings in the required view layout and controllers for common AR features.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BaseArFragment

        +
        public BaseArFragment()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getArSceneView

        +
        public ArSceneView getArSceneView()
        +
        Gets the ArSceneView for this fragment.
        +
      • +
      + + + +
        +
      • +

        getPlaneDiscoveryController

        +
        public PlaneDiscoveryController getPlaneDiscoveryController()
        +
        Gets the plane discovery controller, which displays instructions for how to scan for planes.
        +
      • +
      + + + +
        +
      • +

        getTransformationSystem

        +
        public TransformationSystem getTransformationSystem()
        +
        Gets the transformation system, which is used by TransformableNode for detecting + gestures and coordinating which node is selected.
        +
      • +
      + + + +
        +
      • +

        setOnSessionInitializationListener

        +
        public void setOnSessionInitializationListener(BaseArFragment.OnSessionInitializationListener onSessionInitializationListener)
        +
        Registers a callback to be invoked when the ARCore Session is initialized. The callback will + only be invoked once after the Session is initialized and before it is resumed.
        +
        +
        Parameters:
        +
        onSessionInitializationListener - the BaseArFragment.OnSessionInitializationListener to attach.
        +
        +
      • +
      + + + +
        +
      • +

        setOnTapArPlaneListener

        +
        public void setOnTapArPlaneListener(BaseArFragment.OnTapArPlaneListener onTapArPlaneListener)
        +
        Registers a callback to be invoked when an ARCore Plane is tapped. The callback will only be + invoked if no com.google.ar.sceneform.Node was tapped.
        +
        +
        Parameters:
        +
        onTapArPlaneListener - the BaseArFragment.OnTapArPlaneListener to attach
        +
        +
      • +
      + + + +
        +
      • +

        onCreateView

        +
        public android.view.View onCreateView(android.view.LayoutInflater inflater,
        +                                      android.view.ViewGroup container,
        +                                      android.os.Bundle savedInstanceState)
        +
      • +
      + + + +
        +
      • +

        onDestroyView

        +
        public void onDestroyView()
        +
      • +
      + + + +
        +
      • +

        isArRequired

        +
        public abstract boolean isArRequired()
        +
        Returns true if this application is AR Required, false if AR Optional. This is called when + initializing the application and the session.
        +
      • +
      + + + +
        +
      • +

        getAdditionalPermissions

        +
        public abstract java.lang.String[] getAdditionalPermissions()
        +
        Returns an array of dangerous permissions that are required by the app in addition to + Manifest.permission.CAMERA, which is needed by ARCore. If no additional permissions are needed, + an empty array should be returned.
        +
      • +
      + + + +
        +
      • +

        requestDangerousPermissions

        +
        protected void requestDangerousPermissions()
        +
        Starts the process of requesting dangerous permissions. This combines the CAMERA permission + required of ARCore and any permissions returned from getAdditionalPermissions(). There is no + specific processing on the result of the request, subclasses can override + onRequestPermissionsResult() if additional processing is needed. + +

        setCanRequestDangerousPermissions(Boolean) can stop this function from doing + anything.

        +
      • +
      + + + +
        +
      • +

        onRequestPermissionsResult

        +
        public void onRequestPermissionsResult(int requestCode,
        +                                       java.lang.String[] permissions,
        +                                       int[] results)
        +
        Receives the results for permission requests. + +

        Brings up a dialog to request permissions. The dialog can send the user to the Settings app, + or finish the activity.

        +
      • +
      + + + +
        +
      • +

        getCanRequestDangerousPermissions

        +
        protected java.lang.Boolean getCanRequestDangerousPermissions()
        +
        If true, requestDangerousPermissions() returns without doing anything, if false + permissions will be requested
        +
      • +
      + + + +
        +
      • +

        setCanRequestDangerousPermissions

        +
        protected void setCanRequestDangerousPermissions(java.lang.Boolean canRequestDangerousPermissions)
        +
        If true, requestDangerousPermissions() returns without doing anything, if false + permissions will be requested
        +
      • +
      + + + +
        +
      • +

        onResume

        +
        public void onResume()
        +
      • +
      + + + +
        +
      • +

        requestInstall

        +
        protected final boolean requestInstall()
        +                                throws UnavailableException
        +
        +
        Throws:
        +
        UnavailableException
        +
        +
      • +
      + + + +
        +
      • +

        initializeSession

        +
        protected final void initializeSession()
        +
        Initializes the ARCore session. The CAMERA permission is checked before checking the + installation state of ARCore. Once the permissions and installation are OK, the method + #getSessionConfiguration(Session session) is called to get the session configuration to use. + Sceneform requires that the ARCore session be updated using LATEST_CAMERA_IMAGE to avoid + blocking while drawing. This mode is set on the configuration object returned from the + subclass.
        +
      • +
      + + + +
        +
      • +

        createSessionWithFeatures

        +
        protected Session createSessionWithFeatures()
        +                                     throws UnavailableSdkTooOldException,
        +                                            UnavailableDeviceNotCompatibleException,
        +                                            UnavailableArcoreNotInstalledException,
        +                                            UnavailableApkTooOldException
        +
        Creates the ARCore Session with the with features defined in #getSessionFeatures. If this + returns null, the Session will be created with the default features.
        +
        +
        Throws:
        +
        UnavailableSdkTooOldException
        +
        UnavailableDeviceNotCompatibleException
        +
        UnavailableArcoreNotInstalledException
        +
        UnavailableApkTooOldException
        +
        +
      • +
      + + + +
        +
      • +

        makeTransformationSystem

        +
        protected TransformationSystem makeTransformationSystem()
        +
        Creates the transformation system used by this fragment. Can be overridden to create a custom + transformation system.
        +
      • +
      + + + + + + + +
        +
      • +

        handleSessionException

        +
        protected abstract void handleSessionException(UnavailableException sessionException)
        +
      • +
      + + + +
        +
      • +

        getSessionConfiguration

        +
        protected abstract Config getSessionConfiguration(Session session)
        +
      • +
      + + + +
        +
      • +

        getSessionFeatures

        +
        protected abstract java.util.Set<Session.Feature> getSessionFeatures()
        +
        Specifies additional features for creating an ARCore com.google.ar.core.Session. See + com.google.ar.core.Session.Feature.
        +
      • +
      + + + +
        +
      • +

        onWindowFocusChanged

        +
        protected void onWindowFocusChanged(boolean hasFocus)
        +
      • +
      + + + +
        +
      • +

        onPause

        +
        public void onPause()
        +
      • +
      + + + +
        +
      • +

        onDestroy

        +
        public void onDestroy()
        +
      • +
      + + + +
        +
      • +

        onPeekTouch

        +
        public void onPeekTouch(HitTestResult hitTestResult,
        +                        android.view.MotionEvent motionEvent)
        +
      • +
      + + + +
        +
      • +

        onUpdate

        +
        public void onUpdate(FrameTime frameTime)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/CameraProvider.html b/docs/javadoc/com/google/ar/sceneform/ux/BaseGesture.OnGestureEventListener.html similarity index 52% rename from docs/javadoc/com/google/ar/sceneform/rendering/CameraProvider.html rename to docs/javadoc/com/google/ar/sceneform/ux/BaseGesture.OnGestureEventListener.html index c52c0da7..877f4cca 100644 --- a/docs/javadoc/com/google/ar/sceneform/rendering/CameraProvider.html +++ b/docs/javadoc/com/google/ar/sceneform/ux/BaseGesture.OnGestureEventListener.html @@ -3,7 +3,7 @@ -CameraProvider (core API) +BaseGesture.OnGestureEventListener (ux API) @@ -11,13 +11,13 @@ + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class BaseGesture<T extends BaseGesture<T>>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.ar.sceneform.ux.BaseGesture<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    DragGesture, PinchGesture, TwistGesture
    +
    +
    +
    +
    public abstract class BaseGesture<T extends BaseGesture<T>>
    +extends java.lang.Object
    +
    Base class for a gesture. + +

    A gesture represents a sequence of touch events that are detected to represent a particular + type of motion (i.e. Dragging, Pinching). + +

    Gestures are created and updated by BaseGestureRecognizer's.

    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        targetNode

        +
        protected Node targetNode
        +
      • +
      +
    • +
    + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        hasStarted

        +
        public boolean hasStarted()
        +
      • +
      + + + +
        +
      • +

        justStarted

        +
        public boolean justStarted()
        +
      • +
      + + + +
        +
      • +

        hasFinished

        +
        public boolean hasFinished()
        +
      • +
      + + + +
        +
      • +

        wasCancelled

        +
        public boolean wasCancelled()
        +
      • +
      + + + +
        +
      • +

        getTargetNode

        +
        public Node getTargetNode()
        +
      • +
      + + + +
        +
      • +

        inchesToPixels

        +
        public float inchesToPixels(float inches)
        +
      • +
      + + + +
        +
      • +

        pixelsToInches

        +
        public float pixelsToInches(float pixels)
        +
      • +
      + + + + + + + +
        +
      • +

        onTouch

        +
        public void onTouch(HitTestResult hitTestResult,
        +                    android.view.MotionEvent motionEvent)
        +
      • +
      + + + +
        +
      • +

        canStart

        +
        protected abstract boolean canStart(HitTestResult hitTestResult,
        +                                    android.view.MotionEvent motionEvent)
        +
      • +
      + + + +
        +
      • +

        onStart

        +
        protected abstract void onStart(HitTestResult hitTestResult,
        +                                android.view.MotionEvent motionEvent)
        +
      • +
      + + + +
        +
      • +

        updateGesture

        +
        protected abstract boolean updateGesture(HitTestResult hitTestResult,
        +                                         android.view.MotionEvent motionEvent)
        +
      • +
      + + + +
        +
      • +

        onCancel

        +
        protected abstract void onCancel()
        +
      • +
      + + + +
        +
      • +

        onFinish

        +
        protected abstract void onFinish()
        +
      • +
      + + + +
        +
      • +

        cancel

        +
        protected void cancel()
        +
      • +
      + + + +
        +
      • +

        complete

        +
        protected void complete()
        +
      • +
      + + + +
        +
      • +

        getSelf

        +
        protected abstract T getSelf()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/BaseGestureRecognizer.OnGestureStartedListener.html b/docs/javadoc/com/google/ar/sceneform/ux/BaseGestureRecognizer.OnGestureStartedListener.html new file mode 100644 index 00000000..c66f322c --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/BaseGestureRecognizer.OnGestureStartedListener.html @@ -0,0 +1,231 @@ + + + + + +BaseGestureRecognizer.OnGestureStartedListener (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Interface BaseGestureRecognizer.OnGestureStartedListener<T extends BaseGesture<T>>

+
+
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        onGestureStarted

        +
        void onGestureStarted(T gesture)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/BaseGestureRecognizer.html b/docs/javadoc/com/google/ar/sceneform/ux/BaseGestureRecognizer.html new file mode 100644 index 00000000..400572ff --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/BaseGestureRecognizer.html @@ -0,0 +1,389 @@ + + + + + +BaseGestureRecognizer (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class BaseGestureRecognizer<T extends BaseGesture<T>>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.ar.sceneform.ux.BaseGestureRecognizer<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    DragGestureRecognizer, PinchGestureRecognizer, TwistGestureRecognizer
    +
    +
    +
    +
    public abstract class BaseGestureRecognizer<T extends BaseGesture<T>>
    +extends java.lang.Object
    +
    Base class for all Gesture Recognizers (i.e. DragGestureRecognizer). + +

    A Gesture recognizer processes touch input to determine if a gesture should start and fires an + event when the gesture is started. + +

    To determine when an gesture is finished/updated, listen to the events on the gesture object.

    +
  • +
+
+
+ +
+
+
    +
  • + + + + + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        onTouch

        +
        public void onTouch(HitTestResult hitTestResult,
        +                    android.view.MotionEvent motionEvent)
        +
      • +
      + + + +
        +
      • +

        tryCreateGestures

        +
        protected abstract void tryCreateGestures(HitTestResult hitTestResult,
        +                                          android.view.MotionEvent motionEvent)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/CameraStream.html b/docs/javadoc/com/google/ar/sceneform/ux/BaseTransformableNode.html similarity index 50% rename from docs/javadoc/com/google/ar/sceneform/rendering/CameraStream.html rename to docs/javadoc/com/google/ar/sceneform/ux/BaseTransformableNode.html index 81c7590e..cf148339 100644 --- a/docs/javadoc/com/google/ar/sceneform/rendering/CameraStream.html +++ b/docs/javadoc/com/google/ar/sceneform/ux/BaseTransformableNode.html @@ -3,7 +3,7 @@ -CameraStream (core API) +BaseTransformableNode (ux API) @@ -11,7 +11,7 @@ + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class BaseTransformationController<T extends BaseGesture<T>>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.ar.sceneform.ux.BaseTransformationController<T>
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/DragGesture.OnGestureEventListener.html b/docs/javadoc/com/google/ar/sceneform/ux/DragGesture.OnGestureEventListener.html new file mode 100644 index 00000000..576ec1cc --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/DragGesture.OnGestureEventListener.html @@ -0,0 +1,193 @@ + + + + + +DragGesture.OnGestureEventListener (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Interface DragGesture.OnGestureEventListener

+
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/DragGesture.html b/docs/javadoc/com/google/ar/sceneform/ux/DragGesture.html new file mode 100644 index 00000000..d0924a8c --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/DragGesture.html @@ -0,0 +1,440 @@ + + + + + +DragGesture (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class DragGesture

+
+
+ +
+
    +
  • +
    +
    +
    public class DragGesture
    +extends BaseGesture<DragGesture>
    +
    Gesture for when the user performs a drag motion on the touch screen.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/DragGestureRecognizer.OnGestureStartedListener.html b/docs/javadoc/com/google/ar/sceneform/ux/DragGestureRecognizer.OnGestureStartedListener.html new file mode 100644 index 00000000..f2bb87e2 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/DragGestureRecognizer.OnGestureStartedListener.html @@ -0,0 +1,193 @@ + + + + + +DragGestureRecognizer.OnGestureStartedListener (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Interface DragGestureRecognizer.OnGestureStartedListener

+
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/utilities/MovingAverage.html b/docs/javadoc/com/google/ar/sceneform/ux/DragGestureRecognizer.html similarity index 50% rename from docs/javadoc/com/google/ar/sceneform/utilities/MovingAverage.html rename to docs/javadoc/com/google/ar/sceneform/ux/DragGestureRecognizer.html index 7696e1c0..f086c30d 100644 --- a/docs/javadoc/com/google/ar/sceneform/utilities/MovingAverage.html +++ b/docs/javadoc/com/google/ar/sceneform/ux/DragGestureRecognizer.html @@ -3,7 +3,7 @@ -MovingAverage (core API) +DragGestureRecognizer (ux API) @@ -11,13 +11,13 @@ @@ -11,7 +11,7 @@ @@ -11,14 +11,14 @@ @@ -11,13 +11,13 @@ @@ -11,13 +11,13 @@ + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Interface PinchGesture.OnGestureEventListener

+
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/PinchGesture.html b/docs/javadoc/com/google/ar/sceneform/ux/PinchGesture.html new file mode 100644 index 00000000..d8839604 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/PinchGesture.html @@ -0,0 +1,486 @@ + + + + + +PinchGesture (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class PinchGesture

+
+
+ +
+
    +
  • +
    +
    +
    public class PinchGesture
    +extends BaseGesture<PinchGesture>
    +
    Gesture for when the user performs a two-finger pinch motion on the touch screen.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/PinchGestureRecognizer.OnGestureStartedListener.html b/docs/javadoc/com/google/ar/sceneform/ux/PinchGestureRecognizer.OnGestureStartedListener.html new file mode 100644 index 00000000..6d19d818 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/PinchGestureRecognizer.OnGestureStartedListener.html @@ -0,0 +1,193 @@ + + + + + +PinchGestureRecognizer.OnGestureStartedListener (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Interface PinchGestureRecognizer.OnGestureStartedListener

+
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/PinchGestureRecognizer.html b/docs/javadoc/com/google/ar/sceneform/ux/PinchGestureRecognizer.html new file mode 100644 index 00000000..26d65f7d --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/PinchGestureRecognizer.html @@ -0,0 +1,321 @@ + + + + + +PinchGestureRecognizer (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class PinchGestureRecognizer

+
+
+ +
+
    +
  • +
    +
    +
    public class PinchGestureRecognizer
    +extends BaseGestureRecognizer<PinchGesture>
    +
    Gesture Recognizer for when the user performs a two-finger pinch motion on the touch screen.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/resources/SharedReference.html b/docs/javadoc/com/google/ar/sceneform/ux/PlaneDiscoveryController.html similarity index 65% rename from docs/javadoc/com/google/ar/sceneform/resources/SharedReference.html rename to docs/javadoc/com/google/ar/sceneform/ux/PlaneDiscoveryController.html index 13f59342..d0af982e 100644 --- a/docs/javadoc/com/google/ar/sceneform/resources/SharedReference.html +++ b/docs/javadoc/com/google/ar/sceneform/ux/PlaneDiscoveryController.html @@ -3,7 +3,7 @@ -SharedReference (core API) +PlaneDiscoveryController (ux API) @@ -11,14 +11,14 @@ + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class RotationController

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/ScaleController.html b/docs/javadoc/com/google/ar/sceneform/ux/ScaleController.html new file mode 100644 index 00000000..319473d8 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/ScaleController.html @@ -0,0 +1,554 @@ + + + + + +ScaleController (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class ScaleController

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInstance.SkinningModifier.html b/docs/javadoc/com/google/ar/sceneform/ux/SelectionVisualizer.html similarity index 55% rename from docs/javadoc/com/google/ar/sceneform/rendering/RenderableInstance.SkinningModifier.html rename to docs/javadoc/com/google/ar/sceneform/ux/SelectionVisualizer.html index b0845105..869b32d1 100644 --- a/docs/javadoc/com/google/ar/sceneform/rendering/RenderableInstance.SkinningModifier.html +++ b/docs/javadoc/com/google/ar/sceneform/ux/SelectionVisualizer.html @@ -3,7 +3,7 @@ -RenderableInstance.SkinningModifier (core API) +SelectionVisualizer (ux API) @@ -11,7 +11,7 @@ @@ -11,13 +11,13 @@ + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class TransformationSystem

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.ar.sceneform.ux.TransformationSystem
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TransformationSystem

        +
        public TransformationSystem(android.util.DisplayMetrics displayMetrics,
        +                            SelectionVisualizer selectionVisualizer)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setSelectionVisualizer

        +
        public void setSelectionVisualizer(SelectionVisualizer selectionVisualizer)
        +
        Sets the selection visualizer used to visualize which BaseTransformableNode is + currently selected. If there is already a selected node, then the old selection visual is + removed and the new one is applied immediately.
        +
      • +
      + + + + + + + +
        +
      • +

        getGesturePointersUtility

        +
        public GesturePointersUtility getGesturePointersUtility()
        +
        Gets the utility used by BaseGestureRecognizer subclasses to retain/release pointer Ids + so that each pointer can only be used in one gesture at a time.
        +
      • +
      + + + +
        +
      • +

        getDragRecognizer

        +
        public DragGestureRecognizer getDragRecognizer()
        +
        Gets the gesture recognizer for determining when the user performs a drag motion on the touch + screen.
        +
      • +
      + + + +
        +
      • +

        getPinchRecognizer

        +
        public PinchGestureRecognizer getPinchRecognizer()
        +
        Gets the gesture recognizer for determining when the user performs a two-finger pinch motion on + the touch screen.
        +
      • +
      + + + +
        +
      • +

        getTwistRecognizer

        +
        public TwistGestureRecognizer getTwistRecognizer()
        +
        Gets the gesture recognizer for determining when the user performs a two-finger twist motion on + the touch screen.
        +
      • +
      + + + + + + + +
        +
      • +

        getSelectedNode

        +
        public BaseTransformableNode getSelectedNode()
        +
        Gets the currently selected node. Only the currently selected node can be transformed. Nodes + are selected automatically when they are tapped, or when the user begins to translate the node + with a drag gesture.
        +
      • +
      + + + +
        +
      • +

        selectNode

        +
        public boolean selectNode(BaseTransformableNode node)
        +
        Sets a BaseTransformableNode as the selected node if there is no currently selected + node or if the currently selected node is not actively being transformed. If null, then + deselects the currently selected node if the node is not transforming.
        +
        +
        Returns:
        +
        true if the node was successfully selected
        +
        See Also:
        +
        BaseTransformableNode.isTransforming()
        +
        +
      • +
      + + + +
        +
      • +

        onTouch

        +
        public void onTouch(HitTestResult hitTestResult,
        +                    android.view.MotionEvent motionEvent)
        +
        Dispatches touch events to the gesture recognizers contained by this transformation system.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/TranslationController.html b/docs/javadoc/com/google/ar/sceneform/ux/TranslationController.html new file mode 100644 index 00000000..40998bd5 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/TranslationController.html @@ -0,0 +1,394 @@ + + + + + +TranslationController (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class TranslationController

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/TwistGesture.OnGestureEventListener.html b/docs/javadoc/com/google/ar/sceneform/ux/TwistGesture.OnGestureEventListener.html new file mode 100644 index 00000000..d7ae66ce --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/TwistGesture.OnGestureEventListener.html @@ -0,0 +1,193 @@ + + + + + +TwistGesture.OnGestureEventListener (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Interface TwistGesture.OnGestureEventListener

+
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/TwistGesture.html b/docs/javadoc/com/google/ar/sceneform/ux/TwistGesture.html new file mode 100644 index 00000000..28a3d6b5 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/TwistGesture.html @@ -0,0 +1,427 @@ + + + + + +TwistGesture (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class TwistGesture

+
+
+ +
+
    +
  • +
    +
    +
    public class TwistGesture
    +extends BaseGesture<TwistGesture>
    +
    Gesture for when the user performs a two-finger twist motion on the touch screen.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/TwistGestureRecognizer.OnGestureStartedListener.html b/docs/javadoc/com/google/ar/sceneform/ux/TwistGestureRecognizer.OnGestureStartedListener.html new file mode 100644 index 00000000..f34374b6 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/TwistGestureRecognizer.OnGestureStartedListener.html @@ -0,0 +1,193 @@ + + + + + +TwistGestureRecognizer.OnGestureStartedListener (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Interface TwistGestureRecognizer.OnGestureStartedListener

+
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/TwistGestureRecognizer.html b/docs/javadoc/com/google/ar/sceneform/ux/TwistGestureRecognizer.html new file mode 100644 index 00000000..573ff5d9 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/TwistGestureRecognizer.html @@ -0,0 +1,321 @@ + + + + + +TwistGestureRecognizer (ux API) + + + + + + + + + + + +
+
com.google.ar.sceneform.ux
+

Class TwistGestureRecognizer

+
+
+ +
+
    +
  • +
    +
    +
    public class TwistGestureRecognizer
    +extends BaseGestureRecognizer<TwistGesture>
    +
    Gesture Recognizer for when the user performs a two-finger twist motion on the touch screen.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/package-frame.html b/docs/javadoc/com/google/ar/sceneform/ux/package-frame.html new file mode 100644 index 00000000..7540c76b --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/package-frame.html @@ -0,0 +1,55 @@ + + + + + +com.google.ar.sceneform.ux (ux API) + + + + +

com.google.ar.sceneform.ux

+ + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/package-summary.html b/docs/javadoc/com/google/ar/sceneform/ux/package-summary.html new file mode 100644 index 00000000..491089d8 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/package-summary.html @@ -0,0 +1,347 @@ + + + + + +com.google.ar.sceneform.ux (ux API) + + + + + + + + + + +
+

Package com.google.ar.sceneform.ux

+
+
+ +
+ + + + + + diff --git a/docs/javadoc/com/google/ar/sceneform/ux/package-tree.html b/docs/javadoc/com/google/ar/sceneform/ux/package-tree.html new file mode 100644 index 00000000..a8ce0077 --- /dev/null +++ b/docs/javadoc/com/google/ar/sceneform/ux/package-tree.html @@ -0,0 +1,201 @@ + + + + + +com.google.ar.sceneform.ux Class Hierarchy (ux API) + + + + + + + + + + +
+

Hierarchy For Package com.google.ar.sceneform.ux

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ + + + + + diff --git a/docs/javadoc/com/google/flatbuffers/Constants.html b/docs/javadoc/com/google/flatbuffers/Constants.html deleted file mode 100644 index 9b4a3c8d..00000000 --- a/docs/javadoc/com/google/flatbuffers/Constants.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - -Constants (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class Constants

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.flatbuffers.Constants
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Constants
    -extends java.lang.Object
    -
    Class that holds shared constants
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intSIZE_PREFIX_LENGTH -
      The number of bytes in a size prefix.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Constants() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        SIZE_PREFIX_LENGTH

        -
        public static final int SIZE_PREFIX_LENGTH
        -
        The number of bytes in a size prefix.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Constants

        -
        public Constants()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.ByteBufferFactory.html b/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.ByteBufferFactory.html deleted file mode 100644 index be180098..00000000 --- a/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.ByteBufferFactory.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - -FlatBufferBuilder.ByteBufferFactory (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class FlatBufferBuilder.ByteBufferFactory

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.flatbuffers.FlatBufferBuilder.ByteBufferFactory
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    FlatBufferBuilder.HeapByteBufferFactory
    -
    -
    -
    Enclosing class:
    -
    FlatBufferBuilder
    -
    -
    -
    -
    public abstract static class FlatBufferBuilder.ByteBufferFactory
    -extends java.lang.Object
    -
    An interface that provides a user of the FlatBufferBuilder class the ability to specify - the method in which the internal buffer gets allocated. This allows for alternatives - to the default behavior, which is to allocate memory for a new byte-array - backed `ByteBuffer` array inside the JVM. - - The FlatBufferBuilder class contains the HeapByteBufferFactory class to - preserve the default behavior in the event that the user does not provide - their own implementation of this interface.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ByteBufferFactory() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethod and Description
      abstract java.nio.ByteBuffernewByteBuffer(int capacity) -
      Create a `ByteBuffer` with a given capacity.
      -
      voidreleaseByteBuffer(java.nio.ByteBuffer bb) -
      Release a ByteBuffer.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ByteBufferFactory

        -
        public ByteBufferFactory()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newByteBuffer

        -
        public abstract java.nio.ByteBuffer newByteBuffer(int capacity)
        -
        Create a `ByteBuffer` with a given capacity. - The returned ByteBuf must have a ByteOrder.LITTLE_ENDIAN ByteOrder.
        -
        -
        Parameters:
        -
        capacity - The size of the `ByteBuffer` to allocate.
        -
        Returns:
        -
        Returns the new `ByteBuffer` that was allocated.
        -
        -
      • -
      - - - -
        -
      • -

        releaseByteBuffer

        -
        public void releaseByteBuffer(java.nio.ByteBuffer bb)
        -
        Release a ByteBuffer. Current FlatBufferBuilder - released any reference to it, so it is safe to dispose the buffer - or return it to a pool. - It is not guaranteed that the buffer has been created - with newByteBuffer(int).
        -
        -
        Parameters:
        -
        bb - the buffer to release
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.HeapByteBufferFactory.html b/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.HeapByteBufferFactory.html deleted file mode 100644 index c188a233..00000000 --- a/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.HeapByteBufferFactory.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - -FlatBufferBuilder.HeapByteBufferFactory (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class FlatBufferBuilder.HeapByteBufferFactory

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    FlatBufferBuilder
    -
    -
    -
    -
    public static final class FlatBufferBuilder.HeapByteBufferFactory
    -extends FlatBufferBuilder.ByteBufferFactory
    -
    An implementation of the ByteBufferFactory interface that is used when - one is not provided by the user. - - Allocate memory for a new byte-array backed `ByteBuffer` array inside the JVM.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HeapByteBufferFactory

        -
        public HeapByteBufferFactory()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newByteBuffer

        -
        public java.nio.ByteBuffer newByteBuffer(int capacity)
        -
        Description copied from class: FlatBufferBuilder.ByteBufferFactory
        -
        Create a `ByteBuffer` with a given capacity. - The returned ByteBuf must have a ByteOrder.LITTLE_ENDIAN ByteOrder.
        -
        -
        Specified by:
        -
        newByteBuffer in class FlatBufferBuilder.ByteBufferFactory
        -
        Parameters:
        -
        capacity - The size of the `ByteBuffer` to allocate.
        -
        Returns:
        -
        Returns the new `ByteBuffer` that was allocated.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.html b/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.html deleted file mode 100644 index 2ca24413..00000000 --- a/docs/javadoc/com/google/flatbuffers/FlatBufferBuilder.html +++ /dev/null @@ -1,1819 +0,0 @@ - - - - - -FlatBufferBuilder (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class FlatBufferBuilder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.flatbuffers.FlatBufferBuilder
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class FlatBufferBuilder
    -extends java.lang.Object
    -
    Class that helps you build a FlatBuffer. See the section - "Use in Java/C#" in the main FlatBuffers documentation.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class FlatBufferBuilder.ByteBufferFactory -
      An interface that provides a user of the FlatBufferBuilder class the ability to specify - the method in which the internal buffer gets allocated.
      -
      static class FlatBufferBuilder.HeapByteBufferFactory -
      An implementation of the ByteBufferFactory interface that is used when - one is not provided by the user.
      -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidaddBoolean(boolean x) -
      Add a `boolean` to the buffer, properly aligned, and grows the buffer (if necessary).
      -
      voidaddBoolean(int o, - boolean x, - boolean d) -
      Add a `boolean` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddByte(byte x) -
      Add a `byte` to the buffer, properly aligned, and grows the buffer (if necessary).
      -
      voidaddByte(int o, - byte x, - int d) -
      Add a `byte` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddDouble(double x) -
      Add a `double` to the buffer, properly aligned, and grows the buffer (if necessary).
      -
      voidaddDouble(int o, - double x, - double d) -
      Add a `double` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddFloat(float x) -
      Add a `float` to the buffer, properly aligned, and grows the buffer (if necessary).
      -
      voidaddFloat(int o, - float x, - double d) -
      Add a `float` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddInt(int x) -
      Add an `int` to the buffer, properly aligned, and grows the buffer (if necessary).
      -
      voidaddInt(int o, - int x, - int d) -
      Add an `int` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddLong(int o, - long x, - long d) -
      Add a `long` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddLong(long x) -
      Add a `long` to the buffer, properly aligned, and grows the buffer (if necessary).
      -
      voidaddOffset(int off) -
      Adds on offset, relative to where it will be written.
      -
      voidaddOffset(int o, - int x, - int d) -
      Add an `offset` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddShort(int o, - short x, - int d) -
      Add a `short` to a table at `o` into its vtable, with value `x` and default `d`.
      -
      voidaddShort(short x) -
      Add a `short` to the buffer, properly aligned, and grows the buffer (if necessary).
      -
      voidaddStruct(int voffset, - int x, - int d) -
      Add a struct to the table.
      -
      voidclear() -
      Reset the FlatBufferBuilder by purging all data that it holds.
      -
      intcreateByteVector(byte[] arr) -
      Create a byte array in the buffer.
      -
      intcreateByteVector(byte[] arr, - int offset, - int length) -
      Create a byte array in the buffer.
      -
      intcreateByteVector(java.nio.ByteBuffer byteBuffer) -
      Create a byte array in the buffer.
      -
      <T extends Table>
      int
      createSortedVectorOfTables(T obj, - int[] offsets) -
      Create a vector of sorted by the key tables.
      -
      intcreateString(java.nio.ByteBuffer s) -
      Create a string in the buffer from an already encoded UTF-8 string in a ByteBuffer.
      -
      intcreateString(java.lang.CharSequence s) -
      Encode the string `s` in the buffer using UTF-8.
      -
      java.nio.ByteBuffercreateUnintializedVector(int elem_size, - int num_elems, - int alignment) -
      Create a new array/vector and return a ByteBuffer to be filled later.
      -
      intcreateVectorOfTables(int[] offsets) -
      Create a vector of tables.
      -
      java.nio.ByteBufferdataBuffer() -
      Get the ByteBuffer representing the FlatBuffer.
      -
      intendObject() -
      Finish off writing the object that is under construction.
      -
      intendVector() -
      Finish off the creation of an array and all its elements.
      -
      voidfinish(int root_table) -
      Finalize a buffer, pointing to the given `root_table`.
      -
      protected voidfinish(int root_table, - boolean size_prefix) -
      Finalize a buffer, pointing to the given `root_table`.
      -
      voidfinish(int root_table, - java.lang.String file_identifier) -
      Finalize a buffer, pointing to the given `root_table`.
      -
      protected voidfinish(int root_table, - java.lang.String file_identifier, - boolean size_prefix) -
      Finalize a buffer, pointing to the given `root_table`.
      -
      voidfinished() -
      Should not be accessing the final buffer before it is finished.
      -
      voidfinishSizePrefixed(int root_table) -
      Finalize a buffer, pointing to the given `root_table`, with the size prefixed.
      -
      voidfinishSizePrefixed(int root_table, - java.lang.String file_identifier) -
      Finalize a buffer, pointing to the given `root_table`, with the size prefixed.
      -
      FlatBufferBuilderforceDefaults(boolean forceDefaults) -
      In order to save space, fields that are set to their default value - don't get serialized into the buffer.
      -
      FlatBufferBuilderinit(java.nio.ByteBuffer existing_bb, - FlatBufferBuilder.ByteBufferFactory bb_factory) -
      Alternative initializer that allows reusing this object on an existing - `ByteBuffer`.
      -
      static booleanisFieldPresent(Table table, - int offset) -
      Helper function to test if a field is present in the table
      -
      voidNested(int obj) -
      Structures are always stored inline, they need to be created right - where they're used.
      -
      voidnotNested() -
      Should not be creating any other object, string or vector - while an object is being constructed.
      -
      intoffset() -
      Offset relative to the end of the buffer.
      -
      voidpad(int byte_size) -
      Add zero valued bytes to prepare a new entry to be added.
      -
      voidprep(int size, - int additional_bytes) -
      Prepare to write an element of `size` after `additional_bytes` - have been written, e.g. if you write a string, you need to align such - the int length field is aligned to Constants.SIZEOF_INT, and - the string data follows it directly.
      -
      voidputBoolean(boolean x) -
      Add a `boolean` to the buffer, backwards from the current location.
      -
      voidputByte(byte x) -
      Add a `byte` to the buffer, backwards from the current location.
      -
      voidputDouble(double x) -
      Add a `double` to the buffer, backwards from the current location.
      -
      voidputFloat(float x) -
      Add a `float` to the buffer, backwards from the current location.
      -
      voidputInt(int x) -
      Add an `int` to the buffer, backwards from the current location.
      -
      voidputLong(long x) -
      Add a `long` to the buffer, backwards from the current location.
      -
      voidputShort(short x) -
      Add a `short` to the buffer, backwards from the current location.
      -
      voidrequired(int table, - int field) -
      Checks that a required field has been set in a given table that has - just been constructed.
      -
      byte[]sizedByteArray() -
      A utility function to copy and return the ByteBuffer data as a `byte[]`.
      -
      byte[]sizedByteArray(int start, - int length) -
      A utility function to copy and return the ByteBuffer data from `start` to - `start` + `length` as a `byte[]`.
      -
      java.io.InputStreamsizedInputStream() -
      A utility function to return an InputStream to the ByteBuffer data
      -
      voidslot(int voffset) -
      Set the current vtable at `voffset` to the current location in the buffer.
      -
      voidstartObject(int numfields) -
      Start encoding a new object in the buffer.
      -
      voidstartVector(int elem_size, - int num_elems, - int alignment) -
      Start a new array/vector of objects.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FlatBufferBuilder

        -
        public FlatBufferBuilder(int initial_size,
        -                         FlatBufferBuilder.ByteBufferFactory bb_factory)
        -
        Start with a buffer of size `initial_size`, then grow as required.
        -
        -
        Parameters:
        -
        initial_size - The initial size of the internal buffer to use.
        -
        bb_factory - The factory to be used for allocating the internal buffer
        -
        -
      • -
      - - - -
        -
      • -

        FlatBufferBuilder

        -
        public FlatBufferBuilder(int initial_size,
        -                         FlatBufferBuilder.ByteBufferFactory bb_factory,
        -                         java.nio.ByteBuffer existing_bb,
        -                         Utf8 utf8)
        -
        Start with a buffer of size `initial_size`, then grow as required.
        -
        -
        Parameters:
        -
        initial_size - The initial size of the internal buffer to use.
        -
        bb_factory - The factory to be used for allocating the internal buffer
        -
        existing_bb - The byte buffer to reuse.
        -
        utf8 - The Utf8 codec
        -
        -
      • -
      - - - -
        -
      • -

        FlatBufferBuilder

        -
        public FlatBufferBuilder(int initial_size)
        -
        Start with a buffer of size `initial_size`, then grow as required.
        -
        -
        Parameters:
        -
        initial_size - The initial size of the internal buffer to use.
        -
        -
      • -
      - - - -
        -
      • -

        FlatBufferBuilder

        -
        public FlatBufferBuilder()
        -
        Start with a buffer of 1KiB, then grow as required.
        -
      • -
      - - - -
        -
      • -

        FlatBufferBuilder

        -
        public FlatBufferBuilder(java.nio.ByteBuffer existing_bb,
        -                         FlatBufferBuilder.ByteBufferFactory bb_factory)
        -
        Alternative constructor allowing reuse of ByteBuffers. The builder - can still grow the buffer as necessary. User classes should make sure - to call dataBuffer() to obtain the resulting encoded message.
        -
        -
        Parameters:
        -
        existing_bb - The byte buffer to reuse.
        -
        bb_factory - The factory to be used for allocating a new internal buffer if - the existing buffer needs to grow
        -
        -
      • -
      - - - -
        -
      • -

        FlatBufferBuilder

        -
        public FlatBufferBuilder(java.nio.ByteBuffer existing_bb)
        -
        Alternative constructor allowing reuse of ByteBuffers. The builder - can still grow the buffer as necessary. User classes should make sure - to call dataBuffer() to obtain the resulting encoded message.
        -
        -
        Parameters:
        -
        existing_bb - The byte buffer to reuse.
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        init

        -
        public FlatBufferBuilder init(java.nio.ByteBuffer existing_bb,
        -                              FlatBufferBuilder.ByteBufferFactory bb_factory)
        -
        Alternative initializer that allows reusing this object on an existing - `ByteBuffer`. This method resets the builder's internal state, but keeps - objects that have been allocated for temporary storage.
        -
        -
        Parameters:
        -
        existing_bb - The byte buffer to reuse.
        -
        bb_factory - The factory to be used for allocating a new internal buffer if - the existing buffer needs to grow
        -
        Returns:
        -
        Returns `this`.
        -
        -
      • -
      - - - -
        -
      • -

        isFieldPresent

        -
        public static boolean isFieldPresent(Table table,
        -                                     int offset)
        -
        Helper function to test if a field is present in the table
        -
        -
        Parameters:
        -
        table - Flatbuffer table
        -
        offset - virtual table offset
        -
        Returns:
        -
        true if the filed is present
        -
        -
      • -
      - - - -
        -
      • -

        clear

        -
        public void clear()
        -
        Reset the FlatBufferBuilder by purging all data that it holds.
        -
      • -
      - - - -
        -
      • -

        offset

        -
        public int offset()
        -
        Offset relative to the end of the buffer.
        -
        -
        Returns:
        -
        Offset relative to the end of the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        pad

        -
        public void pad(int byte_size)
        -
        Add zero valued bytes to prepare a new entry to be added.
        -
        -
        Parameters:
        -
        byte_size - Number of bytes to add.
        -
        -
      • -
      - - - -
        -
      • -

        prep

        -
        public void prep(int size,
        -                 int additional_bytes)
        -
        Prepare to write an element of `size` after `additional_bytes` - have been written, e.g. if you write a string, you need to align such - the int length field is aligned to Constants.SIZEOF_INT, and - the string data follows it directly. If all you need to do is alignment, `additional_bytes` - will be 0.
        -
        -
        Parameters:
        -
        size - This is the of the new element to write.
        -
        additional_bytes - The padding size.
        -
        -
      • -
      - - - -
        -
      • -

        putBoolean

        -
        public void putBoolean(boolean x)
        -
        Add a `boolean` to the buffer, backwards from the current location. Doesn't align nor - check for space.
        -
        -
        Parameters:
        -
        x - A `boolean` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        putByte

        -
        public void putByte(byte x)
        -
        Add a `byte` to the buffer, backwards from the current location. Doesn't align nor - check for space.
        -
        -
        Parameters:
        -
        x - A `byte` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        putShort

        -
        public void putShort(short x)
        -
        Add a `short` to the buffer, backwards from the current location. Doesn't align nor - check for space.
        -
        -
        Parameters:
        -
        x - A `short` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        putInt

        -
        public void putInt(int x)
        -
        Add an `int` to the buffer, backwards from the current location. Doesn't align nor - check for space.
        -
        -
        Parameters:
        -
        x - An `int` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        putLong

        -
        public void putLong(long x)
        -
        Add a `long` to the buffer, backwards from the current location. Doesn't align nor - check for space.
        -
        -
        Parameters:
        -
        x - A `long` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        putFloat

        -
        public void putFloat(float x)
        -
        Add a `float` to the buffer, backwards from the current location. Doesn't align nor - check for space.
        -
        -
        Parameters:
        -
        x - A `float` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        putDouble

        -
        public void putDouble(double x)
        -
        Add a `double` to the buffer, backwards from the current location. Doesn't align nor - check for space.
        -
        -
        Parameters:
        -
        x - A `double` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addBoolean

        -
        public void addBoolean(boolean x)
        -
        Add a `boolean` to the buffer, properly aligned, and grows the buffer (if necessary).
        -
        -
        Parameters:
        -
        x - A `boolean` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addByte

        -
        public void addByte(byte x)
        -
        Add a `byte` to the buffer, properly aligned, and grows the buffer (if necessary).
        -
        -
        Parameters:
        -
        x - A `byte` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addShort

        -
        public void addShort(short x)
        -
        Add a `short` to the buffer, properly aligned, and grows the buffer (if necessary).
        -
        -
        Parameters:
        -
        x - A `short` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addInt

        -
        public void addInt(int x)
        -
        Add an `int` to the buffer, properly aligned, and grows the buffer (if necessary).
        -
        -
        Parameters:
        -
        x - An `int` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addLong

        -
        public void addLong(long x)
        -
        Add a `long` to the buffer, properly aligned, and grows the buffer (if necessary).
        -
        -
        Parameters:
        -
        x - A `long` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addFloat

        -
        public void addFloat(float x)
        -
        Add a `float` to the buffer, properly aligned, and grows the buffer (if necessary).
        -
        -
        Parameters:
        -
        x - A `float` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addDouble

        -
        public void addDouble(double x)
        -
        Add a `double` to the buffer, properly aligned, and grows the buffer (if necessary).
        -
        -
        Parameters:
        -
        x - A `double` to put into the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        addOffset

        -
        public void addOffset(int off)
        -
        Adds on offset, relative to where it will be written.
        -
        -
        Parameters:
        -
        off - The offset to add.
        -
        -
      • -
      - - - -
        -
      • -

        startVector

        -
        public void startVector(int elem_size,
        -                        int num_elems,
        -                        int alignment)
        -
        Start a new array/vector of objects. Users usually will not call - this directly. The `FlatBuffers` compiler will create a start/end - method for vector types in generated code. -

        - The expected sequence of calls is: -

          -
        1. Start the array using this method.
        2. -
        3. Call addOffset(int) `num_elems` number of times to set - the offset of each element in the array.
        4. -
        5. Call endVector() to retrieve the offset of the array.
        6. -
        -

        - For example, to create an array of strings, do: -

        
        - // Need 10 strings
        - FlatBufferBuilder builder = new FlatBufferBuilder(existingBuffer);
        - int[] offsets = new int[10];
        -
        - for (int i = 0; i < 10; i++) {
        -   offsets[i] = fbb.createString(" " + i);
        - }
        -
        - // Have the strings in the buffer, but don't have a vector.
        - // Add a vector that references the newly created strings:
        - builder.startVector(4, offsets.length, 4);
        -
        - // Add each string to the newly created vector
        - // The strings are added in reverse order since the buffer
        - // is filled in back to front
        - for (int i = offsets.length - 1; i >= 0; i--) {
        -   builder.addOffset(offsets[i]);
        - }
        -
        - // Finish off the vector
        - int offsetOfTheVector = fbb.endVector();
        - 
        -
        -
        Parameters:
        -
        elem_size - The size of each element in the array.
        -
        num_elems - The number of elements in the array.
        -
        alignment - The alignment of the array.
        -
        -
      • -
      - - - -
        -
      • -

        endVector

        -
        public int endVector()
        -
        Finish off the creation of an array and all its elements. The array - must be created with startVector(int, int, int).
        -
        -
        Returns:
        -
        The offset at which the newly created array starts.
        -
        See Also:
        -
        startVector(int, int, int)
        -
        -
      • -
      - - - -
        -
      • -

        createUnintializedVector

        -
        public java.nio.ByteBuffer createUnintializedVector(int elem_size,
        -                                                    int num_elems,
        -                                                    int alignment)
        -
        Create a new array/vector and return a ByteBuffer to be filled later. - Call endVector() after this method to get an offset to the beginning - of vector.
        -
        -
        Parameters:
        -
        elem_size - the size of each element in bytes.
        -
        num_elems - number of elements in the vector.
        -
        alignment - byte alignment.
        -
        Returns:
        -
        ByteBuffer with position and limit set to the space allocated for the array.
        -
        -
      • -
      - - - -
        -
      • -

        createVectorOfTables

        -
        public int createVectorOfTables(int[] offsets)
        -
        Create a vector of tables.
        -
        -
        Parameters:
        -
        offsets - Offsets of the tables.
        -
        Returns:
        -
        Returns offset of the vector.
        -
        -
      • -
      - - - - - -
        -
      • -

        createSortedVectorOfTables

        -
        public <T extends Table> int createSortedVectorOfTables(T obj,
        -                                                        int[] offsets)
        -
        Create a vector of sorted by the key tables.
        -
        -
        Parameters:
        -
        obj - Instance of the table subclass.
        -
        offsets - Offsets of the tables.
        -
        Returns:
        -
        Returns offset of the sorted vector.
        -
        -
      • -
      - - - -
        -
      • -

        createString

        -
        public int createString(java.lang.CharSequence s)
        -
        Encode the string `s` in the buffer using UTF-8. If s is - already a CharBuffer, this method is allocation free.
        -
        -
        Parameters:
        -
        s - The string to encode.
        -
        Returns:
        -
        The offset in the buffer where the encoded string starts.
        -
        -
      • -
      - - - -
        -
      • -

        createString

        -
        public int createString(java.nio.ByteBuffer s)
        -
        Create a string in the buffer from an already encoded UTF-8 string in a ByteBuffer.
        -
        -
        Parameters:
        -
        s - An already encoded UTF-8 string as a `ByteBuffer`.
        -
        Returns:
        -
        The offset in the buffer where the encoded string starts.
        -
        -
      • -
      - - - -
        -
      • -

        createByteVector

        -
        public int createByteVector(byte[] arr)
        -
        Create a byte array in the buffer.
        -
        -
        Parameters:
        -
        arr - A source array with data
        -
        Returns:
        -
        The offset in the buffer where the encoded array starts.
        -
        -
      • -
      - - - -
        -
      • -

        createByteVector

        -
        public int createByteVector(byte[] arr,
        -                            int offset,
        -                            int length)
        -
        Create a byte array in the buffer.
        -
        -
        Parameters:
        -
        arr - a source array with data.
        -
        offset - the offset in the source array to start copying from.
        -
        length - the number of bytes to copy from the source array.
        -
        Returns:
        -
        The offset in the buffer where the encoded array starts.
        -
        -
      • -
      - - - -
        -
      • -

        createByteVector

        -
        public int createByteVector(java.nio.ByteBuffer byteBuffer)
        -
        Create a byte array in the buffer. - - The source ByteBuffer position is advanced by Buffer.remaining() places - after this call.
        -
        -
        Parameters:
        -
        byteBuffer - A source ByteBuffer with data.
        -
        Returns:
        -
        The offset in the buffer where the encoded array starts.
        -
        -
      • -
      - - - -
        -
      • -

        finished

        -
        public void finished()
        -
        Should not be accessing the final buffer before it is finished.
        -
      • -
      - - - -
        -
      • -

        notNested

        -
        public void notNested()
        -
        Should not be creating any other object, string or vector - while an object is being constructed.
        -
      • -
      - - - -
        -
      • -

        Nested

        -
        public void Nested(int obj)
        -
        Structures are always stored inline, they need to be created right - where they're used. You'll get this assertion failure if you - created it elsewhere.
        -
        -
        Parameters:
        -
        obj - The offset of the created object.
        -
        -
      • -
      - - - -
        -
      • -

        startObject

        -
        public void startObject(int numfields)
        -
        Start encoding a new object in the buffer. Users will not usually need to - call this directly. The `FlatBuffers` compiler will generate helper methods - that call this method internally. -

        - For example, using the "Monster" code found on the "landing page". An - object of type `Monster` can be created using the following code: - -

        
        - int testArrayOfString = Monster.createTestarrayofstringVector(fbb, new int[] {
        -   fbb.createString("test1"),
        -   fbb.createString("test2")
        - });
        -
        - Monster.startMonster(fbb);
        - Monster.addPos(fbb, Vec3.createVec3(fbb, 1.0f, 2.0f, 3.0f, 3.0,
        -   Color.Green, (short)5, (byte)6));
        - Monster.addHp(fbb, (short)80);
        - Monster.addName(fbb, str);
        - Monster.addInventory(fbb, inv);
        - Monster.addTestType(fbb, (byte)Any.Monster);
        - Monster.addTest(fbb, mon2);
        - Monster.addTest4(fbb, test4);
        - Monster.addTestarrayofstring(fbb, testArrayOfString);
        - int mon = Monster.endMonster(fbb);
        - 
        -

        - Here: -

          -
        • The call to `Monster#startMonster(FlatBufferBuilder)` will call this - method with the right number of fields set.
        • -
        • `Monster#endMonster(FlatBufferBuilder)` will ensure endObject() is called.
        • -
        -

        - It's not recommended to call this method directly. If it's called manually, you must ensure - to audit all calls to it whenever fields are added or removed from your schema. This is - automatically done by the code generated by the `FlatBuffers` compiler.

        -
        -
        Parameters:
        -
        numfields - The number of fields found in this object.
        -
        -
      • -
      - - - -
        -
      • -

        addBoolean

        -
        public void addBoolean(int o,
        -                       boolean x,
        -                       boolean d)
        -
        Add a `boolean` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - A `boolean` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - A `boolean` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addByte

        -
        public void addByte(int o,
        -                    byte x,
        -                    int d)
        -
        Add a `byte` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - A `byte` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - A `byte` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addShort

        -
        public void addShort(int o,
        -                     short x,
        -                     int d)
        -
        Add a `short` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - A `short` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - A `short` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addInt

        -
        public void addInt(int o,
        -                   int x,
        -                   int d)
        -
        Add an `int` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - An `int` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - An `int` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addLong

        -
        public void addLong(int o,
        -                    long x,
        -                    long d)
        -
        Add a `long` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - A `long` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - A `long` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addFloat

        -
        public void addFloat(int o,
        -                     float x,
        -                     double d)
        -
        Add a `float` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - A `float` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - A `float` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addDouble

        -
        public void addDouble(int o,
        -                      double x,
        -                      double d)
        -
        Add a `double` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - A `double` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - A `double` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addOffset

        -
        public void addOffset(int o,
        -                      int x,
        -                      int d)
        -
        Add an `offset` to a table at `o` into its vtable, with value `x` and default `d`.
        -
        -
        Parameters:
        -
        o - The index into the vtable.
        -
        x - An `offset` to put into the buffer, depending on how defaults are handled. If - `force_defaults` is `false`, compare `x` against the default value `d`. If `x` contains the - default value, it can be skipped.
        -
        d - An `offset` default value to compare against when `force_defaults` is `false`.
        -
        -
      • -
      - - - -
        -
      • -

        addStruct

        -
        public void addStruct(int voffset,
        -                      int x,
        -                      int d)
        -
        Add a struct to the table. Structs are stored inline, so nothing additional is being added.
        -
        -
        Parameters:
        -
        voffset - The index into the vtable.
        -
        x - The offset of the created struct.
        -
        d - The default value is always `0`.
        -
        -
      • -
      - - - -
        -
      • -

        slot

        -
        public void slot(int voffset)
        -
        Set the current vtable at `voffset` to the current location in the buffer.
        -
        -
        Parameters:
        -
        voffset - The index into the vtable to store the offset relative to the end of the - buffer.
        -
        -
      • -
      - - - -
        -
      • -

        endObject

        -
        public int endObject()
        -
        Finish off writing the object that is under construction.
        -
        -
        Returns:
        -
        The offset to the object inside dataBuffer().
        -
        See Also:
        -
        startObject(int)
        -
        -
      • -
      - - - -
        -
      • -

        required

        -
        public void required(int table,
        -                     int field)
        -
        Checks that a required field has been set in a given table that has - just been constructed.
        -
        -
        Parameters:
        -
        table - The offset to the start of the table from the `ByteBuffer` capacity.
        -
        field - The offset to the field in the vtable.
        -
        -
      • -
      - - - -
        -
      • -

        finish

        -
        protected void finish(int root_table,
        -                      boolean size_prefix)
        -
        Finalize a buffer, pointing to the given `root_table`.
        -
        -
        Parameters:
        -
        root_table - An offset to be added to the buffer.
        -
        size_prefix - Whether to prefix the size to the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        finish

        -
        public void finish(int root_table)
        -
        Finalize a buffer, pointing to the given `root_table`.
        -
        -
        Parameters:
        -
        root_table - An offset to be added to the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        finishSizePrefixed

        -
        public void finishSizePrefixed(int root_table)
        -
        Finalize a buffer, pointing to the given `root_table`, with the size prefixed.
        -
        -
        Parameters:
        -
        root_table - An offset to be added to the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        finish

        -
        protected void finish(int root_table,
        -                      java.lang.String file_identifier,
        -                      boolean size_prefix)
        -
        Finalize a buffer, pointing to the given `root_table`.
        -
        -
        Parameters:
        -
        root_table - An offset to be added to the buffer.
        -
        file_identifier - A FlatBuffer file identifier to be added to the buffer before - `root_table`.
        -
        size_prefix - Whether to prefix the size to the buffer.
        -
        -
      • -
      - - - -
        -
      • -

        finish

        -
        public void finish(int root_table,
        -                   java.lang.String file_identifier)
        -
        Finalize a buffer, pointing to the given `root_table`.
        -
        -
        Parameters:
        -
        root_table - An offset to be added to the buffer.
        -
        file_identifier - A FlatBuffer file identifier to be added to the buffer before - `root_table`.
        -
        -
      • -
      - - - -
        -
      • -

        finishSizePrefixed

        -
        public void finishSizePrefixed(int root_table,
        -                               java.lang.String file_identifier)
        -
        Finalize a buffer, pointing to the given `root_table`, with the size prefixed.
        -
        -
        Parameters:
        -
        root_table - An offset to be added to the buffer.
        -
        file_identifier - A FlatBuffer file identifier to be added to the buffer before - `root_table`.
        -
        -
      • -
      - - - -
        -
      • -

        forceDefaults

        -
        public FlatBufferBuilder forceDefaults(boolean forceDefaults)
        -
        In order to save space, fields that are set to their default value - don't get serialized into the buffer. Forcing defaults provides a - way to manually disable this optimization.
        -
        -
        Parameters:
        -
        forceDefaults - When set to `true`, always serializes default values.
        -
        Returns:
        -
        Returns `this`.
        -
        -
      • -
      - - - -
        -
      • -

        dataBuffer

        -
        public java.nio.ByteBuffer dataBuffer()
        -
        Get the ByteBuffer representing the FlatBuffer. Only call this after you've - called `finish()`. The actual data starts at the ByteBuffer's current position, - not necessarily at `0`.
        -
        -
        Returns:
        -
        The ByteBuffer representing the FlatBuffer
        -
        -
      • -
      - - - -
        -
      • -

        sizedByteArray

        -
        public byte[] sizedByteArray(int start,
        -                             int length)
        -
        A utility function to copy and return the ByteBuffer data from `start` to - `start` + `length` as a `byte[]`.
        -
        -
        Parameters:
        -
        start - Start copying at this offset.
        -
        length - How many bytes to copy.
        -
        Returns:
        -
        A range copy of the data buffer.
        -
        Throws:
        -
        java.lang.IndexOutOfBoundsException - If the range of bytes is ouf of bound.
        -
        -
      • -
      - - - -
        -
      • -

        sizedByteArray

        -
        public byte[] sizedByteArray()
        -
        A utility function to copy and return the ByteBuffer data as a `byte[]`.
        -
        -
        Returns:
        -
        A full copy of the data buffer.
        -
        -
      • -
      - - - -
        -
      • -

        sizedInputStream

        -
        public java.io.InputStream sizedInputStream()
        -
        A utility function to return an InputStream to the ByteBuffer data
        -
        -
        Returns:
        -
        An InputStream that starts at the beginning of the ByteBuffer data - and can read to the end of it.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/Struct.html b/docs/javadoc/com/google/flatbuffers/Struct.html deleted file mode 100644 index 8c72ef72..00000000 --- a/docs/javadoc/com/google/flatbuffers/Struct.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -Struct (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class Struct

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.flatbuffers.Struct
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected java.nio.ByteBufferbb -
      The underlying ByteBuffer to hold the data of the Struct.
      -
      protected intbb_pos -
      Used to hold the position of the `bb` buffer.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Struct() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      void__reset() -
      Resets internal state with a null ByteBuffer and a zero position.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        bb_pos

        -
        protected int bb_pos
        -
        Used to hold the position of the `bb` buffer.
        -
      • -
      - - - -
        -
      • -

        bb

        -
        protected java.nio.ByteBuffer bb
        -
        The underlying ByteBuffer to hold the data of the Struct.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Struct

        -
        public Struct()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        __reset

        -
        public void __reset()
        -
        Resets internal state with a null ByteBuffer and a zero position. - - This method exists primarily to allow recycling Struct instances without risking memory leaks - due to ByteBuffer references. The instance will be unusable until it is assigned - again to a ByteBuffer.
        -
        -
        Parameters:
        -
        struct - the instance to reset to initial state
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/Table.html b/docs/javadoc/com/google/flatbuffers/Table.html deleted file mode 100644 index daba6834..00000000 --- a/docs/javadoc/com/google/flatbuffers/Table.html +++ /dev/null @@ -1,759 +0,0 @@ - - - - - -Table (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class Table

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.flatbuffers.Table
    • -
    -
  • -
- -
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected java.nio.ByteBufferbb -
      The underlying ByteBuffer to hold the data of the Table.
      -
      protected intbb_pos -
      Used to hold the position of the `bb` buffer.
      -
      static java.lang.ThreadLocal<java.nio.charset.Charset>UTF8_CHARSET 
      protected intvtable_size -
      Used to hold the vtable size.
      -
      protected intvtable_start -
      Used to hold the vtable position.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Table() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      protected static boolean__has_identifier(java.nio.ByteBuffer bb, - java.lang.String ident) -
      Check if a ByteBuffer contains a file identifier.
      -
      protected int__indirect(int offset) -
      Retrieve a relative offset.
      -
      protected static int__indirect(int offset, - java.nio.ByteBuffer bb) 
      protected int__offset(int vtable_offset) -
      Look up a field in the vtable.
      -
      protected static int__offset(int vtable_offset, - int offset, - java.nio.ByteBuffer bb) 
      void__reset() -
      Resets the internal state with a null ByteBuffer and a zero position.
      -
      protected java.lang.String__string(int offset) -
      Create a Java `String` from UTF-8 data stored inside the FlatBuffer.
      -
      protected Table__union(Table t, - int offset) -
      Initialize any Table-derived type to point to the union at the given `offset`.
      -
      protected java.nio.ByteBuffer__vector_as_bytebuffer(int vector_offset, - int elem_size) -
      Get a whole vector as a ByteBuffer.
      -
      protected java.nio.ByteBuffer__vector_in_bytebuffer(java.nio.ByteBuffer bb, - int vector_offset, - int elem_size) -
      Initialize vector as a ByteBuffer.
      -
      protected int__vector_len(int offset) -
      Get the length of a vector.
      -
      protected int__vector(int offset) -
      Get the start data of a vector.
      -
      protected static intcompareStrings(int offset_1, - byte[] key, - java.nio.ByteBuffer bb) -
      Compare string from the buffer with the 'String' object.
      -
      protected static intcompareStrings(int offset_1, - int offset_2, - java.nio.ByteBuffer bb) -
      Compare two strings in the buffer.
      -
      java.nio.ByteBuffergetByteBuffer() -
      Get the underlying ByteBuffer.
      -
      protected intkeysCompare(java.lang.Integer o1, - java.lang.Integer o2, - java.nio.ByteBuffer bb) -
      Compare two tables by the key.
      -
      protected voidsortTables(int[] offsets, - java.nio.ByteBuffer bb) -
      Sort tables by the key.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        UTF8_CHARSET

        -
        public static final java.lang.ThreadLocal<java.nio.charset.Charset> UTF8_CHARSET
        -
      • -
      - - - -
        -
      • -

        bb_pos

        -
        protected int bb_pos
        -
        Used to hold the position of the `bb` buffer.
        -
      • -
      - - - -
        -
      • -

        bb

        -
        protected java.nio.ByteBuffer bb
        -
        The underlying ByteBuffer to hold the data of the Table.
        -
      • -
      - - - -
        -
      • -

        vtable_start

        -
        protected int vtable_start
        -
        Used to hold the vtable position.
        -
      • -
      - - - -
        -
      • -

        vtable_size

        -
        protected int vtable_size
        -
        Used to hold the vtable size.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Table

        -
        public Table()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getByteBuffer

        -
        public java.nio.ByteBuffer getByteBuffer()
        -
        Get the underlying ByteBuffer.
        -
        -
        Returns:
        -
        Returns the Table's ByteBuffer.
        -
        -
      • -
      - - - -
        -
      • -

        __offset

        -
        protected int __offset(int vtable_offset)
        -
        Look up a field in the vtable.
        -
        -
        Parameters:
        -
        vtable_offset - An `int` offset to the vtable in the Table's ByteBuffer.
        -
        Returns:
        -
        Returns an offset into the object, or `0` if the field is not present.
        -
        -
      • -
      - - - -
        -
      • -

        __offset

        -
        protected static int __offset(int vtable_offset,
        -                              int offset,
        -                              java.nio.ByteBuffer bb)
        -
      • -
      - - - -
        -
      • -

        __indirect

        -
        protected int __indirect(int offset)
        -
        Retrieve a relative offset.
        -
        -
        Parameters:
        -
        offset - An `int` index into the Table's ByteBuffer containing the relative offset.
        -
        Returns:
        -
        Returns the relative offset stored at `offset`.
        -
        -
      • -
      - - - -
        -
      • -

        __indirect

        -
        protected static int __indirect(int offset,
        -                                java.nio.ByteBuffer bb)
        -
      • -
      - - - -
        -
      • -

        __string

        -
        protected java.lang.String __string(int offset)
        -
        Create a Java `String` from UTF-8 data stored inside the FlatBuffer. - - This allocates a new string and converts to wide chars upon each access, - which is not very efficient. Instead, each FlatBuffer string also comes with an - accessor based on __vector_as_bytebuffer below, which is much more efficient, - assuming your Java program can handle UTF-8 data directly.
        -
        -
        Parameters:
        -
        offset - An `int` index into the Table's ByteBuffer.
        -
        Returns:
        -
        Returns a `String` from the data stored inside the FlatBuffer at `offset`.
        -
        -
      • -
      - - - -
        -
      • -

        __vector_len

        -
        protected int __vector_len(int offset)
        -
        Get the length of a vector.
        -
        -
        Parameters:
        -
        offset - An `int` index into the Table's ByteBuffer.
        -
        Returns:
        -
        Returns the length of the vector whose offset is stored at `offset`.
        -
        -
      • -
      - - - -
        -
      • -

        __vector

        -
        protected int __vector(int offset)
        -
        Get the start data of a vector.
        -
        -
        Parameters:
        -
        offset - An `int` index into the Table's ByteBuffer.
        -
        Returns:
        -
        Returns the start of the vector data whose offset is stored at `offset`.
        -
        -
      • -
      - - - -
        -
      • -

        __vector_as_bytebuffer

        -
        protected java.nio.ByteBuffer __vector_as_bytebuffer(int vector_offset,
        -                                                     int elem_size)
        -
        Get a whole vector as a ByteBuffer. - - This is efficient, since it only allocates a new ByteBuffer object, - but does not actually copy the data, it still refers to the same bytes - as the original ByteBuffer. Also useful with nested FlatBuffers, etc.
        -
        -
        Parameters:
        -
        vector_offset - The position of the vector in the byte buffer
        -
        elem_size - The size of each element in the array
        -
        Returns:
        -
        The ByteBuffer for the array
        -
        -
      • -
      - - - -
        -
      • -

        __vector_in_bytebuffer

        -
        protected java.nio.ByteBuffer __vector_in_bytebuffer(java.nio.ByteBuffer bb,
        -                                                     int vector_offset,
        -                                                     int elem_size)
        -
        Initialize vector as a ByteBuffer. - - This is more efficient than using duplicate, since it doesn't copy the data - nor allocattes a new ByteBuffer, creating no garbage to be collected.
        -
        -
        Parameters:
        -
        bb - The ByteBuffer for the array
        -
        vector_offset - The position of the vector in the byte buffer
        -
        elem_size - The size of each element in the array
        -
        Returns:
        -
        The ByteBuffer for the array
        -
        -
      • -
      - - - -
        -
      • -

        __union

        -
        protected Table __union(Table t,
        -                        int offset)
        -
        Initialize any Table-derived type to point to the union at the given `offset`.
        -
        -
        Parameters:
        -
        t - A `Table`-derived type that should point to the union at `offset`.
        -
        offset - An `int` index into the Table's ByteBuffer.
        -
        Returns:
        -
        Returns the Table that points to the union at `offset`.
        -
        -
      • -
      - - - -
        -
      • -

        __has_identifier

        -
        protected static boolean __has_identifier(java.nio.ByteBuffer bb,
        -                                          java.lang.String ident)
        -
        Check if a ByteBuffer contains a file identifier.
        -
        -
        Parameters:
        -
        bb - A ByteBuffer to check if it contains the identifier - `ident`.
        -
        ident - A `String` identifier of the FlatBuffer file.
        -
        Returns:
        -
        True if the buffer contains the file identifier
        -
        -
      • -
      - - - -
        -
      • -

        sortTables

        -
        protected void sortTables(int[] offsets,
        -                          java.nio.ByteBuffer bb)
        -
        Sort tables by the key.
        -
        -
        Parameters:
        -
        offsets - An 'int' indexes of the tables into the bb.
        -
        bb - A ByteBuffer to get the tables.
        -
        -
      • -
      - - - -
        -
      • -

        keysCompare

        -
        protected int keysCompare(java.lang.Integer o1,
        -                          java.lang.Integer o2,
        -                          java.nio.ByteBuffer bb)
        -
        Compare two tables by the key.
        -
        -
        Parameters:
        -
        o1 - An 'Integer' index of the first key into the bb.
        -
        o2 - An 'Integer' index of the second key into the bb.
        -
        bb - A ByteBuffer to get the keys.
        -
        -
      • -
      - - - -
        -
      • -

        compareStrings

        -
        protected static int compareStrings(int offset_1,
        -                                    int offset_2,
        -                                    java.nio.ByteBuffer bb)
        -
        Compare two strings in the buffer.
        -
        -
        Parameters:
        -
        offset_1 - An 'int' index of the first string into the bb.
        -
        offset_2 - An 'int' index of the second string into the bb.
        -
        bb - A ByteBuffer to get the strings.
        -
        -
      • -
      - - - -
        -
      • -

        compareStrings

        -
        protected static int compareStrings(int offset_1,
        -                                    byte[] key,
        -                                    java.nio.ByteBuffer bb)
        -
        Compare string from the buffer with the 'String' object.
        -
        -
        Parameters:
        -
        offset_1 - An 'int' index of the first string into the bb.
        -
        key - Second string as a byte array.
        -
        bb - A ByteBuffer to get the first string.
        -
        -
      • -
      - - - -
        -
      • -

        __reset

        -
        public void __reset()
        -
        Resets the internal state with a null ByteBuffer and a zero position. - - This method exists primarily to allow recycling Table instances without risking memory leaks - due to ByteBuffer references. The instance will be unusable until it is assigned - again to a ByteBuffer.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/Utf8.html b/docs/javadoc/com/google/flatbuffers/Utf8.html deleted file mode 100644 index ce652019..00000000 --- a/docs/javadoc/com/google/flatbuffers/Utf8.html +++ /dev/null @@ -1,372 +0,0 @@ - - - - - -Utf8 (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class Utf8

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.flatbuffers.Utf8
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    Utf8Safe
    -
    -
    -
    -
    public abstract class Utf8
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Utf8() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethod and Description
      abstract java.lang.StringdecodeUtf8(java.nio.ByteBuffer buffer, - int offset, - int length) -
      Decodes the given UTF-8 portion of the ByteBuffer into a String.
      -
      abstract intencodedLength(java.lang.CharSequence sequence) -
      Returns the number of bytes in the UTF-8-encoded form of sequence.
      -
      abstract voidencodeUtf8(java.lang.CharSequence in, - java.nio.ByteBuffer out) -
      Encodes the given characters to the target ByteBuffer using UTF-8 encoding.
      -
      static Utf8getDefault() -
      Get the default UTF-8 processor.
      -
      static voidsetDefault(Utf8 instance) -
      Set the default instance of the UTF-8 processor.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Utf8

        -
        public Utf8()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        encodedLength

        -
        public abstract int encodedLength(java.lang.CharSequence sequence)
        -
        Returns the number of bytes in the UTF-8-encoded form of sequence. For a string, - this method is equivalent to string.getBytes(UTF_8).length, but is more efficient in - both time and space.
        -
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if sequence contains ill-formed UTF-16 (unpaired - surrogates)
        -
        -
      • -
      - - - -
        -
      • -

        encodeUtf8

        -
        public abstract void encodeUtf8(java.lang.CharSequence in,
        -                                java.nio.ByteBuffer out)
        -
        Encodes the given characters to the target ByteBuffer using UTF-8 encoding. - -

        Selects an optimal algorithm based on the type of ByteBuffer (i.e. heap or direct) - and the capabilities of the platform.

        -
        -
        Parameters:
        -
        in - the source string to be encoded
        -
        out - the target buffer to receive the encoded string.
        -
        -
      • -
      - - - -
        -
      • -

        decodeUtf8

        -
        public abstract java.lang.String decodeUtf8(java.nio.ByteBuffer buffer,
        -                                            int offset,
        -                                            int length)
        -
        Decodes the given UTF-8 portion of the ByteBuffer into a String.
        -
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the input is not valid UTF-8.
        -
        -
      • -
      - - - -
        -
      • -

        getDefault

        -
        public static Utf8 getDefault()
        -
        Get the default UTF-8 processor.
        -
        -
        Returns:
        -
        the default processor
        -
        -
      • -
      - - - -
        -
      • -

        setDefault

        -
        public static void setDefault(Utf8 instance)
        -
        Set the default instance of the UTF-8 processor.
        -
        -
        Parameters:
        -
        instance - the new instance to use
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/Utf8Safe.html b/docs/javadoc/com/google/flatbuffers/Utf8Safe.html deleted file mode 100644 index a20fea10..00000000 --- a/docs/javadoc/com/google/flatbuffers/Utf8Safe.html +++ /dev/null @@ -1,366 +0,0 @@ - - - - - -Utf8Safe (core API) - - - - - - - - - - - -
-
com.google.flatbuffers
-

Class Utf8Safe

-
-
- -
-
    -
  • -
    -
    -
    public final class Utf8Safe
    -extends Utf8
    -
    A set of low-level, high-performance static utility methods related - to the UTF-8 character encoding. This class has no dependencies - outside of the core JDK libraries. - -

    There are several variants of UTF-8. The one implemented by - this class is the restricted definition of UTF-8 introduced in - Unicode 3.1, which mandates the rejection of "overlong" byte - sequences as well as rejection of 3-byte surrogate codepoint byte - sequences. Note that the UTF-8 decoder included in Oracle's JDK - has been modified to also reject "overlong" byte sequences, but (as - of 2011) still accepts 3-byte surrogate codepoint byte sequences. - -

    The byte sequences considered valid by this class are exactly - those that can be roundtrip converted to Strings and back to bytes - using the UTF-8 charset, without loss:

     
    - Arrays.equals(bytes, new String(bytes, Internal.UTF_8).getBytes(Internal.UTF_8))
    - 
    - -

    See the Unicode Standard,
    - Table 3-6. UTF-8 Bit Distribution,
    - Table 3-7. Well Formed UTF-8 Byte Sequences.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Utf8Safe() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringdecodeUtf8(java.nio.ByteBuffer buffer, - int offset, - int length) -
      Decodes the given UTF-8 portion of the ByteBuffer into a String.
      -
      intencodedLength(java.lang.CharSequence in) -
      Returns the number of bytes in the UTF-8-encoded form of sequence.
      -
      voidencodeUtf8(java.lang.CharSequence in, - java.nio.ByteBuffer out) -
      Encodes the given characters to the target ByteBuffer using UTF-8 encoding.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Utf8Safe

        -
        public Utf8Safe()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        encodedLength

        -
        public int encodedLength(java.lang.CharSequence in)
        -
        Description copied from class: Utf8
        -
        Returns the number of bytes in the UTF-8-encoded form of sequence. For a string, - this method is equivalent to string.getBytes(UTF_8).length, but is more efficient in - both time and space.
        -
        -
        Specified by:
        -
        encodedLength in class Utf8
        -
        -
      • -
      - - - -
        -
      • -

        decodeUtf8

        -
        public java.lang.String decodeUtf8(java.nio.ByteBuffer buffer,
        -                                   int offset,
        -                                   int length)
        -                            throws java.lang.IllegalArgumentException
        -
        Decodes the given UTF-8 portion of the ByteBuffer into a String.
        -
        -
        Specified by:
        -
        decodeUtf8 in class Utf8
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the input is not valid UTF-8.
        -
        -
      • -
      - - - -
        -
      • -

        encodeUtf8

        -
        public void encodeUtf8(java.lang.CharSequence in,
        -                       java.nio.ByteBuffer out)
        -
        Encodes the given characters to the target ByteBuffer using UTF-8 encoding. - -

        Selects an optimal algorithm based on the type of ByteBuffer (i.e. heap or direct) - and the capabilities of the platform.

        -
        -
        Specified by:
        -
        encodeUtf8 in class Utf8
        -
        Parameters:
        -
        in - the source string to be encoded
        -
        out - the target buffer to receive the encoded string.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/package-frame.html b/docs/javadoc/com/google/flatbuffers/package-frame.html deleted file mode 100644 index b7a89d25..00000000 --- a/docs/javadoc/com/google/flatbuffers/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -com.google.flatbuffers (core API) - - - - -

com.google.flatbuffers

- - - diff --git a/docs/javadoc/com/google/flatbuffers/package-summary.html b/docs/javadoc/com/google/flatbuffers/package-summary.html deleted file mode 100644 index 2191625d..00000000 --- a/docs/javadoc/com/google/flatbuffers/package-summary.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -com.google.flatbuffers (core API) - - - - - - - - - - -
-

Package com.google.flatbuffers

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Constants -
    Class that holds shared constants
    -
    FlatBufferBuilder -
    Class that helps you build a FlatBuffer.
    -
    FlatBufferBuilder.ByteBufferFactory -
    An interface that provides a user of the FlatBufferBuilder class the ability to specify - the method in which the internal buffer gets allocated.
    -
    FlatBufferBuilder.HeapByteBufferFactory -
    An implementation of the ByteBufferFactory interface that is used when - one is not provided by the user.
    -
    Struct -
    All structs in the generated code derive from this class, and add their own accessors.
    -
    Table -
    All tables in the generated code derive from this class, and add their own accessors.
    -
    Utf8 
    Utf8Safe -
    A set of low-level, high-performance static utility methods related - to the UTF-8 character encoding.
    -
    -
  • -
-
- - - - - - diff --git a/docs/javadoc/com/google/flatbuffers/package-tree.html b/docs/javadoc/com/google/flatbuffers/package-tree.html deleted file mode 100644 index feb86a35..00000000 --- a/docs/javadoc/com/google/flatbuffers/package-tree.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -com.google.flatbuffers Class Hierarchy (core API) - - - - - - - - - - -
-

Hierarchy For Package com.google.flatbuffers

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - - - diff --git a/docs/javadoc/constant-values.html b/docs/javadoc/constant-values.html index 6302c9d9..10dfc99d 100644 --- a/docs/javadoc/constant-values.html +++ b/docs/javadoc/constant-values.html @@ -3,7 +3,7 @@ -Constant Field Values (core API) +Constant Field Values (ux API) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ - - - - + <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/google/ar/sceneform/ux/package-summary.html">Non-frame version</a>.</p> diff --git a/docs/javadoc/overview-frame.html b/docs/javadoc/overview-frame.html deleted file mode 100644 index bd4002f0..00000000 --- a/docs/javadoc/overview-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -Overview List (core API) - - - - - - -

 

- - diff --git a/docs/javadoc/overview-summary.html b/docs/javadoc/overview-summary.html deleted file mode 100644 index ee9c0f0f..00000000 --- a/docs/javadoc/overview-summary.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - -Overview (core API) - - - - - - - -
- - - - - - - -
- - -
-

core API

-
- - -
- - - - - - - -
- - - - diff --git a/docs/javadoc/overview-tree.html b/docs/javadoc/overview-tree.html index dfbd6cae..ff91a18a 100644 --- a/docs/javadoc/overview-tree.html +++ b/docs/javadoc/overview-tree.html @@ -3,7 +3,7 @@ -Class Hierarchy (core API) +Class Hierarchy (ux API) @@ -11,7 +11,7 @@ - - - - - - - - -
-

Serialized Form

-
-
-
    -
  • -

    Package com.google.ar.sceneform.rendering

    -
      -
    • - - -

      Class com.google.ar.sceneform.rendering.EnvironmentalHdrLightEstimate extends java.lang.Object implements Serializable

      -
        -
      • -

        Serialized Fields

        -
          -
        • -

          sphericalHarmonics

          -
          float[] sphericalHarmonics
          -
        • -
        • -

          direction

          -
          float[] direction
          -
        • -
        • -

          colorR

          -
          float colorR
          -
        • -
        • -

          colorG

          -
          float colorG
          -
        • -
        • -

          colorB

          -
          float colorB
          -
        • -
        • -

          colorA

          -
          float colorA
          -
        • -
        • -

          relativeIntensity

          -
          float relativeIntensity
          -
        • -
        • -

          cubeMap

          -
          com.google.ar.sceneform.rendering.EnvironmentalHdrLightEstimate.CubeMapImage[] cubeMap
          -
        • -
        -
      • -
      -
    • -
    -
  • -
-
- - - - - - diff --git a/docs/manifest.md b/docs/manifest.md new file mode 100644 index 00000000..356c3397 --- /dev/null +++ b/docs/manifest.md @@ -0,0 +1,26 @@ + +### Update your AndroidManifest.xml + +Modify your ```AndroidManifest.xml``` to indicate that your app uses (AR Optional) or requires (AR Required) ARCore and CAMERA access: +```xml + + + + + + + + + + + … + + + +``` \ No newline at end of file