Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Sampling
Inheritance Hierarchy
- FMeshBaseBaker
- FMeshVertexBaker
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshVertexBaker.h |
| Include | #include "Sampling/MeshVertexBaker.h" |
Syntax
class FMeshVertexBaker : public UE::Geometry::FMeshBaseBaker
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FMeshMapEvaluator::FEvaluationContext > | BakeContexts | Evaluation contexts for each mesh evaluator. | |
| FVector4f | BakeDefaults | Internal cached default bake data. | |
| BakeFn | BakeInternal | ||
| EBakeMode | BakeMode | ||
| TUniquePtr< TImageBuilder< FVector4f > > | BakeResult | Bake output image. | |
| TArray< FMeshMapEvaluator * > | Bakers | Internal list of bake evaluators. | |
| int32 | BakeSampleBufferSize | The total size of the temporary float buffer for BakeSample. | |
| const bool | bParallel | ||
| TFunction< bool(void)> | CancelF | If this function returns true, we should abort calculation | |
| TSharedPtr< FMeshMapEvaluator, ESPMode::ThreadSafe >[4] | ChannelEvaluators | Evaluators to use for per channel (RGBA) bakes | |
| TSharedPtr< FMeshMapEvaluator, ESPMode::ThreadSafe > | ColorEvaluator | Evaluator to use for full color bakes | |
| FImageDimensions | Dimensions | Internally cached image dimensions proportional to the number of unique vertex color elements. | |
| double | TotalBakeDuration | Analytics |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Bake () |
BakeProcess all bakers to generate the image result. | |
| void | BakeImpl
(
void* Data |
ParametersTemplate bake implementation. | |
| const TImageBuilder< FVector4f > * |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EBakeMode |
Typedefs
| Name | Description |
|---|---|
| BakeFn | Function pointer to internal bake implementation. |
Constants
| Name | Description |
|---|---|
| OneEvaluator | |
| ZeroEvaluator | Constant evaluator for empty channels. |