Preparing search index...

    Class PassWrapper

    Similar to Pass, except used by VFXAsset.

    Lens Scripting Version 148

    Hierarchy (View Summary)

    Index

    Properties

    blendMode: BlendMode

    The blend mode used for rendering.

    Lens Scripting Version 148

    BlendMode.Disabled
    
    colorMask: vec4b

    Controls the masking of color channels with a vec4b representing each channel with a boolean.

    Lens Scripting Version 148

    (true, true, true, false)
    
    cullMode: CullMode

    The cull mode used for rendering.

    Lens Scripting Version 148

    CullMode.Back
    
    depthTest: boolean

    Enables depth-sorting.

    Lens Scripting Version 148

    true
    
    depthWrite: boolean

    Enables writing pixels to the depth buffer.

    Lens Scripting Version 148

    true
    
    instanceCount: number

    Number of times the pass will be rendered. Useful with the Instance ID node in Material Editor.

    Lens Scripting Version 148

    1
    
    lineWidth: number

    Line width used for rendering.

    Lens Scripting Version 148

    1
    
    name: string

    The name of the pass wrapper.

    Lens Scripting Version 148

    ""
    
    polygonOffset: vec2

    Changes the position that each polygon gets drawn.

    Lens Scripting Version 148

    (0, 0)
    
    samplers: SamplerWrappers

    A proxy class that provides the access to the properties of the passes under the hood of VFXAsset. PassWrapper.samplers property which is tied to the Pass.samplers one. For example:

    pass.samplers.texture_name.Fitering = FilteringMode.Nearest
    

    Lens Scripting Version 148

    twoSided: boolean

    Whether the material renders on both sides of a mesh face.

    Lens Scripting Version 148

    false
    

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean