Esempio n. 1
0
        /// <summary>
        /// Sets <see cref="CubismMaskTransform"/>.
        /// </summary>
        /// <param name="value">Value to set.</param>
        /// <returns>Instance.</returns>
        internal CubismMaskRenderer SetMaskTransform(CubismMaskTransform value)
        {
            MaskProperties.SetVector(CubismShaderVariables.MaskTransform, value);


            return(this);
        }
Esempio n. 2
0
        /// <summary>
        /// Sets <see cref="CubismMaskTile"/>.
        /// </summary>
        /// <param name="value">Value to set.</param>
        /// <returns>Instance.</returns>
        internal CubismMaskRenderer SetMaskTile(CubismMaskTile value)
        {
            MaskProperties.SetVector(CubismShaderVariables.MaskTile, value);


            return(this);
        }