overrideElementHit MethodOptional

If the Decorator.decorate method created pickable graphics using a persistent element id instead of a transient id, return true if the Decorator wants the opportunity to override the default persistent element behavior for the supplied HitDetail.

overrideElementHit(hit: HitDetail): boolean

@returns true if this Decorator wants to override the default persistent element behavior.

Parameter Type Description
hit HitDetail The HitDetail of the currently selected persistent element or pickable graphics using a persistent element id.

Returns - boolean

true if this Decorator wants to override the default persistent element behavior.

Defined in

Last Updated: 16 April, 2024