One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

HoverEffectComponent.ShaderHoverEffectInputs

struct · iOS 18.0+ · SDK 27.1

struct ShaderHoverEffectInputs

A type that configures the visual aspects of a hover effect that applies a custom material

Members (6)

init · iOS 18.0+

init

TypeScript
static init(fadeInDuration: number, fadeOutDuration: number): HoverEffectComponent_ShaderHoverEffectInputs
Swift declaration
init(fadeInDuration: TimeInterval, fadeOutDuration: TimeInterval)
get · iOS 18.0+

fadeInDuration

TypeScript
get fadeInDuration(): number
Swift declaration
var fadeInDuration: TimeInterval { get set }

The time it takes in seconds for the effect to fade in. Maximum value allowed is 10 seconds.

set · iOS 18.0+

fadeInDuration

TypeScript
set fadeInDuration(value: number)
Swift declaration
var fadeInDuration: TimeInterval { get set }

The time it takes in seconds for the effect to fade in. Maximum value allowed is 10 seconds.

get · iOS 18.0+

fadeOutDuration

TypeScript
get fadeOutDuration(): number
Swift declaration
var fadeOutDuration: TimeInterval { get set }

The time it takes in seconds for the effect to fade out. Maximum value allowed is 10 seconds.

set · iOS 18.0+

fadeOutDuration

TypeScript
set fadeOutDuration(value: number)
Swift declaration
var fadeOutDuration: TimeInterval { get set }

The time it takes in seconds for the effect to fade out. Maximum value allowed is 10 seconds.

get · iOS 18.0+

default

TypeScript
static get default(): HoverEffectComponent_ShaderHoverEffectInputs
Swift declaration
static let `default`: HoverEffectComponent.ShaderHoverEffectInputs

The default style initializes the fade-in and fade-out durations to match the durations of the default spotlight.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →