public static enum Interaction.CaptureMode extends Enum<Interaction.CaptureMode>
Interaction.capture().| Enum Constant and Description |
|---|
ABOVE
Events are sent to the capturing layer and its parents.
|
BELOW
Events are sent to the capturing layer and its children.
|
ONLY
Events are only sent to the capturing layer.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
allow(playn.scene.Interaction.Depth depth) |
static Interaction.CaptureMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interaction.CaptureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interaction.CaptureMode ONLY
public static final Interaction.CaptureMode ABOVE
public static final Interaction.CaptureMode BELOW
public static Interaction.CaptureMode[] values()
for (Interaction.CaptureMode c : Interaction.CaptureMode.values()) System.out.println(c);
public static Interaction.CaptureMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract boolean allow(playn.scene.Interaction.Depth depth)
Copyright © 2017. All Rights Reserved.