---
title: worldSpaceData
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtlintersectionfunctionsignature/worldspacedata
---

# worldSpaceData

A flag indicating that function signature uses world space data.

## Declaration

```swift
static var worldSpaceData: MTLIntersectionFunctionSignature { get }
```

## Discussion

Discussion The corresponding MSL function needs to contain the world_space_data tag in its declaration.

## See Also

### Specifying the intersection function signature

- [instancing](metal/mtlintersectionfunctionsignature/instancing.md)
- [triangleData](metal/mtlintersectionfunctionsignature/triangledata.md)
