concatenating
TypeScriptconcatenating(t2: ProjectiveTransform3D): ProjectiveTransform3DSwift declarationfunc concatenating(_ t2: ProjectiveTransform3D) -> ProjectiveTransform3Dstruct · iOS 16.0+ · SDK 27.1
struct ProjectiveTransform3Dconcatenating(t2: ProjectiveTransform3D): ProjectiveTransform3DSwift declarationfunc concatenating(_ t2: ProjectiveTransform3D) -> ProjectiveTransform3Dis3DProjection(): booleanSwift declarationfunc is3DProjection() -> Boolget isAffine(): booleanSwift declarationvar isAffine: Bool { get }get isIdentity(): booleanSwift declarationvar isIdentity: Bool { get }get isInvertible(): booleanSwift declarationvar isInvertible: Bool { get }get isRectilinear(): booleanSwift declarationvar isRectilinear: Bool { get }get isTranslation(): booleanSwift declarationvar isTranslation: Bool { get }get isUniform(): booleanSwift declarationvar isUniform: Bool { get }static initLeftTangentRightTangentTopTangentBottomTangentNearZFarZReverseZ(leftTangent: number, rightTangent: number, topTangent: number, bottomTangent: number, nearZ: number, farZ: number, reverseZ: boolean): ProjectiveTransform3DSwift declarationinit(leftTangent: Double, rightTangent: Double, topTangent: Double, bottomTangent: Double, nearZ: Double, farZ: Double, reverseZ: Bool)static initRotation(rotation: Rotation3D): ProjectiveTransform3DSwift declarationinit(rotation: Rotation3D)static initScale(scale: Size3D): ProjectiveTransform3DSwift declarationinit(scale: Size3D)static initTranslation(offset: Vector3D): ProjectiveTransform3DSwift declarationinit(translation offset: Vector3D)static init(matrix: SDKHandle): ProjectiveTransform3DSwift declarationinit(_ matrix: simd_double4x4)static init30089(transform: AffineTransform3D): ProjectiveTransform3DSwift declarationinit(_ transform: AffineTransform3D)static initFovYAspectRatioNearZFarZ(fovY: Angle2D, aspectRatio: number, nearZ: number, farZ: number): ProjectiveTransform3DSwift declarationinit(fovY: Angle2D, aspectRatio: Double, nearZ: Double, farZ: Double)static initFovYAspectRatioNearZFarZReverseZ(fovY: Angle2D, aspectRatio: number, nearZ: number, farZ: number, reverseZ: boolean): ProjectiveTransform3DSwift declarationinit(fovY: Angle2D, aspectRatio: Double, nearZ: Double, farZ: Double, reverseZ: Bool)static initFovyRadiansAspectRatioNearZFarZ(fovyRadians: number, aspectRatio: number, nearZ: number, farZ: number): ProjectiveTransform3DSwift declarationinit(fovyRadians: Double, aspectRatio: Double, nearZ: Double, farZ: Double)static initFovyRadiansAspectRatioNearZFarZReverseZ(fovyRadians: number, aspectRatio: number, nearZ: number, farZ: number, reverseZ: boolean): ProjectiveTransform3DSwift declarationinit(fovyRadians: Double, aspectRatio: Double, nearZ: Double, farZ: Double, reverseZ: Bool)rotatedBy(rotation: Rotation3D): ProjectiveTransform3DSwift declarationfunc rotated(by rotation: Rotation3D) -> ProjectiveTransform3DrotatedBy1264(quaternion: SDKHandle): ProjectiveTransform3DSwift declarationfunc rotated(by quaternion: simd_quatd) -> ProjectiveTransform3Dscaled(scale: Size3D): ProjectiveTransform3DSwift declarationfunc scaled(by scale: Size3D) -> ProjectiveTransform3DuniformlyScaled(scale: number): ProjectiveTransform3DSwift declarationfunc uniformlyScaled(by scale: Double) -> ProjectiveTransform3DtranslatedBy(offset: Vector3D): ProjectiveTransform3DSwift declarationfunc translated(by offset: Vector3D) -> ProjectiveTransform3Dget matrix(): SDKHandleSwift declarationvar matrix: simd_double4x4set matrix(value: SDKHandle)Swift declarationvar matrix: simd_double4x4static get identity(): ProjectiveTransform3DSwift declarationstatic let identity: ProjectiveTransform3Dstatic initMatrix(matrix: SDKHandle): ProjectiveTransform3DSwift declarationinit(matrix: simd_double4x4)static initScaledPose(scaledPose: ScaledPose3D): ProjectiveTransform3DSwift declarationinit(scaledPose: ScaledPose3D)translatedBy86539(size: Size3D): ProjectiveTransform3DSwift declarationfunc translated(by size: Size3D) -> ProjectiveTransform3DReturns the entity translated by the specified size. - Parameter size: The size structure that defines that translation.
get description(): stringSwift declarationvar description: String { get }A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.
static initTranslation37038(translation: Size3D): ProjectiveTransform3DSwift declarationinit(translation: Size3D)get translation(): Vector3DSwift declarationvar translation: Vector3D { get set }The translation component
set translation(value: Vector3D)Swift declarationvar translation: Vector3D { get set }The translation component
get customMirror(): SDKHandleSwift declarationvar customMirror: Mirror { get }The custom mirror for this instance.
get scaleComponent(): Size3DSwift declarationvar scaleComponent: Size3D { get }The projective transform's scale component. This function computes the scale from the first three rows of the transform matrix and ignores the fourth row.
isApproximatelyEqual(other: ProjectiveTransform3D, tolerance?: number): booleanSwift declarationfunc isApproximatelyEqual(to other: ProjectiveTransform3D, tolerance: Double = sqrt(.ulpOfOne)) -> BoolReturns a Boolean value that indicates whether two transforms are equal within a specified tolerance. - Parameter transform: The second transform. - Parameter tolerance: The tolerance of the comparison.
flip(axis: Axis3D): voidSwift declarationmutating func flip(along axis: Axis3D)Flips the transform along the specified axis. - Parameter axis: The axis of the flip operation.
static initPose(pose: Pose3D): ProjectiveTransform3DSwift declarationinit(pose: Pose3D)Returns a new transform from the specified pose. - Parameter pose: The source pose
static initScaleRotationTranslation(scale: Size3D, rotation: Rotation3D, translation: Size3D): ProjectiveTransform3DSwift declarationinit(scale: Size3D = Size3D(width: 1.0, height: 1, depth: 1), rotation: Rotation3D = .zero, translation: Size3D)Returns a new scale, rotate, translate transform. - Parameter scale: The scale. - Parameter rotation: The rotation. - Parameter translation: The translation.
static initScaleRotationTranslation71410(scale?: Size3D, rotation?: Rotation3D, translation?: Vector3D): ProjectiveTransform3DSwift declarationinit(scale: Size3D = Size3D(width: 1.0, height: 1, depth: 1), rotation: Rotation3D = .zero, translation: Vector3D = .zero)Returns a new scale, rotate, translate transform. - Parameter scale: The scale. - Parameter rotation: The rotation. - Parameter translation: The translation.
get scale(): (Size3D) | nullSwift declarationvar scale: Size3D? { get }The projective transform's scale. This function computes the scale from the first three rows of the transform matrix and ignores the fourth row. If the projective transform isn't an affine scale-rotate-translate transform, this value is `nil`.
static initShear(shear: AxisWithFactors): ProjectiveTransform3DSwift declarationinit(shear: AxisWithFactors)Returns a new shear transform - Parameter shear: The shear.
static initMatrix17069(matrix: SDKHandle): ProjectiveTransform3DSwift declarationinit(matrix: simd_float4x4)Returns a new projective transform structure from the specified single-precision 4 x 3 matrix. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
get offset(): Vector3DSwift declarationvar offset: Vector3D { get set }set offset(value: Vector3D)Swift declarationvar offset: Vector3D { get set }flipped(axis: Axis3D): ProjectiveTransform3DSwift declarationfunc flipped(along axis: Axis3D) -> ProjectiveTransform3DReturns the transform flipped along the specified axis. - Parameter axis: The axis of the flip operation.
get inverse(): (ProjectiveTransform3D) | nullSwift declarationvar inverse: ProjectiveTransform3D? { get }The projective transform's inverse. If the source transform isn't invertible, this value is `nil`.
sheared(shear: AxisWithFactors): ProjectiveTransform3DSwift declarationfunc sheared(_ shear: AxisWithFactors) -> ProjectiveTransform3DReturns the transform sheared by the specified shear. - Parameter shear: The axis and shear factors. - Returns The sheared transform.
inverted(): (ProjectiveTransform3D) | nullSwift declarationfunc inverted() -> ProjectiveTransform3D?get rotation(): (Rotation3D) | nullSwift declarationvar rotation: Rotation3D? { get }The projective transform's rotation. This function computes the rotation from the first three rows of the transform matrix and ignores the fourth row. This function can't extract rotation from a non-scale-rotate-translate projective transform. In that case, the function returns `nil`.
scaledBy(x: number, y: number, z: number): ProjectiveTransform3DSwift declarationfunc scaledBy(x: Double, y: Double, z: Double) -> ProjectiveTransform3DReturns the transform scaled by the specified values. - Parameter x: The scale factor on the `x` dimension. - Parameter y: The scale factor on the `y` dimension. - Parameter z: The scale factor on the `z` dimension. - Returns The scaled transform.
isUniformOverDimensions(overDimensions: Dimension3DSet): booleanSwift declarationfunc isUniform(overDimensions: Dimension3DSet) -> BoolReturns `true` if the transform is affine and uniform over the specified dimensions. - Parameter overDimensions: The dimensions that the function tests are uniform. If you specify `overDimensions` as `Dimension3DSet.all`, the function returns the same result as `Transform3D.getter:isUniform`. If you specify as `overDimensions` with zero or one dimension, the function returns the same result as `Transform3D.getter:isRectilinear`.
static init26901(): ProjectiveTransform3DSwift declarationinit()Returns a new identity projective transform.
static init68251(transform: ProjectiveTransform3DFloat): ProjectiveTransform3DSwift declarationinit(_ transform: ProjectiveTransform3DFloat)Returns a double-precision projective transformation from a single-precision projective transformation.
static init88572(matrix: SDKHandle): ProjectiveTransform3DSwift declarationinit(_ matrix: simd_float4x4)Returns a new affine transform structure from the specified single-precision 4 x 3 matrix. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
static init85817(): ProjectiveTransform3DSwift declarationinit()Returns a new identity projective transform.
No declarations were skipped in this snapshot.