REDNODE / GAME API

inkWidget

classnative

extends IScriptable › ISerializable

Extended by 2 types

inkCompoundWidget inkLeafWidget

Properties 20

NameTypeFlags
affectsLayoutWhenHiddenBooloverriding
canSupportFocusBooloverriding
effectsarray<ref<inkIEffect>>overriding
fitToContentBooloverriding
isInteractiveBooloverriding
layoutinkWidgetLayoutoverriding
logicControllerref<inkLogicController>overriding
nameCNameoverriding
opacityFloatoverriding
parentWidgetwref<inkWidget>overriding
propertyManagerref<inkPropertyManager>overriding
renderTransforminkUITransformoverriding
renderTransformPivotVector2overriding
secondaryControllersarray<ref<inkLogicController>>overriding
sizeVector2overriding
stateCNameoverriding
styleref<inkStyleResourceWrapper>overriding
tintColorHDRColoroverriding
userDataarray<ref<inkUserData>>overriding
visibleBooloverriding

Methods 91

native func BindProperty(propertyName: CName, stylePath: CName) -> Bool
native func CallCustomCallback(eventName: CName)
native func ChangeTranslation(translationVector: Vector2)
native func DisableAllEffectsByType(effectType: inkEffectType)
native func FlagForVisualInvalidation()
native func GatherUserData(userDataTypeName: CName, userDataCollection: array<ref<inkUserData>>)
native func GetAffectsLayoutWhenHidden() -> Bool
native func GetAnchor() -> inkEAnchor
native func GetAnchorPoint() -> Vector2
native func GetController() -> wref<inkLogicController>
native func GetControllerByBaseType(controllerType: CName) -> wref<inkLogicController>
native func GetControllerByType(controllerType: CName) -> wref<inkLogicController>
native func GetControllers() -> array<wref<inkLogicController>>
native func GetControllersByType(controllerType: CName) -> array<wref<inkLogicController>>
public final func GetDesiredHeight() -> Floatscripted
native func GetDesiredSize() -> Vector2
public final func GetDesiredWidth() -> Floatscripted
native func GetEffectEnabled(effectType: inkEffectType, effectName: CName) -> Bool
native func GetEffectParamValue(effectType: inkEffectType, effectName: CName, paramName: CName) -> Float
native func GetFitToContent() -> Bool
native func GetHAlign() -> inkEHorizontalAlign
public final func GetHeight() -> Floatscripted
native func GetMargin() -> inkMargin
native func GetName() -> CName
native func GetNumControllers() -> Int32
native func GetNumControllersOfType(controllerType: CName) -> Int32
native func GetOpacity() -> Float
native func GetPadding() -> inkMargin
native func GetRenderTransformPivot() -> Vector2
native func GetRotation() -> Float
native func GetScale() -> Vector2
native func GetShear() -> Vector2
native func GetSize() -> Vector2
native func GetSizeCoefficient() -> Float
native func GetSizeRule() -> inkESizeRule
native func GetState() -> CName
native func GetStylePath() -> ResRef
native func GetTintColor() -> HDRColor
native func GetTranslation() -> Vector2
native func GetUserData(userDataTypeName: CName) -> ref<inkUserData>
native func GetUserDataArray(userDataTypeName: CName) -> array<ref<inkUserData>>
native func GetUserDataObjectCount(userDataTypeName: CName) -> Uint32
native func GetVAlign() -> inkEVerticalAlign
public final func GetWidth() -> Floatscripted
native func HasUserDataObject(userDataTypeName: CName) -> Bool
native func IsInteractive() -> Bool
native func IsVisible() -> Bool
native func PlayAnimation(animationDefinition: ref<inkAnimDef>) -> ref<inkAnimProxy>
native func PlayAnimationWithOptions(animationDefinition: ref<inkAnimDef>, playbackOptions: inkAnimOptions) -> ref<inkAnimProxy>
native func RegisterToCallback(eventName: CName, object: ref<IScriptable>, functionName: CName)
native func Reparent(newParent: wref<inkCompoundWidget>, opt index: Int32)
native func SetAffectsLayoutWhenHidden(affectsLayoutWhenHidden: Bool)
native func SetAnchor(anchor: inkEAnchor)
native func SetAnchorPoint(anchorPoint: Vector2)
public final func SetAnchorPoint(x: Float, y: Float)scripted
native func SetEffectEnabled(effectType: inkEffectType, effectName: CName, enabled: Bool)
native func SetEffectParamValue(effectType: inkEffectType, effectName: CName, paramName: CName, paramValue: Float) -> Float
native func SetFitToContent(fitToContent: Bool)
native func SetHAlign(hAlign: inkEHorizontalAlign)
public final func SetHeight(height: Float)scripted
native func SetInteractive(value: Bool)
native func SetLayout(layout: inkWidgetLayout)
native func SetMargin(margin: inkMargin)
public final func SetMargin(left: Float, top: Float, right: Float, bottom: Float)scripted
native func SetName(widgetName: CName)
native func SetOpacity(opacity: Float)
native func SetPadding(padding: inkMargin)
public final func SetPadding(left: Float, top: Float, right: Float, bottom: Float)scripted
native func SetRenderTransformPivot(pivot: Vector2)
public final func SetRenderTransformPivot(x: Float, y: Float)scripted
native func SetRotation(angleInDegrees: Float)
native func SetScale(scale: Vector2)
native func SetShear(shear: Vector2)
native func SetSize(size: Vector2)
public final func SetSize(width: Float, height: Float)scripted
native func SetSizeCoefficient(sizeCoefficient: Float)
native func SetSizeRule(sizeRule: inkESizeRule)
native func SetState(state: CName)
native func SetStyle(styleResPath: ResRef)
native func SetTintColor(color: HDRColor)
public final func SetTintColor(color: Color)scripted
public final func SetTintColor(r: Uint8, g: Uint8, b: Uint8, a: Uint8)scripted
native func SetTranslation(translationVector: Vector2)
public final func SetTranslation(x: Float, y: Float)scripted
native func SetVAlign(vAlign: inkEVerticalAlign)
native func SetVisible(visible: Bool)
public final func SetWidth(width: Float)scripted
native func StopAllAnimations()
native func UnbindProperty(propertyName: CName) -> Bool
native func UnregisterFromCallback(eventName: CName, object: ref<IScriptable>, functionName: CName)
public final func UpdateMargin(left: Float, top: Float, right: Float, bottom: Float)scripted