---
title: BillboardComponent
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/billboardcomponent
---

# BillboardComponent

A component that orients an entity instance so that it continuously points toward the active camera.

## Declaration

```swift
struct BillboardComponent
```

## Mentioned in

Automatically animating RealityKit entities

## Overview

Overview The BillboardComponent automatically adjusts an entity’s orientation so that its z-axis keeps pointing in the direction of the main camera in a RealityKit scene. Add a BillboardComponent to any entity by passing it to an entity’s set(_:) method. entity.components.set(BillboardComponent()) The entity immediately reorients itself so that it faces the scene’s active camera.  |   |  important: An entity with BillboardComponent doesn’t provide access to its end orientation. Requesting the entity’s orientation through its transform returns only the unaltered orientation. For an example of how to animate blendFactor, see BillboardAction.

## Topics

### Initializers

- [init()](realitykit/billboardcomponent/init().md)

### Instance Properties

- [blendFactor](realitykit/billboardcomponent/blendfactor.md)

## Relationships

### Conforms To

- [Component](realitykit/component.md)
- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)

## See Also

### Visual adjustments

- [HoverEffectComponent](realitykit/hovereffectcomponent.md)
- [EnvironmentBlendingComponent](realitykit/environmentblendingcomponent.md)
- [LensDistortionData](realitykit/lensdistortiondata.md)
- [ImagePresentationComponent](realitykit/imagepresentationcomponent.md)
