unreal.VirtualTextureBuilder¶
- class unreal.VirtualTextureBuilder(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectContainer for a UVirtualTexture2D that can be built from a FVirtualTextureBuildDesc description. This has a simple BuildTexture() interface but we may want to extend in the future to support partial builds or other more blueprint driven approaches for data generation.
C++ Source:
Module: Engine
File: VirtualTextureBuilder.h
Editor Properties: (see get_editor_property/set_editor_property)
separate_texture_for_mobile(bool): [Read-Write] Whether to use a separate texture for Mobile rendering. A separate texture will be built using mobile preview editor mode. Use this in case there is too much discrepancy between the RVT used for desktop vs. mobile.texture(VirtualTexture2D): [Read-Only] The (embedded) texture asset. Use Build Virtual Textures in the Build menu, or the Build button in the Runtime Virtual Texture Component to create/update it.texture_mobile(VirtualTexture2D): [Read-Only] The (embedded) texture asset for mobile rendering. Use Build Virtual Textures or the Build button in the Runtime Virtual Texture Component to create/update it.
- property texture: VirtualTexture2D¶
[Read-Only] The (embedded) texture asset. Use Build Virtual Textures in the Build menu, or the Build button in the Runtime Virtual Texture Component to create/update it.
- Type:
- property texture_mobile: VirtualTexture2D¶
[Read-Only] The (embedded) texture asset for mobile rendering. Use Build Virtual Textures or the Build button in the Runtime Virtual Texture Component to create/update it.
- Type: