MDLCamera.FrameBoundingBox(MDLAxisAlignedBoundingBox, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- boundingBox
- MDLAxisAlignedBoundingBox
- setNearAndFar
- Boolean
- Attributes