# Double3

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Double3

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/renderscript/Double3 "View this page in Java")  

```
open class Double3
```

|---|--------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                               ||
| ↳ | [android.renderscript.Double3](https://developer.android.com/reference/kotlin/android/renderscript/Double3#) |

*** ** * ** ***

| **This class was deprecated in API level 31.**
|
| Renderscript has been deprecated in API level 31. Please refer to the[migration guide](https://developer.android.com/guide/topics/renderscript/migration-guide)for the proposed alternatives.

Vector version of the basic double type. Provides three double fields packed.

## Summary

|                                                                                                                                                                                                          Public constructors                                                                                                                                                                                                           ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Double3](https://developer.android.com/reference/kotlin/android/renderscript/Double3#Double3())`()` <br />                                                                                                                                                                                                                                                                                                                         |
| [Double3](https://developer.android.com/reference/kotlin/android/renderscript/Double3#Double3(kotlin.Double,%20kotlin.Double,%20kotlin.Double))`(`x:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `y:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `z:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`)` <br /> |

|                                                                                        Properties                                                                                         ||
|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [x](https://developer.android.com/reference/kotlin/android/renderscript/Double3#x:kotlin.Double) <br /> |
| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [y](https://developer.android.com/reference/kotlin/android/renderscript/Double3#y:kotlin.Double) <br /> |
| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [z](https://developer.android.com/reference/kotlin/android/renderscript/Double3#z:kotlin.Double) <br /> |

## Public constructors

### Double3

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Double3()
```  

### Double3

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Double3(
    x: Double, 
    y: Double, 
    z: Double)
```

## Properties

### x

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var x: Double
```

**Deprecated:** *Deprecated in Java.*  

### y

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var y: Double
```

**Deprecated:** *Deprecated in Java.*  

### z

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var z: Double
```

**Deprecated:** *Deprecated in Java.*