UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FInstancedSkinnedMeshSceneProxyDesc Struct Reference

#include <InstancedSkinnedMeshSceneProxyDesc.h>

+ Inheritance diagram for FInstancedSkinnedMeshSceneProxyDesc:

Public Member Functions

ENGINE_API FInstancedSkinnedMeshSceneProxyDesc (const UInstancedSkinnedMeshComponent *InComponent)
 
 FInstancedSkinnedMeshSceneProxyDesc ()=default
 
ENGINE_API void InitializeFromInstancedSkinnedMeshComponent (const UInstancedSkinnedMeshComponent *InComponent)
 
- Public Member Functions inherited from FSkinnedMeshSceneProxyDesc
 FSkinnedMeshSceneProxyDesc ()=default
 
ENGINE_API FSkinnedMeshSceneProxyDesc (const USkinnedMeshComponent *Component)
 
ENGINE_API void InitializeFromSkinnedMeshComponent (const USkinnedMeshComponent *)
 
ENGINE_API USkinnedAssetGetSkinnedAsset () const
 
ENGINE_API UPhysicsAssetGetPhysicsAsset () const
 
ENGINE_API bool ShouldDrawDebugSkeleton () const
 
ENGINE_API const TOptional< FLinearColor > & GetDebugDrawColor () const
 
ENGINE_API void GetPreSkinnedLocalBounds (FBoxSphereBounds &OutBounds) const
 
ENGINE_API UMaterialInterfaceGetMaterial (int32 MaterialIndex) const
 
ENGINE_API int32 GetBoneIndex (FName BoneName) const
 
ENGINE_API FMaterialRelevance GetMaterialRelevance (ERHIFeatureLevel::Type InFeatureLevel) const
 
ENGINE_API FMaterialRelevance GetMaterialRelevance (EShaderPlatform InShaderPlatform) const
 
ENGINE_API float GetOverlayMaterialMaxDrawDistance () const
 
ENGINE_API UMaterialInterfaceGetOverlayMaterial () const
 
void GetMaterialSlotsOverlayMaterial (TArray< TObjectPtr< UMaterialInterface > > &OutMaterialSlotsOverlayMaterial) const
 
virtual ENGINE_API void GetUsedMaterials (TArray< UMaterialInterface * > &OutMaterials, bool bGetDebugMaterials=false) const override
 
FVector GetComponentScale () const
 
int32 GetPredictedLODLevel () const
 
float GetMaxDistanceFactor () const
 
void SetLODInfo (TArrayView< const FSkelMeshComponentLODInfo > InLODInfo)
 
bool ShouldCPUSkin () const
 
ENGINE_API bool ShouldNaniteSkin () const
 
ENGINE_API bool HasValidNaniteData () const
 
ENGINE_API bool IsSkinCacheAllowed (int32 LodIdx) const
 
ENGINE_API UMeshDeformerInstanceGetMeshDeformerInstance () const
 
ENGINE_API UMeshDeformerInstanceGetMeshDeformerInstanceForLOD (int32 LODIndex) const
 
void InitializeFrom (const USkinnedMeshComponent *InComponent)
 
- Public Member Functions inherited from FPrimitiveSceneProxyDesc
ENGINE_API FPrimitiveSceneProxyDesc ()
 
ENGINE_API FPrimitiveSceneProxyDesc (const UPrimitiveComponent *)
 
virtual ENGINE_API ~FPrimitiveSceneProxyDesc ()
 
ENGINE_API void InitializeFromPrimitiveComponent (const UPrimitiveComponent *)
 
bool IsVisible () const
 
bool IsVisibleEditor () const
 
bool ShouldRenderSelected () const
 
bool IsComponentIndividuallySelected () const
 
ESceneDepthPriorityGroup GetStaticDepthPriorityGroup () const
 
bool HasStaticLighting () const
 
bool IsCollisionEnabled () const
 
bool IsPrecomputedLightingValid () const
 
bool HasValidSettingsForStaticLighting () const
 
bool GetShadowIndirectOnly () const
 
bool GetLevelInstanceEditingState () const
 
bool IsHidden () const
 
bool IsOwnerEditorOnly () const
 
bool ShouldRenderProxyFallbackToDefaultMaterial () const
 
bool SupportsWorldPositionOffsetVelocity () const
 
bool IsFirstPersonRelevant () const
 
int32 GetRayTracingGroupId () const
 
FSceneInterfaceGetScene () const
 
const FCustomPrimitiveDataGetCustomPrimitiveData () const
 
TArrayView< URuntimeVirtualTexture * > GetRuntimeVirtualTextures () const
 
ERuntimeVirtualTextureMainPassType GetVirtualTextureRenderPassType () const
 
float GetVirtualTextureMainPassMaxDrawDistance () const
 
const UObjectAdditionalStatObject () const
 
TStatId GetStatID (bool bForDeferredUse=false) const
 
IPrimitiveComponentGetPrimitiveComponentInterface () const
 
UWorldGetWorld () const
 
FPrimitiveComponentId GetPrimitiveSceneId () const
 
UObjectGetOwner () const
 
template<class T >
T * GetOwner () const
 
ULevelGetLevel () const
 
FString GetPathName () const
 
FName GetMeshDrawCommandStatsCategory () const
 
bool IsStaticMeshFirstPersonRelevant () const
 
ULevelGetComponentLevel () const
 

Static Public Member Functions

static ENGINE_API FSkeletalMeshObjectCreateMeshObject (const FInstancedSkinnedMeshSceneProxyDesc &Desc, FSkeletalMeshRenderData *InRenderData, ERHIFeatureLevel::Type InFeatureLevel)
 
static ENGINE_API FPrimitiveSceneProxyCreateSceneProxy (const FInstancedSkinnedMeshSceneProxyDesc &Desc, bool bHideSkin, bool bShouldNaniteSkin, bool bIsEnabled, int32 MinLODIndex)
 
- Static Public Member Functions inherited from FSkinnedMeshSceneProxyDesc
static ENGINE_API FSkeletalMeshObjectCreateMeshObject (const FSkinnedMeshSceneProxyDesc &Desc)
 
static ENGINE_API FPrimitiveSceneProxyCreateSceneProxy (const FSkinnedMeshSceneProxyDesc &Desc, bool bHideSkin, int32 MinLODIndex)
 

Public Attributes

TSharedPtr< FInstanceDataSceneProxy, ESPMode::ThreadSafeInstanceDataSceneProxy
 
TObjectPtr< class UTransformProviderDataTransformProvider
 
float AnimationMinScreenSize = 0.0f
 
int32 InstanceMinDrawDistance = 0
 
int32 InstanceStartCullDistance = 0
 
int32 InstanceEndCullDistance = 0
 
- Public Attributes inherited from FSkinnedMeshSceneProxyDesc
TOptional< FLinearColorDebugDrawColor
 
FMaterialRelevance MaterialRelevance {}
 
TArrayView< const FSkelMeshComponentLODInfoLODInfo
 
FSkeletalMeshObjectMeshObject = nullptr
 
FSkeletalMeshObjectPreviousMeshObject = nullptr
 
USkinnedAssetSkinnedAsset = nullptr
 
UPhysicsAssetPhysicsAsset = nullptr
 
UMaterialInterfaceOverlayMaterial = nullptr
 
TArray< TObjectPtr< UMaterialInterface > > MaterialSlotsOverlayMaterial
 
const FMeshDeformerInstanceSetMeshDeformerInstances = nullptr
 
TArrayView< const TObjectPtr< UMaterialInterface > > OverrideMaterials
 
TArrayView< const ESkinCacheUsageSkinCacheUsage {}
 
int32 PredictedLODLevel = 0
 
float MaxDistanceFactor = 1.0f
 
FVector ComponentScale = FVector::OneVector
 
float StreamingDistanceMultiplier = 1.0f
 
float NanitePixelProgrammableDistance = 0.0f
 
float CapsuleIndirectShadowMinVisibility = 0.0f
 
float OverlayMaterialMaxDrawDistance = 0.0f
 
uint8 bForceWireframe: 1 = false
 
uint8 bCanHighlightSelectedSections: 1 = false
 
uint8 bRenderStatic: 1 = false
 
uint8 bPerBoneMotionBlur: 1 = false
 
uint8 bCastCapsuleDirectShadow: 1 = false
 
uint8 bCastCapsuleIndirectShadow: 1 = false
 
uint8 bDrawDebugSkeleton: 1 = false
 
uint8 bCPUSkinning: 1 = false
 
uint32 bSortTriangles:1 = false
 
uint8 bAllowAlwaysVisible: 1 = false
 
- Public Attributes inherited from FPrimitiveSceneProxyDesc
UObjectComponent = nullptr
 
UObjectOwner = nullptr
 
UWorldWorld = nullptr
 
TArrayView< URuntimeVirtualTexture * > RuntimeVirtualTextures
 
TArray< uint32ActorOwners
 
const FCustomPrimitiveDataCustomPrimitiveData = nullptr
 
FSceneInterfaceScene = nullptr
 
IPrimitiveComponentPrimitiveComponentInterface = nullptr
 
const UObjectAdditionalStatObjectPtr = nullptr
 
uint64 HiddenEditorViews = 0
 
TStatId StatId
 
uint32 CastShadow: 1
 
uint32 bReceivesDecals: 1
 
uint32 bOnlyOwnerSee: 1
 
uint32 bOwnerNoSee: 1
 
uint32 bLevelInstanceEditingState: 1
 
uint32 bUseViewOwnerDepthPriorityGroup: 1
 
uint32 bVisibleInReflectionCaptures: 1
 
uint32 bVisibleInRealTimeSkyCaptures: 1
 
uint32 bVisibleInRayTracing: 1
 
uint32 bRenderInDepthPass: 1
 
uint32 bRenderInMainPass: 1
 
uint32 bTreatAsBackgroundForOcclusion: 1
 
uint32 bCastDynamicShadow: 1
 
uint32 bCastStaticShadow: 1
 
uint32 bEmissiveLightSource: 1
 
uint32 bAffectDynamicIndirectLighting: 1
 
uint32 bAffectIndirectLightingWhileHidden: 1
 
uint32 bAffectDistanceFieldLighting: 1
 
uint32 bCastVolumetricTranslucentShadow: 1
 
uint32 bCastContactShadow: 1
 
uint32 bCastHiddenShadow: 1
 
uint32 bCastShadowAsTwoSided: 1
 
uint32 bSelfShadowOnly: 1
 
uint32 bCastInsetShadow: 1
 
uint32 bCastCinematicShadow: 1
 
uint32 bCastFarShadow: 1
 
uint32 bLightAttachmentsAsGroup: 1
 
uint32 bSingleSampleShadowFromStationaryLights: 1
 
uint32 bUseAsOccluder: 1
 
uint32 bSelectable: 1
 
uint32 bHasPerInstanceHitProxies: 1
 
uint32 bUseEditorCompositing: 1
 
uint32 bIsBeingMovedByEditor: 1
 
uint32 bReceiveMobileCSMShadows: 1
 
uint32 bRenderCustomDepth: 1
 
uint32 bVisibleInSceneCaptureOnly: 1
 
uint32 bHiddenInSceneCapture: 1
 
uint32 bForceMipStreaming: 1
 
uint32 bRayTracingFarField: 1
 
uint32 bHoldout: 1
 
uint32 bIsFirstPerson: 1
 
uint32 bIsFirstPersonWorldSpaceRepresentation: 1
 
uint32 bLumenHeightfield: 1
 
uint32 bIsVisible: 1
 
uint32 bIsVisibleEditor: 1
 
uint32 bSelected: 1
 
uint32 bIndividuallySelected: 1
 
uint32 bShouldRenderSelected: 1
 
uint32 bWantsEditorEffects: 1
 
uint32 bCollisionEnabled: 1
 
uint32 bIsHidden: 1
 
uint32 bIsHiddenEd: 1
 
uint32 bSupportsWorldPositionOffsetVelocity: 1
 
uint32 bIsOwnerEditorOnly: 1
 
uint32 bIsInstancedStaticMesh: 1
 
uint32 bHasStaticLighting: 1
 
uint32 bHasValidSettingsForStaticLighting: 1
 
uint32 bIsPrecomputedLightingValid: 1
 
uint32 bShadowIndirectOnly: 1
 
uint32 bShouldRenderProxyFallbackToDefaultMaterial:1
 
int32 TranslucencySortPriority = 0
 
float TranslucencySortDistanceOffset = 0.0f
 
int32 CustomDepthStencilValue = 0
 
FLightingChannels LightingChannels
 
ERayTracingGroupCullingPriority RayTracingGroupCullingPriority = ERayTracingGroupCullingPriority::CP_4_DEFAULT
 
EShadowCacheInvalidationBehavior ShadowCacheInvalidationBehavior = EShadowCacheInvalidationBehavior::Auto
 
TEnumAsByte< ESceneDepthPriorityGroupViewOwnerDepthPriorityGroup = ESceneDepthPriorityGroup::SDPG_World
 
TEnumAsByte< EComponentMobility::TypeMobility = EComponentMobility::Movable
 
TEnumAsByte< EIndirectLightingCacheQualityIndirectLightingCacheQuality = EIndirectLightingCacheQuality::ILCQ_Point
 
TEnumAsByte< ESceneDepthPriorityGroupDepthPriorityGroup = ESceneDepthPriorityGroup::SDPG_World
 
ELightmapType LightmapType = ELightmapType::Default
 
ERendererStencilMask CustomDepthStencilWriteMask = ERendererStencilMask::ERSM_Default
 
ERuntimeVirtualTextureMainPassType VirtualTextureRenderPassType = ERuntimeVirtualTextureMainPassType::Exclusive
 
int8 VirtualTextureLodBias = 0
 
int8 VirtualTextureMinCoverage = 0
 
int32 VirtualTextureCullMips = 0
 
float VirtualTextureMainPassMaxDrawDistance = 0.0f
 
FPrimitiveComponentId ComponentId
 
int32 VisibilityId = 0
 
float CachedMaxDrawDistance = 0.0f
 
float MinDrawDistance = 0.0f
 
float BoundsScale = 1.0f
 
int32 RayTracingGroupId = FPrimitiveSceneProxy::InvalidRayTracingGroupId
 
ERHIFeatureLevel::Type FeatureLevel
 
FName MeshDrawCommandStatsCategory
 

Constructor & Destructor Documentation

◆ FInstancedSkinnedMeshSceneProxyDesc() [1/2]

FInstancedSkinnedMeshSceneProxyDesc::FInstancedSkinnedMeshSceneProxyDesc ( const UInstancedSkinnedMeshComponent *  InComponent)

◆ FInstancedSkinnedMeshSceneProxyDesc() [2/2]

FInstancedSkinnedMeshSceneProxyDesc::FInstancedSkinnedMeshSceneProxyDesc ( )
default

Member Function Documentation

◆ CreateMeshObject()

FSkeletalMeshObject * FInstancedSkinnedMeshSceneProxyDesc::CreateMeshObject ( const FInstancedSkinnedMeshSceneProxyDesc Desc,
FSkeletalMeshRenderData InRenderData,
ERHIFeatureLevel::Type  InFeatureLevel 
)
static

◆ CreateSceneProxy()

FPrimitiveSceneProxy * FInstancedSkinnedMeshSceneProxyDesc::CreateSceneProxy ( const FInstancedSkinnedMeshSceneProxyDesc Desc,
bool  bHideSkin,
bool  bShouldNaniteSkin,
bool  bIsEnabled,
int32  MinLODIndex 
)
static

◆ InitializeFromInstancedSkinnedMeshComponent()

void FInstancedSkinnedMeshSceneProxyDesc::InitializeFromInstancedSkinnedMeshComponent ( const UInstancedSkinnedMeshComponent *  InComponent)

Member Data Documentation

◆ AnimationMinScreenSize

float FInstancedSkinnedMeshSceneProxyDesc::AnimationMinScreenSize = 0.0f

◆ InstanceDataSceneProxy

TSharedPtr<FInstanceDataSceneProxy, ESPMode::ThreadSafe> FInstancedSkinnedMeshSceneProxyDesc::InstanceDataSceneProxy

◆ InstanceEndCullDistance

int32 FInstancedSkinnedMeshSceneProxyDesc::InstanceEndCullDistance = 0

◆ InstanceMinDrawDistance

int32 FInstancedSkinnedMeshSceneProxyDesc::InstanceMinDrawDistance = 0

◆ InstanceStartCullDistance

int32 FInstancedSkinnedMeshSceneProxyDesc::InstanceStartCullDistance = 0

◆ TransformProvider

TObjectPtr<class UTransformProviderData> FInstancedSkinnedMeshSceneProxyDesc::TransformProvider

The documentation for this struct was generated from the following files: