#include <CesiumPropertyTexture.h>
|
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, FCesiumPropertyTextureProperty > | GetProperties (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 FCesiumPropertyTextureProperty & | FindProperty (UPARAM(ref) const FCesiumPropertyTexture &PropertyTexture, const FString &PropertyName) |
| Retrieve a FCesiumPropertyTextureProperty by name.
|
|
static TMap< FString, FCesiumMetadataValue > | GetMetadataValuesForUV (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, FCesiumMetadataValue > | GetMetadataValuesFromHit (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.
|
|
Definition at line 62 of file CesiumPropertyTexture.h.
◆ FindProperty()
◆ GetMetadataValuesForUV()
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
-
PropertyTexture | The property texture. |
UV | The texture coordinates. |
- Returns
- The property values mapped by property name.
◆ GetMetadataValuesFromHit()
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
-
PropertyTexture | The property texture. |
Hit | The trace hit result |
- Returns
- The property values mapped by property name.
◆ GetProperties()
Gets all the properties of the property texture, mapped by property name.
- Parameters
-
PropertyTexture | The 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
-
PropertyTexture | The property texture. |
◆ GetPropertyTextureName()
static const FString & UCesiumPropertyTextureBlueprintLibrary::GetPropertyTextureName |
( |
UPARAM(ref) const FCesiumPropertyTexture & | PropertyTexture | ) |
|
|
static |
Gets the name of the property texture.
- Parameters
-
PropertyTexture | The property texture. |
◆ GetPropertyTextureStatus()
Gets the status of the property texture.
If the property texture is invalid in any way, this briefly indicates why.
- Parameters
-
PropertyTexture | The property texture. |
The documentation for this class was generated from the following file: