gameuiPhotoModeStickersController
classnative
extends inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable
Properties 30
| Name | Type | Flags |
|---|---|---|
backgroundPrefabRef | NodeRef | overriding |
backgroundViewRoot | inkWidgetRef | scriptedprivate |
currentHovered | Int32 | scriptedprivate |
currentMouseDrag | Int32 | scriptedprivate |
currentMouseRotate | Int32 | scriptedprivate |
currentSticker | Int32 | scriptedprivate |
cursorInputEnabled | Bool | scriptedprivate |
editorEnabled | Bool | scriptedprivate |
frame | wref<inkWidget> | scriptedprivate |
frameLogic | wref<PhotoModeFrame> | scriptedprivate |
frameRoot | inkWidgetRef | scriptedprivate |
isInPhotoMode | Bool | scriptedprivate |
mouseDragCurrentPos | Vector2 | scriptedprivate |
mouseDragStartPos | Vector2 | scriptedprivate |
ResetStickers | inkEmptyCallback | overriding |
root | wref<inkCanvas> | scriptedprivate |
SetBackground | gameuiStickerBackgroundCallback | overriding |
SetFrameImage | gameuiStickerFrameCallback | overriding |
SetSetSelectedSticker | gameuiStickerCallback | overriding |
SetStickerImage | gameuiStickerImageCallback | overriding |
stickerDragStartPos | Vector2 | scriptedprivate |
stickerDragStartRotation | Float | scriptedprivate |
stickerDragStartScale | Vector2 | scriptedprivate |
stickerLibraryId | CName | scriptedprivate |
stickerMove | Vector2 | scriptedprivate |
stickerRotation | Float | scriptedprivate |
stickers | array<wref<inkWidget>> | scriptedprivate |
stickersAreaSize | Vector2 | scriptedprivate |
stickerScale | Float | scriptedprivate |
stickersRoot | inkWidgetRef | scriptedprivate |
Methods 28
protected final func AddFrame(libraryItem: CName) -> wref<inkWidget>scripted
protected final func AddSticker()scripted
protected final func DiffAngle(a: Float, b: Float) -> Floatscripted
protected cb func OnCursorInputEnabled(enable: Bool) -> Boolscripted
protected cb func OnDisableStickerEditor() -> Boolscripted
protected cb func OnEnableStickerEditor() -> Boolscripted
protected cb func OnEnterPhotoMode() -> Boolscripted
protected cb func OnExitPhotomode() -> Boolscripted
protected cb func OnForceStickerTransform(stickerIndex: Int32, position: Vector2, scale: Float, rotation: Float) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
native func OnMouseHover(stickerIndex: Int32)
protected cb func OnResetStickers() -> Boolscripted
protected cb func OnSetBackground(enabled: Bool) -> Boolscripted
protected cb func OnSetFrameImage(atlasPath: ResRef, imageParts: array<CName>, libraryItemName: CName, color: Color, flipHorizontal: Bool, flipVertical: Bool) -> Boolscripted
protected cb func OnSetSetSelectedSticker(stickerIndex: Int32) -> Boolscripted
protected cb func OnSetStickerImage(stickerIndex: Uint32, atlasPath: ResRef, imagePart: CName, imageIndex: Int32) -> Boolscripted
protected cb func OnStickersAxisInput(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnStickersButtonHold(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnStickersButtonPress(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnStickersButtonRelease(e: ref<inkPointerEvent>) -> Boolscripted
native func OnStickerTransformChanged(stickerIndex: Int32, stickerPosition: Vector2, stickerScale: Float, stickerRotation: Float)
protected cb func OnUninitialize() -> Boolscripted
protected cb func OnUpdateStickers(timeDelta: Float) -> Boolscripted
protected final func ResetState()scripted
protected final func ResetStickerCursorState()scripted
protected final func RotateScaleSticker(sticker: ref<inkWidget>)scripted
public final func StickerHoveredByMouse(sticker: wref<inkWidget>)scripted
public final func StickerHoveredOutByMouse(sticker: wref<inkWidget>)scripted