ARCore와 통합되고 장면을 렌더링하는 SurfaceView
상속된 상수
int | ACCESSIBILITY_LIVE_REGION_ASSERTIVE | |
int | ACCESSIBILITY_LIVE_REGION_NONE | |
int | ACCESSIBILITY_LIVE_REGION_POLITE | |
int | 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 | |
int | AUTOFILL_TYPE_DATE | |
int | AUTOFILL_TYPE_LIST | |
int | AUTOFILL_TYPE_NONE | |
int | AUTOFILL_TYPE_TEXT | |
int | AUTOFILL_TYPE_TOGGLE | |
int | DRAG_FLAG_GLOBAL | |
int | DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_URI_READ | |
int | DRAG_FLAG_GLOBAL_URI_WRITE | |
int | DRAG_FLAG_OPAQUE | |
int | DRAWING_CACHE_QUALITY_AUTO | |
int | DRAWING_CACHE_QUALITY_HIGH | |
int | DRAWING_CACHE_QUALITY_LOW | |
int | FIND_VIEWS_WITH_CONTENT_DESCRIPTION | |
int | FIND_VIEWS_WITH_TEXT | |
int | FOCUSABLE | |
int | FOCUSABLES_ALL | |
int | FOCUSABLES_TOUCH_MODE | |
int | FOCUSABLE_AUTO | |
int | FOCUS_BACKWARD | |
int | FOCUS_DOWN | |
int | FOCUS_FORWARD | |
int | FOCUS_LEFT | |
int | FOCUS_RIGHT | |
int | FOCUS_UP | |
int | GONE | |
int | HAPTIC_FEEDBACK_ENABLED | |
int | IMPORTANT_FOR_ACCESSIBILITY_AUTO | |
int | IMPORTANT_FOR_ACCESSIBILITY_NO | |
int | IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS | |
int | IMPORTANT_FOR_ACCESSIBILITY_YES | |
int | IMPORTANT_FOR_AUTOFILL_AUTO | |
int | IMPORTANT_FOR_AUTOFILL_NO | |
int | IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS | |
int | IMPORTANT_FOR_AUTOFILL_YES | |
int | IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS | |
int | INVISIBLE | |
int | KEEP_SCREEN_ON | |
int | LAYER_TYPE_HARDWARE | |
int | LAYER_TYPE_NONE | |
int | LAYER_TYPE_SOFTWARE | |
int | LAYOUT_DIRECTION_INHERIT | |
int | LAYOUT_DIRECTION_LOCALE | |
int | LAYOUT_DIRECTION_LTR | |
int | LAYOUT_DIRECTION_RTL | |
int | MEASURED_HEIGHT_STATE_SHIFT | |
int | MEASURED_SIZE_MASK | |
int | MEASURED_STATE_MASK | |
int | MEASURED_STATE_TOO_SMALL | |
int | NOT_FOCUSABLE | |
int | NO_ID | |
int | OVER_SCROLL_ALWAYS | |
int | OVER_SCROLL_IF_CONTENT_SCROLLS | |
int | OVER_SCROLL_NEVER | |
int | SCREEN_STATE_OFF | |
int | SCREEN_STATE_ON | |
int | SCROLLBARS_INSIDE_INSET | |
int | SCROLLBARS_INSIDE_OVERLAY | |
int | SCROLLBARS_OUTSIDE_INSET | |
int | SCROLLBARS_OUTSIDE_OVERLAY | |
int | SCROLLBAR_POSITION_DEFAULT | |
int | SCROLLBAR_POSITION_LEFT | |
int | SCROLLBAR_POSITION_RIGHT | |
int | SCROLL_AXIS_HORIZONTAL | |
int | SCROLL_AXIS_NONE | |
int | SCROLL_AXIS_VERTICAL | |
int | SCROLL_INDICATOR_BOTTOM | |
int | SCROLL_INDICATOR_END | |
int | SCROLL_INDICATOR_LEFT | |
int | SCROLL_INDICATOR_RIGHT | |
int | SCROLL_INDICATOR_START | |
int | SCROLL_INDICATOR_TOP | |
int | SOUND_EFFECTS_ENABLED | |
int | STATUS_BAR_HIDDEN | |
int | STATUS_BAR_VISIBLE | |
int | SYSTEM_UI_FLAG_FULLSCREEN | |
int | SYSTEM_UI_FLAG_HIDE_NAVIGATION | |
int | SYSTEM_UI_FLAG_IMMERSIVE | |
int | SYSTEM_UI_FLAG_IMMERSIVE_STICKY | |
int | SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | |
int | SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | |
int | SYSTEM_UI_FLAG_LAYOUT_STABLE | |
int | SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR | |
int | SYSTEM_UI_FLAG_LIGHT_STATUS_BAR | |
int | SYSTEM_UI_FLAG_LOW_PROFILE | |
int | SYSTEM_UI_FLAG_VISIBLE | |
int | SYSTEM_UI_LAYOUT_FLAGS | |
int | TEXT_ALIGNMENT_CENTER | |
int | TEXT_ALIGNMENT_GRAVITY | |
int | TEXT_ALIGNMENT_INHERIT | |
int | TEXT_ALIGNMENT_TEXT_END | |
int | TEXT_ALIGNMENT_TEXT_START | |
int | TEXT_ALIGNMENT_VIEW_END | |
int | TEXT_ALIGNMENT_VIEW_START | |
int | TEXT_DIRECTION_ANY_RTL | |
int | TEXT_DIRECTION_FIRST_STRONG | |
int | TEXT_DIRECTION_FIRST_STRONG_LTR | |
int | TEXT_DIRECTION_FIRST_STRONG_RTL | |
int | TEXT_DIRECTION_INHERIT | |
int | TEXT_DIRECTION_LOCALE | |
int | TEXT_DIRECTION_LTR | |
int | TEXT_DIRECTION_RTL | |
문자열 | 뷰_로그_태그 | |
int | VISIBLE |
상속된 필드
public static end Property<View, Float> | ALPHA | |
보호되는 정적 최종 int[] | 공백_상태_설정 | |
보호되는 정적 최종 int[] | ENABLED_FOCUSED_SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | ENABLED_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | ENABLED_SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | ENABLED_STATE_SET | |
보호되는 정적 최종 int[] | ENABLED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | FOCUSED_SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | FOCUSED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_FOCUSED_SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_STATE_SET | |
보호되는 정적 최종 int[] | PRESSED_WINDOW_FOCUSED_STATE_SET | |
public static end Property<View, Float> | ROTATION | |
public static end Property<View, Float> | ROTATION_X | |
public static end Property<View, Float> | ROTATION_Y | |
public static end Property<View, Float> | SCALE_X | |
public static end Property<View, Float> | SCALE_Y | |
보호되는 정적 최종 int[] | SELECTED_STATE_SET | |
보호되는 정적 최종 int[] | SELECTED_WINDOW_FOCUSED_STATE_SET | |
public static end Property<View, Float> | TRANSLATION_X | |
public static end Property<View, Float> | TRANSLATION_Y | |
public static end Property<View, Float> | TRANSLATION_Z | |
보호되는 정적 최종 int[] | WINDOW_FOCUSED_STATE_SET | |
public static end Property<View, Float> | X | |
public static end Property<View, Float> | 구매 가능 | |
public static end Property<View, Float> | Z |
공개 생성자
공개 메서드
프레임 |
getArFrame()
사용 가능한 경우 최신 ARCore Frame을 반환합니다.
|
int |
getCameraStreamRenderPriority()
카메라 스트림 렌더링 순서를 제어하는 렌더링 우선순위를 가져옵니다.
|
PlaneRenderer |
getPlaneRenderer()
평면 시각화를 제어하는 데 사용되는 PlaneRenderer를 반환합니다.
|
세션 |
getSession()
이 뷰에서 사용하는 ARCore 세션을 반환합니다.
|
boolean |
isEnvironmentalHdrLightingAvailable()
ARCore 카메라가 Config.LightEstimationMode.ENVIRONMENTAL_HDR로 구성된 경우 true를 반환합니다.
|
boolean |
isLightDirectionUpdateEnabled()
환경 HDR 조명 추정치에 따라 프레임마다 햇빛이 업데이트되는지 확인합니다.
|
boolean | |
void |
pause()
렌더링 스레드와 ARCore 세션을 일시중지합니다.
|
CompletableFuture<Void> | |
void |
Resume()
렌더링 스레드와 ARCore 세션을 재개합니다.
|
CompletableFuture<Void> | |
void |
setCameraStreamRenderPriority(int 우선순위)
카메라 스트림을 렌더링하는 순서를 제어하도록 렌더링 우선순위를 설정합니다.
|
void |
setLightDirectionUpdateEnabled(불리언 isLightDirectionUpdateEnabled)
환경 HDR 조명에서 생성된 햇빛 방향을 프레임마다 업데이트해야 하는지 설정합니다.
|
void |
setLightEstimationEnabled(불리언 사용 설정)
카메라 피드를 기반으로 빛 추정을 사용 설정합니다.
|
void |
상속된 메서드
void |
소멸()
장면 양식을 종료하는 데 필요합니다.
|
정적 무효 |
폐기 리소스()
사용 중이더라도 모든 렌더링 리소스를 즉시 해제합니다.
|
void |
enableDebug(불리언 사용 설정)
사용 설정하면 디버깅을 위한 다양한 시각화를 제공합니다.
|
장면 |
get scene()
이 뷰에서 만든 장면 형식의 장면을 반환합니다.
|
boolean |
isDebugEnabled()
이 뷰에 디버깅이 사용 설정되었는지 여부를 나타냅니다.
|
boolean |
onTouchEvent(MotionEvent 모션 이벤트)
|
void |
pause()
장면 일시중지: 렌더링 스레드를 일시중지합니다.
|
정적 long |
reclaimReleasedResources()
가비지 컬렉션을 위해 렌더링 리소스를 표시함
사용하지 않는 리소스를 수집하기 위해 프레임마다 호출됩니다. |
void |
Resume()
재개 스레드: 렌더링 스레드를 재개합니다.
|
void |
setAnimationTimeTransformer( sceneView.AnimationTimeTransformeranimationTimeTransformer)
애니메이션 재생 속도를 제어하기 위해
SceneView 고객은 시간을 반환하여 전역 애니메이션 커서 시간을 업데이트하는 함수를 제공할 수 있습니다. |
void | |
void |
start미러링 표면(표면 표면, int 왼쪽, int 하단, int 너비, int 높이)
이 뷰의 콘텐츠를 캡처하려면 이 scview를 미러링해야 하는
Surface 를 지정합니다. |
void |
void |
dispatchDraw(Canvas arg0)
|
void |
draw(Canvas arg0)
|
boolean |
gatherTransparentRegion(리전 arg0)
|
SurfaceHolder |
getHolder()
|
노출 영역 제어 |
getSurfaceControl()
|
void |
onAttachedToWindow()
|
void |
onDetachedFromWindow()
|
void |
onMeasure(int arg0, int arg1)
|
void |
onWindowVisibilityChanged(int arg0)
|
void |
setSecure(불리언 인수 0)
|
void |
setVisibility(int arg0)
|
void |
setZOrderMediaOverlay(부울 인수 0)
|
void |
setZOrderOnTop(부울 arg0)
|
void | |
void | |
void | |
void | |
void | |
void |
addOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
addOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void | |
ViewPropertyAnimator |
animate()
|
void |
announceForAccessibility(CharSequence arg0)
|
void |
autofill(AutofillValue arg0)
|
void |
autofill(SparseArray<AutofillValue> arg0)
|
boolean |
awakenScrollBars(int arg0, boolean arg1)
|
boolean |
awakenScrollBars(int arg0)
|
boolean |
awakenScrollBars()
|
void |
bringToFront()
|
void |
buildDrawingCache(불리언 인수 0)
|
void |
buildDrawingCache()
|
void |
buildLayer()
|
boolean |
callOnClick()
|
boolean |
canResolveLayoutDirection()
|
boolean |
canResolveTextAlignment()
|
boolean |
canResolveTextDirection()
|
boolean |
canScrollHorizontally(int arg0)
|
boolean |
canScrollVertically(int arg0)
|
최종 무효 |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
최종 무효 |
cancelPendingInputEvents()
|
boolean |
checkInputConnectionProxy(View arg0)
|
void |
clearAnimation()
|
void |
clearFocus()
|
정적 정수 |
combineMeasuredStates(int arg0, int arg1)
|
int |
computeHorizontalScrollExtent()
|
int |
computeHorizontalScrollOffset()
|
int |
computeHorizontalScrollRange()
|
void |
computeScroll()
|
WindowInsets | |
int |
computeVerticalScrollExtent()
|
int |
computeVerticalScrollOffset()
|
int |
computeVerticalScrollRange()
|
AccessibilityNodeInfo |
createAccessibilityNodeInfo()
|
void |
createContextMenu(ContextMenu arg0)
|
void |
dispatchDrawingCache()
|
WindowInsets |
dispatchApplyWindowInsets(WindowInsets arg0)
|
boolean |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(구성 arg0)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDraw(Canvas arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishTemporaryDetach
|
boolean |
dispatchGenericFocusedEvent(MotionEvent arg0)
|
boolean |
dispatchGenericMotionEvent(MotionEvent arg0)
|
boolean |
dispatchGenericPointerEvent(MotionEvent arg0)
|
boolean |
dispatchHoverEvent(MotionEvent arg0)
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
boolean |
dispatchNestedFling(float arg0, float arg1, boolean arg2)
|
boolean |
dispatchNestedPreFling(float arg0, float arg1)
|
boolean |
dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1)
|
boolean |
dispatchNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3)
|
boolean |
dispatchNestedScroll(int arg0, int arg1, int arg2, int arg3, int[] arg4)
|
void |
dispatchPointerCaptureChanged(부울 arg0)
|
boolean |
dispatchPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
dispatchProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void | |
void | |
void |
dispatchSetActivated(부울 arg0)
|
void |
dispatchSetPressed(불리언 인수 0)
|
void |
dispatchSetSelected(불리언 인수 0)
|
void |
dispatchStartTemporaryDetach
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(MotionEvent arg0)
|
boolean |
dispatchTrackballEvent(MotionEvent arg0)
|
boolean |
dispatchUnhandledMove(View arg0, int arg1)
|
void |
dispatchVisibilityChanged(View arg0, int arg1)
|
void |
dispatchWindowFocusChanged(불리언 인수 0)
|
void |
dispatchWindowSystemUiVisiblityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
draw(Canvas arg0)
|
void |
drawableHotspotChanged(float arg0, float arg1)
|
void |
drawableStateChanged()
|
보기 |
findFocus()
|
최종 T가 View T를 확장함 |
findViewById(int arg0)
|
최종 T가 View T를 확장함 |
findViewWithTag(Object arg0)
|
void | |
boolean |
fitSystemWindows(Rect arg0)
|
보기 |
focusSearch(int arg0)
|
void |
forceHasOverlappingRendering(부울 arg0)
|
void |
forceLayout()
|
정적 정수 |
generateViewId()
|
CharSequence |
getAccessibilityClassName()
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
int |
getAccessibilityLiveRegion()
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider()
|
CharSequence |
getAccessibilityPaneTitle()
|
int |
getAccessibilityTraversalAfter()
|
int |
getAccessibilityTraversalBefore()
|
float |
getAlpha()
|
애니메이션 |
getAnimation()
|
행렬 |
getAnimationMatrix()
|
IBinder |
getApplicationWindowToken()
|
int[] |
getAttributeResolutionStack(int arg0)
|
Map<Integer, Integer> |
getAttributeSourceResourceMap()
|
문자열[] |
getAutofillHints()
|
최종 AutofillId |
getAutofillId()
|
int |
getAutofillType()
|
자동 완성 값 |
getAutofillValue()
|
드로어블 |
getBackground()
|
블렌딩 모드 |
getBackgroundTintBlendMode()
|
ColorStateList |
getBackgroundTintList()
|
PorterDuff.Mode |
getBackgroundTintMode()
|
int |
getBaseline()
|
최종 정수 |
getBottom()
|
float |
getBottomFadingEdgeStrength()
|
int |
getBottomPaddingOffset()
|
float |
getCameraDistance()
|
boolean |
getClipBounds(Rect arg0)
|
직사 |
getClipBounds()
|
최종 부울 |
getClipToOutline()
|
최종 ContentCaptureSession |
getContentCaptureSession()
|
CharSequence |
getContentDescription()
|
최종 컨텍스트 |
getContext()
|
컨텍스트 메뉴.컨텍스트 메뉴 정보 |
getContextMenuInfo()
|
최종 부울 |
getDefaultFocusHighlightEnabled()
|
정적 정수 |
getDefaultSize(int arg0, int arg1)
|
디스플레이 |
getDisplay()
|
최종 정수[] |
getDrawableState()
|
비트맵 |
getDrawingCache()
|
비트맵 |
getDrawingCache(부울 인수 0)
|
int |
getDrawingCacheBackgroundColor()
|
int |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect arg0)
|
long |
getDrawingTime()
|
float |
getElevation()
|
int |
getExplicitStyle()
|
boolean |
getFilterTouchesWhenObscured()
|
boolean |
getFitsSystemWindows()
|
int |
getFocusable()
|
ArrayList<View> |
getFocusables(int arg0)
|
void |
getFocusedRect(Rect arg0)
|
드로어블 |
getForeground()
|
int |
getForegroundGravity()
|
블렌딩 모드 |
getForegroundTintBlendMode()
|
ColorStateList |
getForegroundTintList()
|
PorterDuff.Mode |
getForegroundTintMode()
|
최종 부울 |
getGlobalVisibleRect(Rect arg0)
|
boolean | |
핸들러 |
getHandler()
|
최종 부울 |
getHasOverlappingRendering()
|
최종 정수 |
getHeight()
|
void |
getHitRect(Rect arg0)
|
int |
getHorizontalFadingEdgeLength()
|
int |
getHorizontalScrollbarHeight()
|
드로어블 |
getHorizontalScrollbarThumbDrawable()
|
드로어블 |
getHorizontalScrollbarTrackDrawable()
|
int |
getId()
|
int |
getImportantForAccessibility()
|
int |
getImportantForAutofill()
|
boolean |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
int |
getLabelFor()
|
int |
getLayerType()
|
int |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams()
|
최종 정수 |
getLeft()
|
float |
getLeftFadingEdgeStrength()
|
int |
getLeftPaddingOffset()
|
최종 부울 |
getLocalVisibleRect(Rect arg0)
|
void |
getLocationInSurface(int[] arg0)
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
행렬 |
getMatrix()
|
최종 정수 |
getMeasuredHeight()
|
최종 정수 |
getMeasuredHeightAndState()
|
최종 정수 |
getMeasuredState()
|
최종 정수 |
getMeasuredWidth()
|
최종 정수 |
getMeasuredWidthAndState()
|
int |
getMinimumHeight()
|
int |
getMinimumWidth()
|
int |
nowrapClusterForwardId()
|
int |
nowrapFocusDownId
|
int |
nowrapFocusForwardId()
|
int |
nowrapFocusLeftId()
|
int |
nowrapFocusRightId()
|
int |
nowrapFocusUpId()
|
View.OnFocusChangeListener |
getOnFocusChangeListener()
|
int |
getOutlineAmbientShadowColor()
|
ViewOutlineProvider |
getOutlineProvider()
|
int |
getOutlineSpotShadowColor()
|
int |
getOverScrollMode()
|
ViewOverlay |
getOverlay()
|
int |
getPaddingBottom()
|
int |
getPaddingEnd()
|
int |
getPaddingLeft()
|
int |
getPaddingRight()
|
int |
getPaddingStart()
|
int |
getPaddingTop()
|
최종 ViewParent |
getParent()
|
ViewParent |
getParentForAccessibility()
|
float |
getPivotX()
|
float |
getPivotY()
|
포인터 아이콘 |
getPointerIcon()
|
리소스 |
getResources()
|
최종 부울 |
getRevealOnFocusHint()
|
최종 정수 |
getRight()
|
float |
getRightFadingEdgeStrength()
|
int |
getRightPaddingOffset()
|
보기 |
getRootView()
|
WindowInsets |
getRootWindowInsets()
|
float |
getRotation()
|
float |
getRotationX()
|
float |
getRotationY()
|
float |
getScaleX()
|
float |
getScaleY()
|
int |
getScrollBarDefaultDelayBeforeFade()
|
int |
getScrollBarFadeDuration()
|
int |
getScrollBarSize()
|
int |
getScrollBarStyle
|
int |
getScrollIndicators()
|
최종 정수 |
getScrollX()
|
최종 정수 |
getScrollY()
|
int |
getSolidColor()
|
int |
getSourceLayoutResId()
|
StateListAnimator |
getStateListAnimator()
|
int |
getSuggestedMinimumHeight()
|
int |
getSuggestedMinimumWidth()
|
목록<lt;Rect> |
getSystemGestureExclusionRects()
|
int |
getSystemUiVisibility()
|
객체 |
getTag()
|
객체 |
getTag(int arg0)
|
int |
getTextAlignment()
|
int |
getTextDirection()
|
CharSequence |
getTooltipText()
|
최종 정수 |
getTop()
|
float |
getTopFadingEdgeStrength()
|
int |
getTopPaddingOffset()
|
TouchDelegate |
getTouchDelegate()
|
ArrayList<View> |
getTouchables()
|
float |
getTransitionAlpha()
|
문자열 |
getTransitionName()
|
float |
getTranslationX()
|
float |
getTranslationY
|
float |
getTranslationZ()
|
long |
getUniqueDrawingId()
|
int |
getVerticalFadingEdgeLength()
|
int |
getVerticalScrollbarPosition()
|
드로어블 |
getVerticalScrollbarThumbDrawable()
|
드로어블 |
getVerticalScrollbarTrackDrawable()
|
int |
getVerticalScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver()
|
int |
getVisibility()
|
최종 정수 |
getWidth()
|
int |
getWindowAttachCount()
|
창 ID |
getWindowId()
|
int |
getWindowSystemUiVisibility()
|
IBinder |
getWindowToken()
|
int |
getWindowVisibility()
|
void |
getWindowVisibleDisplayFrame(Rect arg0)
|
float |
getX
|
float |
getY()
|
float |
getZ()
|
boolean |
hasExplicitFocusable()
|
boolean |
hasFocus()
|
boolean |
hasFocusable()
|
boolean |
hasNestedScrollingParent()
|
boolean |
hasOnClickListeners()
|
boolean |
hasOverlappingRendering()
|
boolean |
hasPointerCapture()
|
boolean |
hasTransientState()
|
boolean |
hasWindowFocus()
|
Static View | |
void |
invalidate()
|
void |
invalidate(Rect arg0)
|
void |
invalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(Drawable arg0)
|
void |
invalidateOutline()
|
boolean |
isAccessibilityFocused()
|
boolean |
isAccessibilityHeading()
|
boolean |
isActivated()
|
boolean |
isAttachedToWindow()
|
boolean |
isClickable()
|
boolean |
isContextClickable()
|
boolean |
isDirty()
|
boolean |
isDrawingCacheEnabled()
|
boolean |
isDuplicateParentStateEnabled()
|
boolean |
isEnabled()
|
최종 부울 |
isFocusable()
|
최종 부울 |
isFocusableInTouchMode()
|
boolean |
isFocused()
|
최종 부울 |
isFocusedByDefault()
|
boolean |
isForceDarkAllowed()
|
boolean |
isHapticFeedbackEnabled()
|
boolean |
isHardwareAccelerated()
|
boolean |
isHorizontalFadingEdgeEnabled()
|
boolean |
isHorizontalScrollBarEnabled()
|
boolean |
isHovered()
|
boolean |
isImportantForAccessibility()
|
최종 부울 |
isImportantForAutofill()
|
boolean |
isInEditMode()
|
boolean |
isInLayout()
|
boolean |
isInTouchMode()
|
최종 부울 |
isKeyboardNavigationCluster()
|
boolean |
isLaidOut()
|
boolean |
isLayoutDirectionResolved()
|
boolean |
isLayoutRequested()
|
boolean |
isLongClickable()
|
boolean |
isNestedScrollingEnabled()
|
boolean |
isOpaque()
|
boolean |
isPaddingOffsetRequired()
|
boolean |
isPaddingRelative()
|
boolean |
isPivotSet()
|
boolean |
isPressed()
|
boolean |
isSaveEnabled()
|
boolean |
isSaveFromParentEnabled()
|
boolean |
isScreenReaderFocusable()
|
boolean |
isScrollContainer()
|
boolean |
isScrollbarFadingEnabled()
|
boolean |
isSelected()
|
boolean |
isShown()
|
boolean |
isSoundEffectsEnabled()
|
최종 부울 |
isTemporaryDetached()
|
boolean |
isTextAlignmentResolved()
|
boolean |
isTextDirectionResolved()
|
boolean |
isVerticalFadingEdgeEnabled()
|
boolean |
isVerticalScrollBarEnabled()
|
boolean |
isVisibleToUserForAutofill(int arg0)
|
void |
jumpDrawablesToCurrentState()
|
보기 |
키보드 탐색 클러스터 검색(뷰 arg0, int arg1)
|
void |
layout(int arg0, int arg1, int arg2, int arg3)
|
최종 무효 |
measure(int arg0, int arg1)
|
static int[] |
mergeDrawableStates(int[] arg0, int[] arg1)
|
void |
offsetLeftAndRight(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
void |
onAnimationEnd()
|
void |
onAnimationStart()
|
WindowInsets |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onAttachedToWindow()
|
void |
onCancelPendingInputEvents ()
|
boolean |
onCapturedPointerEvent(MotionEvent arg0)
|
boolean |
onCheckIsTextEditor()
|
void |
onConfigurationChanged(구성 arg0)
|
void |
onCreateContextMenu(ContextMenu arg0)
|
int[] |
onCreateDrawableState(int arg0)
|
입력 연결 |
onCreateInputConnection(EditorInfo arg0)
|
void |
onDetachedFromWindow()
|
void |
onDisplayHint(int arg0)
|
boolean |
onDragEvent(DragEvent arg0)
|
void |
onDraw(Canvas arg0)
|
void |
onDrawForeground(Canvas arg0)
|
최종 무효 |
onDrawScrollBars(Canvas arg0)
|
boolean |
onFilterTouchEventForSecurity(MotionEvent arg0)
|
void |
onFinishInflate()
|
void |
onFinishTemporaryDetach
|
void |
onFocusChanged(부울 arg0, int arg1, Rect arg2)
|
boolean |
onGenericMotionEvent(MotionEvent arg0)
|
void |
onHoverChanged(부울 arg0)
|
boolean |
onHoverEvent(MotionEvent arg0)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo arg0)
|
boolean |
onKeyDown(int arg0, KeyEvent arg1)
|
boolean |
onKeyLongPress(int arg0, KeyEvent arg1)
|
boolean |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
boolean |
onKeyPreIme(int arg0, KeyEvent arg1)
|
boolean |
onKeyShortcut(int arg0, KeyEvent arg1)
|
boolean |
onKeyUp(int arg0, KeyEvent arg1)
|
void |
onLayout(부울 arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onMeasure(int arg0, int arg1)
|
void |
onOverScrolled(int arg0, int arg1, boolean arg2, boolean arg3)
|
void |
onPointerCaptureChange(부울 arg0)
|
void |
onPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
onProvideAutofillVirtualStructure(ViewStructure arg0, int arg1)
|
void |
onProvideStructure(ViewStructure arg0)
|
void |
onProvideVirtualStructure(ViewStructure arg0)
|
포인터 아이콘 |
onResolvePointerIcon(MotionEvent arg0, int arg1)
|
void |
onRestoreInstanceState(Parcelable arg0)
|
void |
onRtlPropertiesChanged(int arg0)
|
Parcelable |
onSaveInstanceState()
|
void |
onScreenStateChanged(int arg0)
|
void |
onScrollChanged(int arg0, int arg1, int arg2, int arg3)
|
boolean |
onSetAlpha(int arg0)
|
void |
onSizeChanged(int arg0, int arg1, int arg2, int arg3)
|
void |
onStartTemporaryDetach
|
boolean |
onTouchEvent(MotionEvent arg0)
|
boolean |
onTrackballEvent(MotionEvent arg0)
|
void |
onVisibilityAggregated(부울 arg0)
|
void |
onVisibilityChanged(View arg0, int arg1)
|
void |
onWindowFocusChanged(부울 arg0)
|
void |
onWindowSystemUiVisibilityChanged(int arg0)
|
void |
onWindowVisibilityChanged(int arg0)
|
boolean |
overScrollBy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8)
|
boolean |
performAccessibilityAction(int arg0, Bundle arg1)
|
boolean |
performClick()
|
boolean |
performContextClick(부동 소수점 인수 0, 부동 소수점 1)
|
boolean |
performContextClick()
|
boolean |
performHapticFeedback(int arg0)
|
boolean |
performHapticFeedback(int arg0, int arg1)
|
boolean |
performLongClick(float arg0, float arg1)
|
boolean |
performLongClick()
|
void |
playSoundEffect(int arg0)
|
boolean |
post(Runnable arg0)
|
boolean |
postDelayed(Runnable arg0, long arg1)
|
void |
postInvalidate()
|
void |
postInvalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateDelayed(long arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
postInvalidateDelayed(long arg0)
|
void |
postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateOnAnimation()
|
void |
postOnAnimation(Runnable arg0)
|
void |
postOnAnimationDelayed(Runnable arg0, long arg1)
|
void |
refreshDrawableState()
|
void |
releasePointerCapture()
|
boolean |
removeCallbacks(Runnable arg0)
|
void |
removeOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
최종 부울 |
requestFocus(int arg0)
|
최종 부울 |
requestFocus()
|
boolean |
requestFocus(int arg0, Rect arg1)
|
최종 부울 |
requestFocusFromTouch()
|
void |
requestLayout()
|
void |
requestPointerCapture()
|
boolean |
requestRectangleOnScreen(Rect arg0)
|
boolean |
requestRectangleOnScreen(Rect arg0, boolean arg1)
|
최종 무효 |
requestUnbufferedDispatch(MotionEvent arg0)
|
최종 T가 View T를 확장함 |
requireViewById(int arg0)
|
void |
resetPivot()
|
정적 정수 |
ResolveSize(int arg0, int arg1)
|
정적 정수 |
ResolveSizeAndState(int arg0, int arg1, int arg2)
|
boolean |
restoreDefaultFocus()
|
void | |
최종 무효 |
saveAttributeDataForStyleable(Context arg0, int[] arg1, AttributeSet arg2, TypedArray arg3, int arg4, int arg5)
|
void | |
void | |
void |
scrollBy(int arg0, int arg1)
|
void |
scrollTo(int arg0, int arg1)
|
void |
sendAccessibilityEvent(int arg0)
|
void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
void |
setAccessibilityDelegate(View.AccessibilityDelegate arg0)
|
void |
setAccessibilityHeading(부울 arg0)
|
void |
setAccessibilityLiveRegion(int arg0)
|
void |
setAccessibilityPaneTitle(CharSequence arg0)
|
void |
setAccessibilityTraversalAfter(int arg0)
|
void |
setAccessibilityTraversalBefore(int arg0)
|
void |
setActivated(부울 arg0)
|
void |
setAlpha(float arg0)
|
void |
setAnimation(Animation arg0)
|
void |
setAnimationMatrix(Matrix arg0)
|
void |
setAutofillHints(문자열... arg0)
|
void |
setAutofillId(AutofillId arg0)
|
void |
setBackground(Drawable arg0)
|
void |
setBackgroundColor(int arg0)
|
void |
setBackgroundDrawable(Drawable arg0)
|
void |
setBackgroundResource(int arg0)
|
void |
setBackgroundTintBlendMode(BlendMode arg0)
|
void |
setBackgroundTintList(ColorStateList arg0)
|
void |
setBackgroundTintMode(PorterDuff.Mode arg0)
|
최종 무효 |
setBottom(int arg0)
|
void |
setCameraDistance(float arg0)
|
void |
setClickable(불리언 인수 0)
|
void |
setClipBounds(Rect arg0)
|
void |
setClipToOutline(부울 arg0)
|
void |
setContentCaptureSession(ContentCaptureSession arg0)
|
void |
setContentDescription(CharSequence arg0)
|
void |
setContextClickable(부울 인수 0)
|
void |
setDefaultFocusHighlightEnabled(불리언 인수 0)
|
void |
setDrawingCacheBackgroundColor(int arg0)
|
void |
setDrawingCacheEnabled(부울 인수 0)
|
void |
setDrawingCacheQuality(int arg0)
|
void |
setDuplicateParentStateEnabled(부울 인수 0)
|
void |
setElevation(부동 소수점 수 인수 0)
|
void |
setEnabled(부울 인수 0)
|
void |
setFadingEdgeLength(int arg0)
|
void |
setFilterTouchesWhenObscured(부울 arg0)
|
void |
setFitsSystemWindows(부울 arg0)
|
void |
setFocusable(불리언 인수 0)
|
void |
setFocusable(int arg0)
|
void |
setFocusableInTouchMode(부울 arg0)
|
void |
setFocusedByDefault(부울 인수 0)
|
void |
setForceDarkAllowed(불리언 인수 0)
|
void |
setForeground(Drawable arg0)
|
void |
setForegroundGravity(int arg0)
|
void |
setForegroundTintBlendMode(BlendMode arg0)
|
void |
setForegroundTintList(ColorStateList arg0)
|
void |
setForegroundTintMode(PorterDuff.Mode arg0)
|
void |
setHapticFeedbackEnabled(부울 인수 0)
|
void |
setHasTransientState(부울 arg0)
|
void |
setHorizontalFadingEdgeEnabled(부울 arg0)
|
void |
setHorizontalScrollBarEnabled(부울 arg0)
|
void |
setHorizontalScrollbarThumbDrawable(Drawable arg0)
|
void |
setHorizontalScrollbarTrackDrawable(Drawable arg0)
|
void |
setHovered(불리언 인수 0)
|
void |
setId(int arg0)
|
void |
setImportantForAccessibility(int arg0)
|
void |
setImportantForAutofill(int arg0)
|
void |
setKeepScreenOn(부울 인수 0)
|
void |
setKeyboardNavigationCluster(불리언 인수 0)
|
void |
setLabelFor(int arg0)
|
void |
setLayerPaint(Paint arg0)
|
void |
setLayerType(int arg0, Paint arg1)
|
void |
setLayoutDirection(int arg0)
|
void |
setLayoutParams(ViewGroup.LayoutParams arg0)
|
최종 무효 |
setLeft(int arg0)
|
최종 무효 |
setLeftTopRightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable(부울 arg0)
|
최종 무효 |
setMeasuredDimension(int arg0, int arg1)
|
void |
setMinimumHeight(int arg0)
|
void |
setMinimumWidth(int arg0)
|
void |
setNestedScrollingEnabled(부울 arg0)
|
void |
setNextClusterForwardId(int arg0)
|
void |
setNextFocusDownId(int arg0)
|
void |
setNextFocusForwardId(int arg0)
|
void |
setNextFocusLeftId(int arg0)
|
void |
setNextFocusRightId(int arg0)
|
void |
setNextFocusUpId(int arg0)
|
void |
setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener arg0)
|
void |
setOnCapturedPointerListener(View.OnCapturedPointerListener arg0)
|
void |
setOnClickListener(View.OnClickListener arg0)
|
void |
setOnContextClickListener(View.OnContextClickListener arg0)
|
void |
setOnCreateContextMenuListener(View.OnCreateContextMenuListener arg0)
|
void |
setOnDragListener(View.OnDragListener arg0)
|
void |
setOnFocusChangeListener(View.OnFocusChangeListener arg0)
|
void |
setOnGenericMotionListener(View.OnGenericMotionListener arg0)
|
void |
setOnHoverListener(View.OnHoverListener arg0)
|
void |
setOnKeyListener(View.OnKeyListener arg0)
|
void |
setOnLongClickListener(View.OnLongClickListener arg0)
|
void |
setOnScrollChangeListener(View.OnScrollChangeListener arg0)
|
void |
setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListener arg0)
|
void |
setOnTouchListener(View.OnTouchListener arg0)
|
void |
setOutlineAmbientShadowColor(int arg0)
|
void |
setOutlineProvider(ViewOutlineProvider arg0)
|
void |
setOutlineSpotShadowColor(int arg0)
|
void |
setOverScrollMode(int arg0)
|
void |
setPadding(int arg0, int arg1, int arg2, int arg3)
|
void |
setPaddingRelative(int arg0, int arg1, int arg2, int arg3)
|
void |
setPivotX(부동 소수점 수 인수 0)
|
void |
setPivotY(부동 소수점 수 인수 0)
|
void |
setPointerIcon(PointerIcon arg0)
|
void |
setPressed(부울 arg0)
|
최종 무효 |
setRevealOnFocusHint(부울 arg0)
|
최종 무효 |
setRight(int arg0)
|
void |
setRotation(float arg0)
|
void |
setRotationX(float arg0)
|
void |
setRotationY(float arg0)
|
void |
setSaveEnabled(부울 인수 0)
|
void |
setSaveFromParentEnabled(부울 arg0)
|
void |
setScaleX(부동 소수점 수 인수 0)
|
void |
setScaleY(부동 소수점 수 인수 0)
|
void |
setScreenReaderFocusable(부울 arg0)
|
void |
setScrollBarDefaultDelayBeforeFade(int arg0)
|
void |
setScrollBarFadeDuration(int arg0)
|
void |
setScrollBarSize(int arg0)
|
void |
setScrollBarStyle(int arg0)
|
void |
setScrollContainer(부울 인수 0)
|
void |
setScrollIndicators(int arg0, int arg1)
|
void |
setScrollIndicators(int arg0)
|
void |
setScrollX(int arg0)
|
void |
setScrollY(int arg0)
|
void |
setScrollbarFadingEnabled(부울 arg0)
|
void |
setSelected(불리언 인수 0)
|
void |
setSoundEffectsEnabled(불리언 인수 0)
|
void |
setStateListAnimator(StateListAnimator arg0)
|
void | |
void |
setSystemUiVisibility(int arg0)
|
void |
setTag(int arg0, Object arg1)
|
void |
setTag(Object arg0)
|
void |
setTextAlignment(int arg0)
|
void |
setTextDirection(int arg0)
|
void |
setTooltipText(CharSequence arg0)
|
최종 무효 |
setTop(int arg0)
|
void |
setTouchDelegate(TouchDelegate arg0)
|
void |
setTransitionAlpha(float arg0)
|
최종 무효 |
setTransitionName(문자열 arg0)
|
void |
setTransitionVisibility(int arg0)
|
void |
setTranslationX(부동 소수점 수 인수 0)
|
void |
setTranslationY(float arg0)
|
void |
setTranslationZ(float arg0)
|
void |
setVerticalFadingEdgeEnabled(부울 arg0)
|
void |
setVerticalScrollBarEnabled(부울 arg0)
|
void |
setVerticalScrollbarPosition(int arg0)
|
void |
setVerticalScrollbarThumbDrawable(Drawable arg0)
|
void |
setVerticalScrollbarTrackDrawable(Drawable arg0)
|
void |
setVisibility(int arg0)
|
void |
setwillNotCacheDrawing(불리언 arg0)
|
void |
setwillNotDraw(부울 arg0)
|
void |
setX(부동 소수점 수 인수 0)
|
void |
setY(부동 소수점 수 인수 0)
|
void |
setZ(부동 소수점 수 인수 0)
|
boolean |
showContextMenu()
|
boolean |
showContextMenu(부동 소수점 인수 0, 부동 소수점 1)
|
작업 모드 |
startActionMode(ActionMode.Callback arg0, int arg1)
|
작업 모드 |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(Animation arg0)
|
최종 부울 | |
최종 부울 | |
boolean |
startNestedScroll(int arg0)
|
void |
stopNestedScroll()
|
문자열 |
toString
|
void |
transformMatrixToGlobal(Matrix arg0)
|
void |
transformMatrixToLocal(Matrix arg0)
|
void | |
void |
unscheduleDrawable(Drawable arg0)
|
최종 무효 |
updateDragShadow(View.DragShadowBuilder arg0)
|
boolean |
verifyDrawable(Drawable arg0)
|
boolean |
willNotCacheDrawing()
|
boolean |
willNotDraw()
|
추상 무효 |
doFrame(long arg0)
|
추상 무효 |
sendAccessibilityEvent(int arg0)
|
추상 무효 |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
공개 생성자
public Ar sceneView (Context 컨텍스트)
ArScenarioView 객체를 생성하고 Android 컨텍스트에 바인딩합니다.
렌더링이 올바르게 작동하려면 setupSession(Session)
를 호출해야 합니다.
매개변수
context | 사용할 Android 컨텍스트 |
---|
public Ar sceneView (Context 컨텍스트, AttributeSet 속성)
ArScenarioView 객체를 생성하고 Android 컨텍스트에 바인딩합니다.
렌더링이 올바르게 작동하려면 setupSession(Session)
를 호출해야 합니다.
매개변수
context | 사용할 Android 컨텍스트 |
---|---|
attrs | 연결할 Android AttributeSet |
참고 항목
공개 메서드
public Frame getArFrame ()
사용 가능한 경우 최신 ARCore Frame을 반환합니다. 프레임은 각 그리기 프레임의 시작 부분에서 업데이트됩니다. 이 메서드의 호출자는 반환 값 참조를 유지해서는 안 됩니다. 다음 프레임부터 ARCore 프레임을 사용하는 것이 유효하지 않기 때문입니다.
public int getCameraStreamRenderPriority ()
카메라 스트림 렌더링 순서를 제어하는 렌더링 우선순위를 가져옵니다. 우선순위는 0 (가장 먼저 렌더링됨)에서 7 (마지막으로 렌더링됨) 사이입니다.
기본값은 7이며, 이 경우 카메라 스트림이 마지막으로 렌더링됩니다. 오버드로를 방지하므로 성능에 가장 적합합니다. 그러나 머티리얼을 오클루전으로 사용할 때는 (예: 증강된 얼굴 샘플에서) 변경해야 합니다. 그 외의 경우 오클루전이 카메라 스트림을 가리고 검은색이 렌더링됩니다.
public boolean isEnvironmentalHdrLightingAvailable ()
ARCore 카메라가 Config.LightEstimationMode.ENVIRONMENTAL_HDR로 구성된 경우 true를 반환합니다. 환경 HDR 조명 모드가 사용 설정되면 결과로 생성된 빛 추정치가 장면 장면에 적용됩니다.
반환 값
- ARCore HDR 조명 추정이 사용 설정되어 있으므로 장면 조명에서 HDR 조명이 사용 설정된 경우 true입니다.
public boolean isLightDirectionUpdateEnabled ()
환경 HDR 조명 추정치에 따라 프레임마다 햇빛이 업데이트되는지 확인합니다.
반환 값
- 햇빛 방향이 프레임마다 업데이트되는 경우 true, 그렇지 않은 경우 false입니다.
public boolean isLightEstimationEnabled ()
반환 값
- 광도 추정이 사용 설정된 경우 true를 반환합니다.
public void pause ()
렌더링 스레드와 ARCore 세션을 일시중지합니다.
onPause()에서 호출해야 합니다.
public CompletableFuture<Void> pauseAsync (Executor 실행자)
렌더링 스레드와 ARCore 세션을 일시중지하는 비차단 호출
이는 onPause()에서 호출되어야 합니다.
다른 일시중지 또는 재개가 진행되는 동안 pauseAsync가 호출되면 일시중지가 큐에 추가되고 현재 작업이 완료된 후에 일시중지됩니다.
매개변수
실행자 |
---|
반환 값
- 일시중지의 기본 스레드에서 완료된
CompletableFuture
가 완료되었습니다. 재개가 불가능한 경우 향후 윌이 예외적으로 완료됩니다.
public void Resume ()
렌더링 스레드와 ARCore 세션을 재개합니다.
onResume()에서 호출해야 합니다.
예외 처리
CameraNotAvailableException | 카메라를 열 수 없는 경우 |
---|
public CompletableFuture<Void> ResumeAsync (Executor 실행자)
렌더링 스레드와 백그라운드에서 ARCore 세션을 재개하는 비차단 호출
onResume()에서 호출해야 합니다.
다른 일시중지 또는 재개가 진행되는 동안 호출되는 경우 현재 작업이 완료된 후 재개가 큐에 추가됩니다.
매개변수
실행자 |
---|
반환 값
- 재개가 완료되면 기본 스레드에서 CompletableFuture가 완료됩니다. 재개를 완료할 수 없는 경우 미래는 예외적으로 완료됩니다.
public void setCameraStreamRenderPriority (int 우선순위)
카메라 스트림을 렌더링하는 순서를 제어하도록 렌더링 우선순위를 설정합니다. 우선순위는 0 (가장 먼저 렌더링됨)에서 7 (마지막으로 렌더링됨) 사이입니다.
기본값은 7이며, 이 경우 카메라 스트림이 마지막으로 렌더링됩니다. 오버드로를 방지하므로 성능에 가장 적합합니다. 그러나 머티리얼을 오클루전으로 사용할 때는 (예: 증강된 얼굴 샘플에서) 변경해야 합니다. 그 외의 경우 오클루전이 카메라 스트림을 가리고 검은색이 렌더링됩니다.
매개변수
우선순위 |
---|
public void setLightDirectionUpdateEnabled (불리언 isLightDirectionUpdateEnabled)
환경 HDR 조명에서 생성된 햇빛 방향을 프레임마다 업데이트해야 하는지 설정합니다. false인 경우 빛 방향이 한 번 업데이트된 후 더 이상 변경되지 않습니다.
산만하거나 원치 않는 경우 그림자 방향 업데이트를 사용 중지하는 데 사용될 수 있습니다.
기본 상태는 true이며 프레임마다 햇빛 방향이 업데이트됩니다.
매개변수
isLightDirectionUpdateEnabled |
---|
public void setLightEstimationEnabled (불리언 사용 설정)
카메라 피드를 기반으로 빛 추정을 사용 설정합니다. 태양 간접광의 색상과 강도는 ARCore의 광도 추정에서 제공하는 값으로 조절됩니다. 장면의 작은 객체가 영향을 받습니다.
매개변수
사용 설정 | 밝기 추정을 사용 설정하려면 true로, 기본값인 픽셀 강도 1.0과 흰색의 색상 보정 값 (1.0, 1.0, 1.0)을 사용하려면 false로 설정하세요. |
---|
public void setupSession (Session 세션)
AR 세션으로 뷰 설정 ARCore 세션을 제공하려면 이 메서드를 한 번 호출해야 합니다. 렌더링이 발생하려면 세션이 필요합니다.
세션은 LATEST_CAMERA_IMAGE의 업데이트 모드로 구성되어야 합니다. 이 구성이 없으면 ARCore 세션을 업데이트하면 UI 스레드가 차단되고 UI 환경이 저하될 수 있습니다.
매개변수
session | 이 뷰에 사용할 ARCore 세션 |
---|