GitHub
Pixels Website
Preparing search index...
The search index is not available
Documentation
Documentation
@systemic-games/react-native-pixels-connect
VirtualDie
Class VirtualDie
Index
Constructors
constructor
Properties
die
Type
face
Count
led
Count
top
Face
Accessors
current
Face
Methods
try
Roll
Constructors
constructor
new
Virtual
Die
(
dieType
?
)
:
VirtualDie
Parameters
Optional
dieType
:
|
"unknown"
|
"d4"
|
"d6"
|
"d8"
|
"d10"
|
"d00"
|
"d12"
|
"d20"
|
"d6pipped"
|
"d6fudge"
Returns
VirtualDie
Properties
Readonly
die
Type
die
Type
:
|
"unknown"
|
"d4"
|
"d6"
|
"d8"
|
"d10"
|
"d00"
|
"d12"
|
"d20"
|
"d6pipped"
|
"d6fudge"
Readonly
face
Count
face
Count
:
number
Readonly
led
Count
led
Count
:
number
Readonly
top
Face
top
Face
:
number
Accessors
current
Face
get
currentFace
(
)
:
number
Returns
number
Methods
try
Roll
try
Roll
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
die
Type
face
Count
led
Count
top
Face
Accessors
current
Face
Methods
try
Roll
GitHub
Pixels Website
Documentation
Loading...