目录

ArkUI_LightEffectOptions

typedef struct ArkUI_LightEffectOptions ArkUI_LightEffectOptions

Overview

Defines a light sensing interaction effect configuration object for immersive materials, which is used to configure the light sensing response effect generated when users interact with immersive materials. For details about the design logic, see native_material.h. An immersive material is a visual material style with a sense of depth and layering, and the light sensing interaction effect refers to the light and shadow visual feedback generated when users interact with components. After creation, the configuration object must be set to the immersive material object through OH_ArkUI_NativeModule_ImmersiveMaterial_SetLightEffect to take effect.

If no light sensing interaction color is specified, the default light sensing interaction color is white (0xffffffff).

Since: 26.0.0

Related module: ArkUI_NativeModule

Header file: native_material.h