CREATOR
: final Creator< VolumetricWindowTransaction > | Parcelable.Creator that reconstructs instances from a Parcel.
Signature
final Creator<VolumetricWindowTransaction> metavr.app.volumetricwindow.VolumetricWindowTransaction.CREATOR |
describeContents
()
|
Describes the special objects contained in this parcelable; always 0.
Signature
int metavr.app.volumetricwindow.VolumetricWindowTransaction.describeContents() Returns int |
toString
()
|
Returns a debug string representation of this object.
Signature
String metavr.app.volumetricwindow.VolumetricWindowTransaction.toString() Returns String |
writeToParcel
(
dest
, flags
)
|
Flattens this object into the given Parcel.
Signature
void metavr.app.volumetricwindow.VolumetricWindowTransaction.writeToParcel(Parcel dest, int flags) Parameters dest: Parcelflags: intReturns void |
Builder
()
|
Creates a new Builder.
Signature
metavr.app.volumetricwindow.VolumetricWindowTransaction.Builder.Builder() |
build
()
|
Builds the transaction.
The builder cannot be reused.
Signature
VolumetricWindowTransaction metavr.app.volumetricwindow.VolumetricWindowTransaction.Builder.build() Returns VolumetricWindowTransaction |
remove
(
windowToken
)
|
Removes a volumetric window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowTransaction.Builder.remove(VolumetricWindowToken windowToken) Parameters windowToken: VolumetricWindowToken
token of the window to remove
Returns Builder |
setLayoutParams
(
windowToken
, layoutParams
)
|
Sets VolumetricWindowLayoutParams of a volumetric window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowTransaction.Builder.setLayoutParams(VolumetricWindowToken windowToken, VolumetricWindowLayoutParams layoutParams) Parameters Returns Builder |
setSize
(
windowToken
, size
)
|
Resizes a volumetric window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowTransaction.Builder.setSize(VolumetricWindowToken windowToken, Size size) Parameters windowToken: VolumetricWindowToken
token of the window to resize
size: Size
desired size for the backing surface
Returns Builder |
setSurface
(
windowToken
, renderSurface
)
|
Sets the backing surface of a volumetric window.
Sending this transaction is not required to get single pass composition. A window whose single pass composition state is enabled is single pass by default; a SpatialWindowManager that never sends a surface for it must still get a rendering panel. Passing a non-null surface is the explicit opt-out \u2014 it moves the window onto the mirror path. Passing null keeps it on the single pass path.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowTransaction.Builder.setSurface(VolumetricWindowToken windowToken, Surface renderSurface) Parameters windowToken: VolumetricWindowToken
token of the window to set surface on
renderSurface: Surface
backing
Returns Builder |
setVisible
(
windowToken
, visible
)
|
Sets visibility of a volumetric window.
Signature
Builder metavr.app.volumetricwindow.VolumetricWindowTransaction.Builder.setVisible(VolumetricWindowToken windowToken, boolean visible) Parameters windowToken: VolumetricWindowToken
token of the window to set visibility on
visible: boolean
visibility of the window
Returns Builder |