Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
UCesiumPropertyTextureBlueprintLibrary Class Reference

#include <CesiumPropertyTexture.h>

Inheritance diagram for UCesiumPropertyTextureBlueprintLibrary:

Static Public Member Functions

static const ECesiumPropertyTextureStatus GetPropertyTextureStatus (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture)
 Gets the status of the property texture.
 
static const FString & GetPropertyTextureName (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture)
 Gets the name of the property texture.
 
static const TMap< FString, FCesiumPropertyTexturePropertyGetProperties (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture)
 Gets all the properties of the property texture, mapped by property name.
 
static const TArray< FString > GetPropertyNames (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture)
 Gets the names of the properties in this property texture.
 
static const FCesiumPropertyTexturePropertyFindProperty (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture, const FString &PropertyName)
 Retrieve a FCesiumPropertyTextureProperty by name.
 
static TMap< FString, FCesiumMetadataValueGetMetadataValuesForUV (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture, const FVector2D &UV)
 Gets all of the property values at the given texture coordinates, mapped by property name.
 
static TMap< FString, FCesiumMetadataValueGetMetadataValuesFromHit (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture, const FHitResult &Hit)
 Given a trace hit result, gets all of the property values from property texture on the hit component, mapped by property name.
 

Detailed Description

Definition at line 62 of file CesiumPropertyTexture.h.

Member Function Documentation

◆ FindProperty()

static const FCesiumPropertyTextureProperty & UCesiumPropertyTextureBlueprintLibrary::FindProperty ( UPARAM(ref) const FCesiumPropertyTexture & PropertyTexture,
const FString & PropertyName )
static

Retrieve a FCesiumPropertyTextureProperty by name.

If the property texture does not contain a property with that name, this returns an invalid FCesiumPropertyTextureProperty.

Parameters
PropertyTextureThe property texture.
PropertyNameThe name of the property to find.

◆ GetMetadataValuesForUV()

static TMap< FString, FCesiumMetadataValue > UCesiumPropertyTextureBlueprintLibrary::GetMetadataValuesForUV ( UPARAM(ref) const FCesiumPropertyTexture & PropertyTexture,
const FVector2D & UV )
static

Gets all of the property values at the given texture coordinates, mapped by property name.

This will only include values from valid property texture properties.

In EXT_structural_metadata, individual properties can specify different texture coordinate sets to be sampled from. This method uses the same coordinates to sample each property, regardless of its intended texture coordinate set. Use GetMetadataValuesForHit instead to sample the property texture's properties with their respective texture coordinate sets.

Parameters
PropertyTextureThe property texture.
UVThe texture coordinates.
Returns
The property values mapped by property name.

◆ GetMetadataValuesFromHit()

static TMap< FString, FCesiumMetadataValue > UCesiumPropertyTextureBlueprintLibrary::GetMetadataValuesFromHit ( UPARAM(ref) const FCesiumPropertyTexture & PropertyTexture,
const FHitResult & Hit )
static

Given a trace hit result, gets all of the property values from property texture on the hit component, mapped by property name.

This will only include values from valid property texture properties.

In EXT_structural_metadata, individual properties can specify different texture coordinate sets to be sampled from. This method uses the corresponding texture coordinate sets to sample each property.

Parameters
PropertyTextureThe property texture.
HitThe trace hit result
Returns
The property values mapped by property name.

◆ GetProperties()

static const TMap< FString, FCesiumPropertyTextureProperty > UCesiumPropertyTextureBlueprintLibrary::GetProperties ( UPARAM(ref) const FCesiumPropertyTexture & PropertyTexture)
static

Gets all the properties of the property texture, mapped by property name.

Parameters
PropertyTextureThe property texture.

◆ GetPropertyNames()

static const TArray< FString > UCesiumPropertyTextureBlueprintLibrary::GetPropertyNames ( UPARAM(ref) const FCesiumPropertyTexture & PropertyTexture)
static

Gets the names of the properties in this property texture.

If the property texture is invalid, this returns an empty array.

Parameters
PropertyTextureThe property texture.

◆ GetPropertyTextureName()

static const FString & UCesiumPropertyTextureBlueprintLibrary::GetPropertyTextureName ( UPARAM(ref) const FCesiumPropertyTexture & PropertyTexture)
static

Gets the name of the property texture.

Parameters
PropertyTextureThe property texture.

◆ GetPropertyTextureStatus()

static const ECesiumPropertyTextureStatus UCesiumPropertyTextureBlueprintLibrary::GetPropertyTextureStatus ( UPARAM(ref) const FCesiumPropertyTexture & PropertyTexture)
static

Gets the status of the property texture.

If the property texture is invalid in any way, this briefly indicates why.

Parameters
PropertyTextureThe property texture.

The documentation for this class was generated from the following file: