Contents

shader(_:)

Returns a hover effect style that applies hover state data to a custom shader that applies to the entity’s model.

Declaration

static func shader(_ inputs: HoverEffectComponent.ShaderHoverEffectInputs) -> HoverEffectComponent.HoverEffect

Parameters

Discussion

The custom shader can be either MaterialX or CustomMaterial.