Sampler

@Serializable
data class Sampler(var name: String? = null, val magFilter: Int? = null, val minFilter: Int? = null, val wrapS: Int? = null, val wrapT: Int? = null, val extensions: JsonElement? = null, val extras: JsonElement? = null) : GLTFProperty

Constructors

Link copied to clipboard
constructor(name: String? = null, magFilter: Int? = null, minFilter: Int? = null, wrapS: Int? = null, wrapT: Int? = null, extensions: JsonElement? = null, extras: JsonElement? = null)

Properties

Link copied to clipboard
open override val extensions: JsonElement? = null

JSON object with extension-specific objects.

Link copied to clipboard
open override val extras: JsonElement? = null

Although extras MAY have any type, it is common for applications to store and access custom data as key/value pairs. Therefore, extras SHOULD be a JSON object rather than a primitive value for best portability.

Link copied to clipboard
val magFilter: Int? = null
Link copied to clipboard
val minFilter: Int? = null
Link copied to clipboard
open override var name: String?
Link copied to clipboard
val wrapS: Int? = null
Link copied to clipboard
val wrapT: Int? = null