unreal.PCGLandscapeDataProps

class unreal.PCGLandscapeDataProps(get_height_only: bool = False, get_layer_weights: bool = False, get_actor_reference: bool = False, get_physical_material: bool = False, get_component_coordinates: bool = False, sample_virtual_textures: bool = False, sample_virtual_texture_normals: bool = False)

Bases: StructBase

PCGLandscape Data Props

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGLandscapeData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • get_actor_reference (bool): [Read-Write] Controls whether the points from this landscape will return the actor from which they originate (e.g. which Landscape Proxy)

  • get_component_coordinates (bool): [Read-Write] Controls whether the component coordinates will be added the point as attributes (‘CoordinateX’, ‘CoordinateY’)

  • get_height_only (bool): [Read-Write] Controls whether the points projected on the landscape will return the normal/tangent (if false) or only the position (if true)

  • get_layer_weights (bool): [Read-Write] Controls whether data from landscape layers will be retrieved (turning it off is an optimization if that data is not needed)

  • get_physical_material (bool): [Read-Write] Controls whether the points from the landscape will have their physical material added as the “PhysicalMaterial” attribute

  • sample_virtual_texture_normals (bool): [Read-Write] Controls whether the landscape will try to sample normals from a normals virtual texture (if it exists), otherwise computes normals from multiple height samples. Only relevant to GPU sampling. Note that normal virtual textures may be detail normals and not match the actual landscape surface normals, so enable this with caution. Requires bSampleVirtualTextures to be true.

  • sample_virtual_textures (bool): [Read-Write] Controls whether the landscape will try to sample from the landscape virtual textures (if they exist). Only relevant to GPU sampling.

property get_actor_reference: bool

[Read-Write] Controls whether the points from this landscape will return the actor from which they originate (e.g. which Landscape Proxy)

Type:

(bool)

property get_component_coordinates: bool

[Read-Write] Controls whether the component coordinates will be added the point as attributes (‘CoordinateX’, ‘CoordinateY’)

Type:

(bool)

property get_height_only: bool

[Read-Write] Controls whether the points projected on the landscape will return the normal/tangent (if false) or only the position (if true)

Type:

(bool)

property get_layer_weights: bool

[Read-Write] Controls whether data from landscape layers will be retrieved (turning it off is an optimization if that data is not needed)

Type:

(bool)

property get_physical_material: bool

[Read-Write] Controls whether the points from the landscape will have their physical material added as the “PhysicalMaterial” attribute

Type:

(bool)

property sample_virtual_texture_normals: bool

[Read-Write] Controls whether the landscape will try to sample normals from a normals virtual texture (if it exists), otherwise computes normals from multiple height samples. Only relevant to GPU sampling. Note that normal virtual textures may be detail normals and not match the actual landscape surface normals, so enable this with caution. Requires bSampleVirtualTextures to be true.

Type:

(bool)

property sample_virtual_textures: bool

[Read-Write] Controls whether the landscape will try to sample from the landscape virtual textures (if they exist). Only relevant to GPU sampling.

Type:

(bool)