<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNBillboardConstraint",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNBillboardConstraint"
  },
  "title" : "SCNBillboardConstraint"
}
-->

# SCNBillboardConstraint

A constraint that orients a node to always point toward the current camera.

```
class SCNBillboardConstraint
```

## Overview

An [`SCNBillboardConstraint`](/documentation/SceneKit/SCNBillboardConstraint) object automatically adjusts a node’s orientation so that its local z-axis always points toward the [`pointOfView`](/documentation/SceneKit/SCNSceneRenderer/pointOfView) node currently being used to render the scene. For example, you can use a billboard constraint to efficiently render parts of a scene using two-dimensional sprite images instead of three-dimensional geometry—by mapping sprites onto planes affected by a billboard constraint, the sprites maintain their orientation with respect to the viewer. To attach constraints to an [`SCNNode`](/documentation/SceneKit/SCNNode) object, use its [`constraints`](/documentation/SceneKit/SCNNode/constraints) property.

## Topics

### Creating a Billboard Constraint

[`billboardConstraint`](/documentation/SceneKit/SCNBillboardConstraint/billboardConstraint)

Creates a new billboard constraint.

### Working with a Constraint’s Degrees of Freedom

[`freeAxes`](/documentation/SceneKit/SCNBillboardConstraint/freeAxes)

An option that specifies which degrees of freedom the constraint affects.

### Constants

[`SCNBillboardAxis`](/documentation/SceneKit/SCNBillboardAxis)

Options for locking the orientation of nodes affected by a billboard constraint.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)