Selva Compute API Reference - v2.1.0
    Preparing search index...
    Index

    Constructors

    Properties

    boundsMaxU: number
    boundsMaxV: number
    boundsMinU: number

    The U min bounds of the decal.

    boundsMinV: number

    The V min bounds of the decal.

    height: number

    Gets the height of the decal. Only used when mapping is cylindrical.

    horzSweepEnd: number

    Gets the angles of the decal's arc of 'horizontal sweep'.

    horzSweepStart: number

    Gets the angles of the decal's arc of 'horizontal sweep'.

    mapping: Mappings

    Gets the mapping of the decal.

    mapToInside: boolean

    Used only when mapping is cylindrical or spherical.

    origin: number[]

    Gets the origin of the decal in world space.

    projection: Projections

    Gets the decal's projection. Used only when mapping is planar.

    radius: number

    Gets the radius of the decal. Only used when mapping is cylindrical or spherical.

    textureInstanceId: string

    Gets the texture ID for this decal.

    transparency: number

    Gets the decal's transparency in the range 0 to 1.

    vectorAcross: number[]

    Gets the vector across. For cylindrical and spherical mapping, the vector is unitized.

    vectorUp: number[]

    For cylindrical and spherical mapping, the vector is unitized.

    vertSweepEnd: number

    Gets the angles of the decal's arc of 'vertical sweep'.

    vertSweepStart: number

    Gets the angles of the decal's arc of 'vertical sweep'.