Skip to main content

PressableComponent

PressableComponent

Overview needed


Constructor

protected PressableComponent

new PressableComponent(inputPortCount, outputPortCount, size, pSize)

*Description needed*

Parameters

  •  inputPortCount: ClampedValueDescription needed

  •  outputPortCount: ClampedValueDescription needed

  •  size: VectorDescription needed

  •  pSize: VectorDescription needed


Properties

No publicly accessible properties on PressableComponent

protected pressTransform: Transform

Description needed


Methods

public press

press() => void

Description needed

public click

click() => void

Description needed

public release

release() => void

Description needed

public isWithinPressBounds

isWithinPressBounds(v) => false | true

Determines whether or not a point is within this component's "pressable" bounds.

Parameters

  •  v: Vector – The point.

Returns

  •   false | true – True if the point is within this component, false otherwise.

public isWithinSelectBounds

isWithinSelectBounds(v) => false | true

Description needed

Parameters

  •  v: VectorDescription needed

Returns

  •   false | trueDescription needed

public getPressableBox

getPressableBox() => Transform

Description needed

Returns

  •   TransformDescription needed

public getMinPos

getMinPos() => Vector

Description needed

Returns

  •   VectorDescription needed

public getMaxPos

getMaxPos() => Vector

Description needed

Returns

  •   VectorDescription needed

Static Methods

No static methods for PressableComponent