unreal.VirtualTextureBuilder

class unreal.VirtualTextureBuilder(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Container 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)

  • enable_cook_per_platform (PerPlatformBool): [Read-Write] Per platform overrides for cooking the virtual texture.

  • separate_texture_for_mobile (bool): [Read-Write] Whether to use a separate texture for Mobile rendering. A separate texure will be built using mobile preview editor mode

  • texture (VirtualTexture2D): [Read-Only] The UTexture object.

  • texture_mobile (VirtualTexture2D): [Read-Only] The UTexture object for Mobile rendering.

property texture: VirtualTexture2D

[Read-Only] The UTexture object.

Type:

(VirtualTexture2D)

property texture_mobile: VirtualTexture2D

[Read-Only] The UTexture object for Mobile rendering.

Type:

(VirtualTexture2D)