GltfSampler Class

Definition

Texture sampler properties for filtering and wrapping modes. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/sampler.schema.json

public ref class GltfSampler : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfChildOfRootProperty
public ref class GltfSampler : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfChildOfRootProperty, UnityEngine::ISerializationCallbackReceiver
[System.Serializable]
public class GltfSampler : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfChildOfRootProperty
[System.Serializable]
public class GltfSampler : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfChildOfRootProperty, UnityEngine.ISerializationCallbackReceiver
[<System.Serializable>]
type GltfSampler = class
    inherit GltfChildOfRootProperty
[<System.Serializable>]
type GltfSampler = class
    inherit GltfChildOfRootProperty
    interface ISerializationCallbackReceiver
Public Class GltfSampler
Inherits GltfChildOfRootProperty
Public Class GltfSampler
Inherits GltfChildOfRootProperty
Implements ISerializationCallbackReceiver
Inheritance
Attributes
Implements
UnityEngine.ISerializationCallbackReceiver

Constructors

GltfSampler()

Fields

Extensions

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extension.schema.json

(Inherited from GltfProperty)
Extras

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extras.schema.json

(Inherited from GltfProperty)
GltfMinFilter

Minification filter. All valid values correspond to WebGL enums.

magFilter

Magnification filter. Valid values correspond to WebGL enums: 9728 (NEAREST) and 9729 (LINEAR).

name

The user-defined name of this object. This is not necessarily unique, e.g., an accessor and a buffer could have the same name, or two accessors could even have the same name.

(Inherited from GltfChildOfRootProperty)
wrapS

s wrapping mode. All valid values correspond to WebGL enums.

wrapT

t wrapping mode. All valid values correspond to WebGL enums.

Properties

MagFilter

Magnification filter. Valid values correspond to WebGL enums: 9728 (NEAREST) and 9729 (LINEAR).

MinFilter

Minification filter. All valid values correspond to WebGL enums.

WrapS

s wrapping mode. All valid values correspond to WebGL enums.

WrapT

t wrapping mode. All valid values correspond to WebGL enums.

Explicit Interface Implementations

ISerializationCallbackReceiver.OnAfterDeserialize()
ISerializationCallbackReceiver.OnBeforeSerialize()

Applies to