The '''DocumentPageTexture''' component generates texture data using a document file like a PDF which can be displayed using a [[material]] in a [[Component:MeshRenderer]] or [[UIX]].
This component is auto generated as part of a document viewer when importing PDF files. Simply import a PDF file into the game to generate a viewer that uses this component as part of how it works.
Document Page Texture component as seen in the Scene Inspector
The DocumentPageTexture component generates texture data using a document file like a PDF which can be displayed using a material in a Component:MeshRenderer or UIX.
If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
BakeTexture first generates a Component:StaticTexture2D that is the same as this procedural texture. The resulting static texture replaces every reference to the original procedural texture. Lastly the original procedural texture is deleted.
Usage
This component is auto generated as part of a document viewer when importing PDF files. Simply import a PDF file into the game to generate a viewer that uses this component as part of how it works.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.