39 lines
828 B
C++
39 lines
828 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "GenePool.h"
|
|
#include "RegionAffiliationReader.h"
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
|
|
class IDNAReader;
|
|
|
|
namespace gs4
|
|
{
|
|
class PoolSpliceParams;
|
|
} // namespace gs4
|
|
|
|
|
|
class GENESPLICERMODULE_API FPoolSpliceParams
|
|
{
|
|
public:
|
|
~FPoolSpliceParams();
|
|
|
|
void SetDNAFilter(TArrayView<const uint16> DNAIndices);
|
|
void SetMeshFilter(TArrayView<const uint16> MeshIndices);
|
|
void SetSpliceWeights(uint16 DNAStartIndex, TArrayView<const float> Weights);
|
|
void SetScale(float scale);
|
|
uint16 GetDNACount() const;
|
|
uint16 GetRegionCount() const;
|
|
|
|
private:
|
|
friend class FSpliceData;
|
|
FPoolSpliceParams(gs4::PoolSpliceParams* PoolSpliceParams);
|
|
gs4::PoolSpliceParams* Unwrap() const;
|
|
|
|
private:
|
|
gs4::PoolSpliceParams* PoolSpliceParamsPtr;
|
|
};
|