Beispiel #1
0
    public override void Bind()
    {
        TubeVerts v = (TubeVerts)verts;
        Hair      s = (Hair)skeleton;

        transfer.BindInt("_TubeLength", () => v.length);
        transfer.BindInt("_TubeWidth", () => v.width);
        transfer.BindInt("_NumVertsPerHair", () => s.numVertsPerHair);
    }