# Short3

Added in[API level 11](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)

# Short3

*** ** * ** ***

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

```
open class Short3
```

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

*** ** * ** ***

| **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 short type. Provides three short fields packed.

## Summary

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

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

## Public constructors

### Short3

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

```
Short3()
```  

### Short3

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

```
Short3(
    x: Short, 
    y: Short, 
    z: Short)
```

## Properties

### x

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

```
var x: Short
```

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

### y

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

```
var y: Short
```

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

### z

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

```
var z: Short
```

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