@dcl/playground-assets 7.6.4 → 7.6.5-11612701565.commit-a53af9d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/alpha.d.ts CHANGED
@@ -1957,6 +1957,7 @@ export declare type EventSystemOptions = {
1957
1957
  hoverText?: string;
1958
1958
  maxDistance?: number;
1959
1959
  showFeedback?: boolean;
1960
+ showHighlight?: boolean;
1960
1961
  };
1961
1962
 
1962
1963
  /**
@@ -2025,6 +2026,8 @@ export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEnti
2025
2026
  */
2026
2027
  export declare function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
2027
2028
 
2029
+ export declare const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystemOptions;
2030
+
2028
2031
  export declare type GlobalDirectionRaycastOptions = RaycastSystemOptions & GlobalDirectionRaycastSystemOptions;
2029
2032
 
2030
2033
  export declare type GlobalDirectionRaycastSystemOptions = {
@@ -4925,8 +4928,10 @@ export declare interface PBPointerEvents_Info {
4925
4928
  hoverText?: string | undefined;
4926
4929
  /** range of interaction (default 10) */
4927
4930
  maxDistance?: number | undefined;
4928
- /** enable or disable hover text (default true) */
4931
+ /** enable or disable hover text and highlight (default true) */
4929
4932
  showFeedback?: boolean | undefined;
4933
+ /** enable or disable hover highlight (default true) */
4934
+ showHighlight?: boolean | undefined;
4930
4935
  }
4931
4936
 
4932
4937
  /**
package/dist/beta.d.ts CHANGED
@@ -1957,6 +1957,7 @@ export declare type EventSystemOptions = {
1957
1957
  hoverText?: string;
1958
1958
  maxDistance?: number;
1959
1959
  showFeedback?: boolean;
1960
+ showHighlight?: boolean;
1960
1961
  };
1961
1962
 
1962
1963
  /**
@@ -2025,6 +2026,8 @@ export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEnti
2025
2026
  */
2026
2027
  export declare function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
2027
2028
 
2029
+ export declare const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystemOptions;
2030
+
2028
2031
  export declare type GlobalDirectionRaycastOptions = RaycastSystemOptions & GlobalDirectionRaycastSystemOptions;
2029
2032
 
2030
2033
  export declare type GlobalDirectionRaycastSystemOptions = {
@@ -4897,8 +4900,10 @@ export declare interface PBPointerEvents_Info {
4897
4900
  hoverText?: string | undefined;
4898
4901
  /** range of interaction (default 10) */
4899
4902
  maxDistance?: number | undefined;
4900
- /** enable or disable hover text (default true) */
4903
+ /** enable or disable hover text and highlight (default true) */
4901
4904
  showFeedback?: boolean | undefined;
4905
+ /** enable or disable hover highlight (default true) */
4906
+ showHighlight?: boolean | undefined;
4902
4907
  }
4903
4908
 
4904
4909
  /**
@@ -1957,6 +1957,7 @@ export declare type EventSystemOptions = {
1957
1957
  hoverText?: string;
1958
1958
  maxDistance?: number;
1959
1959
  showFeedback?: boolean;
1960
+ showHighlight?: boolean;
1960
1961
  };
1961
1962
 
1962
1963
  /**
@@ -2025,6 +2026,8 @@ export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEnti
2025
2026
  */
2026
2027
  export declare function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
2027
2028
 
2029
+ export declare const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystemOptions;
2030
+
2028
2031
  export declare type GlobalDirectionRaycastOptions = RaycastSystemOptions & GlobalDirectionRaycastSystemOptions;
2029
2032
 
2030
2033
  export declare type GlobalDirectionRaycastSystemOptions = {
@@ -4897,8 +4900,10 @@ export declare interface PBPointerEvents_Info {
4897
4900
  hoverText?: string | undefined;
4898
4901
  /** range of interaction (default 10) */
4899
4902
  maxDistance?: number | undefined;
4900
- /** enable or disable hover text (default true) */
4903
+ /** enable or disable hover text and highlight (default true) */
4901
4904
  showFeedback?: boolean | undefined;
4905
+ /** enable or disable hover highlight (default true) */
4906
+ showHighlight?: boolean | undefined;
4902
4907
  }
4903
4908
 
4904
4909
  /**