A proxy class that provides the access to the properties of the sampler under the hood of the passes contained in the Material asset and VFXAsset via either VFXAsset's PassWrapper.samplers or Material's Pass.samplers. Each property returns a corresponding SamplerWrapper.
This class uses dynamic properties, meaning that its properties depend on the referenced material or vfx asset and thus not shown below.
In the example below, the material that is referenced in the material asset contains the baseTex property, which this class then provides access to.
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns string
Since
Lens Scripting Version 147
getTypeName
getTypeName():string
Returns the name of this object's type.
Returns string
isOfType
isOfType(type:string):boolean
Returns true if the object matches or derives from the passed in type.
A proxy class that provides the access to the properties of the sampler under the hood of the passes contained in the Material asset and VFXAsset via either VFXAsset's
PassWrapper.samplersor Material'sPass.samplers. Each property returns a corresponding SamplerWrapper.This class uses dynamic properties, meaning that its properties depend on the referenced material or vfx asset and thus not shown below.
In the example below, the material that is referenced in the material asset contains the
baseTexproperty, which this class then provides access to.Since
Lens Scripting Version 147
Example