---
title: "init(texture:coordinateTransform:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/spotlightcomponent/projectivetexture/init(texture:coordinatetransform:)"
---

# init(texture:coordinateTransform:)

Creates a new instance with the specified texture and coordinate transform for scale and rotation

## Declaration

```swift
init(texture: TextureResource, coordinateTransform: SpotLightComponent.ProjectiveTexture.TextureCoordinateTransform)
```

## See Also

### Creating a projective texture

- [init(texture:scale:)](realitykit/spotlightcomponent/projectivetexture/init(texture:scale:).md)
