Skip to main content

UB1AppearanceComponent

Overview

  • B1 actor component for appearance (gender/growth/outfit/hair, etc.).

Metadata

FieldValue
Kindcomponent
EnvironmentB1 - Presentation
Categorycomponents
ExtendsUActorComponent
Requirerequire('Components.B1AppearanceComponent')

Properties (35)

NameTypeDescription
AccessoryComponentstable<string, FB1AccessoryComponents>
AdditionalFootMeshComponentanyDedicated Foot mesh (e.g. for high heels) when there is no mesh merge.
AdditionalToeMeshComponentanyToe mesh overlaid on the main body when wearing stockings, when there is no mesh merge.
AppearanceSettingFB1AppearanceSettingTemporarily changed VisibleAnywhere -> EditAnywhere for author testing.
AppliedShoesOutsoleTypeEB1OutsoleType
AppliedShoesTypeEB1ShoesType
AssetCacheFB1AppearanceRuntimeAssetCacheRuntime UObject cache split out from FB1AppearanceSetting. Holds textures resolved from IDs at the Refresh callback time.
CachedBaseInnerUnderMeshUSkeletalMesh
CachedBaseInnerUnderOverrideMaterialsUMaterialInterface[]
CachedBodyAnimInstanceUAnimInstanceTransient - cache loaded from SoftAnimInstance after RefreshBody completes. Held directly on the UObject to prevent a GC race.
CanvasTestTypeEB1CanvasFileTestType
ClothPhysicsAssetCacheMaptable<FGuid, FB1ClothPhysicsAssetCache>
FaceBakedMaterialUMaterialInstanceDynamic
FaceHairMeshComponentstable<EB1FaceHairType, any>Individual FaceHair mesh when there is no mesh merge.
GarmentMeshComponentstable<EB1GarmentType, FB1AppearanceComponents>
GarmentMeshSectionTabletable<string, FB1GarmentComponentSection>
HairDitheringWeightnumber
LoadedHairMeshUSkeletalMesh
MannequinBodyIdstringMannequin body identifier. When set (not NAME_None), GetCharacterBodyInfo() returns mannequin-specific body data.
MergedBodyMeshUSkeletalMesh
MergedFaceHairMeshUSkeletalMesh
MergedGarmentMeshUSkeletalMesh
MergedHeadMeshUSkeletalMeshFor lifetime management of the merged mesh. Protects against GC being called between the MergeComplete task and SetNamedMesh.
NamedComponentstable<string, any>
OriginEyeRefractiveDataMapsFB1EyeRefractiveOriginDataMaps
OriginGarmentDataMapsFB1GarmentOriginDataMaps
OriginHairCardDataMapsFB1HairCardOriginDataMaps
PathKeystring
PreviewPresetstring
PrintedAccessoryComponentsFB1AccessoryComponents[]
bAlwaysEnablePhysicsboolean
bImmediateChangeMeshVisibleboolean
bOpenFileFolderboolean
bPlayChangeCostumeFxboolean
bUseEmissiveboolean

Functions (7)

FunctionParametersReturnsDescription
ApplyGhostMaterialsSelf: UB1AppearanceComponent-Applies Ghost Materials.
GetGenderTypeSelf: UB1AppearanceComponent-Returns Gender Type.
GetGrowthStepSelf: UB1AppearanceComponent-Returns Growth Step.
RefreshAllSelf: UB1AppearanceComponent-
RefreshHairSelf: UB1AppearanceComponent-
RefreshOutfitSelf: UB1AppearanceComponent-
SetHairDitheringWeightSelf: UB1AppearanceComponent-Sets Hair Dithering Weight.

Override points (6)

Implement these in Lua as UB1AppearanceComponent.Override_Name = function(...) end.

FunctionParametersReturnsDescription
Override_ApplyAgingInAge: InAgebooleanApplies Aging.
Override_ApplyGhostMaterials--Applies Ghost Materials.
Override_RefreshAll-boolean
Override_RefreshHair-boolean
Override_RefreshOutfitbRefreshHair: UB1AppearanceComponentboolean
Override_UpdateInOutDoorStateInOutdoorValue: InOutdoorValue-Updates In Out Door State.