computeDisplayTransform Method
Compute the transform applied to a model or element at display time, if any. The display transform may be constructed from any combination of the following:
- PlanProjectionSettings.elevation applied to plan projection models by DisplayStyle3dSettings.planProjectionSettings;
- A per-model transform supplied by this view's modelDisplayTransformProvider; and/or
- A transform applied to an element by an RenderSchedule.ElementTimeline defined by this view's scheduleScript.
computeDisplayTransform(args: ComputeDisplayTransformArgs): undefined | Transform
@returns The computed transform, or undefined
if no display transform is to be applied.
Parameter | Type | Description |
---|---|---|
args | ComputeDisplayTransformArgs | A description of how to compute the transform. |
Returns - undefined | Transform
The computed transform, or undefined
if no display transform is to be applied.
Defined in
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.