Exemplo n.º 1
0
        /// <inheritdoc />
        public override int BuildVertexBuffer(ParticleVertexBuilder vtxBuilder, Vector3 invViewX, Vector3 invViewY, ref Vector3 spaceTranslation, ref Quaternion spaceRotation, float spaceScale, ParticleSorter sorter)
        {
            SamplerPosition?.UpdateChanges();

            SamplerSize?.UpdateChanges();

            return(0);
        }
Exemplo n.º 2
0
        /// <inheritdoc />
        public override void PreUpdate()
        {
            SamplerPosition?.UpdateChanges();

            SamplerSize?.UpdateChanges();
        }