Lens Scripting API

    Enumeration CullMode

    Used with Pass's cullMode property. Determines which faces of a surface are culled (not rendered).

    //@input Component.MeshVisual meshVisual

    var mainPass = script.meshVisual.mainPass;
    mainPass.cullMode = CullMode.Front;
    Index

    Enumeration Members

    Enumeration Members

    Back: number

    Back facing surfaces are not rendered.

    Front: number

    Front facing surfaces are not rendered.

    FrontAndBack: number

    Neither front facing nor back facing surfaces are rendered.

    MMNEPVFCICPMFPCPTTAAATR