Then without getting into the the code. I directly take the mesh component of the landscape spline. Then I can access to the Stencil Value. And it works now for me: I have Landscape spline with a custom stencil.
Not fancy as modifying the engine, but more convenient.