<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/BillboardComponent/blendFactor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18BillboardComponentV11blendFactorSfvp"
  },
  "title" : "blendFactor"
}
-->

# blendFactor

The degree at which the entity rotates toward the camera.

```
var blendFactor: Float
```

## Discussion

The `blendFactor` property is a floating-point number in the range `[0.0, 1.0]`.

- When `blendFactor` is `1.0`, the entity fully faces the camera.
  This is the default behavior.
- When `blendFactor` is `0.0`, the entity doesn’t rotate at all.
- When `blendFactor` is between `0.0` and `1.0`, the entity partially rotates toward the camera.

The following example configures the entity to rotate by half the angle it needs
to directly face the camera by setting the `blendFactor` to `0.5`:

```swift
var billboard = BillboardComponent()
billboard.blendFactor = 0.5
entity.components.set(billboard)
```

For example, here’s how a few different `blendFactor` values affect the orientation:

|0                                                                                                                                                                                                     |0.25                                                                                                                                                                                                   |0.5                                                                                                                                                                                                    |1                                                                                                                                                          |
|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------:|
|![An image of a vintage-style toy robot in a living room scene. The robot is facing about 45 degrees to the left and down from the viewer’s perspective.](billboardcomponent-robot-side-above-without)|![An image of a vintage-style toy robot in a living room scene. The robot is facing about 35 degrees to the left and down from the viewer’s perspective.](billboardcomponent-robot-side-above-blend-25)|![An image of a vintage-style toy robot in a living room scene. The robot is facing about 22 degrees to the left and down from the viewer’s perspective.](billboardcomponent-robot-side-above-blend-50)|![An image of a vintage-style toy robot in a living room scene. The robot is facing directly towards the viewer.](billboardcomponent-robot-side-above-with)|

For an example of how to animate `blendFactor`, see [`BillboardAction`](/documentation/RealityKit/BillboardAction).

---

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)