kyd
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
kyd
kyd-core
/
uk.co.nickthecoder.kyd
/
TouchingPixel
Touching
Pixel
class
TouchingPixel
(
val
alphaThreshold
:
Float
)
:
Touching
Returns true iff the pixel at the given point has a alpha value
alphaThreshold
.
Members
Constructors
Touching
Pixel
Link copied to clipboard
constructor
(
alphaThreshold
:
Float
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
alpha
Threshold
Link copied to clipboard
val
alphaThreshold
:
Float
Functions
touching
Link copied to clipboard
open
override
fun
touching
(
actor
:
Actor
,
localPoint
:
Vector2
)
:
Boolean