visionOS's "offset3D"

In visionOS, have many code with 3D attributes (SwiftUI) is adapted from the code in iOS, like: .padding(_:) to .padding3D(_:). In iOS have .offset(x:_, y:_), it only have X and Y, but in visionOS, view is in a 3D scene, so I want offset have Z, but offset can't use Z, so I try offset3D:

import SwiftUI

//Some View
    .offset3D(x: Number, y: Number, z: Number)

Xcode report an error:

Error: No member 'offset3D'

So do you now how to use like offset's Modifiers, and can use Z in visionOS.

visionOS's "offset3D"
 
 
Q