Edit

Share via


MDLCamera.FrameBoundingBox(MDLAxisAlignedBoundingBox, Boolean) Method

Definition

Moves the camera to view boundingBox looking parallel to the Z axis in a negative direction, and sets the near and far clipping planes to the bounding box if setNearAndFar is true.

[Foundation.Export("frameBoundingBox:setNearAndFar:")]
public virtual void FrameBoundingBox (ModelIO.MDLAxisAlignedBoundingBox boundingBox, bool setNearAndFar);
abstract member FrameBoundingBox : ModelIO.MDLAxisAlignedBoundingBox * bool -> unit
override this.FrameBoundingBox : ModelIO.MDLAxisAlignedBoundingBox * bool -> unit

Parameters

setNearAndFar
Boolean
Attributes

Applies to