Appearance

Appearance#

instant3Dhub: Appearance
instant3Dhub

Detailed Description

Appearance-related connector settings for geometry materials, resolver bindings, and spawn-time rendering behavior.

See also
Material API
Unreal Material API

Functions

const FI3DHGeometryMaterialsAI3DHConnector::GetL3DMaterials () const
const FI3DHGeometryMaterialsAI3DHConnector::GetL3DAppearanceMaterials () const
const FI3DHGeometryMaterialsAI3DHConnector::GetMaterialAPIMaterials () const

Variables

TObjectPtr< class UMaterialParameterCollectionAI3DHConnector::I3DHParameterCollection = nullptr
TObjectPtr< class UMaterialInterfaceAI3DHConnector::GlobalHighlightMaterial = nullptr
FI3DHGeometryMaterials AI3DHConnector::L3DDefaultMaterials
FI3DHGeometryMaterials AI3DHConnector::L3DAppearanceMaterials
FI3DHGeometryMaterials AI3DHConnector::MaterialAPIMaterials
TSubclassOf< AI3DHGeometryAI3DHConnector::GeometryActorClass
bool AI3DHConnector::bSpawnedGeometryCastsShadow = false

Function Documentation

◆ GetL3DAppearanceMaterials()

const FI3DHGeometryMaterials & AI3DHConnector::GetL3DAppearanceMaterials ( ) const
inline

Returns geometry materials used for urn:X-l3d:color overrides.

◆ GetL3DMaterials()

const FI3DHGeometryMaterials & AI3DHConnector::GetL3DMaterials ( ) const
inline

Returns geometry materials used for default urn:X-l3d:color:property:default handling.

◆ GetMaterialAPIMaterials()

const FI3DHGeometryMaterials & AI3DHConnector::GetMaterialAPIMaterials ( ) const
inline

Returns fallback geometry materials used for MaterialAPI-backed rendering.

Variable Documentation

◆ bSpawnedGeometryCastsShadow

bool AI3DHConnector::bSpawnedGeometryCastsShadow = false
protected

The value bCastShadow is set to on spawned mesh components.

◆ GeometryActorClass

TSubclassOf<AI3DHGeometry> AI3DHConnector::GeometryActorClass
protected

The geometry actor class to use for instances.

◆ GlobalHighlightMaterial

TObjectPtr<class UMaterialInterface> AI3DHConnector::GlobalHighlightMaterial = nullptr
protected

Global fallback material used when geometry enters hover or selection state without a dedicated highlight material.

If you replace the plugin material, preserve selection, hover, and clip-plane support by using the plugin material functions instant3Dhub/Functions/MF_GetSelectionHoverState and instant3Dhub/Functions/MF_GetClipPlaneOpacity.

Note
Advanced users may adjust this to replace the default global highlight material. Changes here affect fallback highlight rendering and should be made carefully.

◆ I3DHParameterCollection

TObjectPtr<class UMaterialParameterCollection> AI3DHConnector::I3DHParameterCollection = nullptr
protected

Material parameter collection used for Hub features such as clipping plane.

This should be set to the plugins MaterialParameterCollection to work.

◆ L3DAppearanceMaterials

FI3DHGeometryMaterials AI3DHConnector::L3DAppearanceMaterials
protected

These materials are expected to work with instant3Dhub vertex colors and appearance color overrides.

Note
Advanced users may adjust these to replace the default geometry materials. Changes here affect the standard appearance handling of the plugin and should be made carefully.

◆ L3DDefaultMaterials

FI3DHGeometryMaterials AI3DHConnector::L3DDefaultMaterials
protected

These materials are expected to work with instant3Dhub vertex colors.

Note
Advanced users may adjust these to replace the default geometry materials. Changes here affect the standard appearance handling of the plugin and should be made carefully.

◆ MaterialAPIMaterials

FI3DHGeometryMaterials AI3DHConnector::MaterialAPIMaterials
protected

Default Unreal material set used when urn:X-l3d:material:<id>.

Note
Advanced users may adjust these to replace the default geometry materials. Changes here affect how MaterialAPI-backed geometry is rendered in Unreal and should be made carefully.