This setup uses a nurbsSphere with a color ramp and a locator to sample the color at the closest point on surface to determine the outValue for the poseReader. To achieve a variable coneAngle, the ramp color value positions are made controllable through a simple node setup and an attribute driving it.
-
Instantiating the class will run the setup.
-
The top node of the setup, referred to as info_node in the code will hold attributes for the outValue and the coneAngle of the PoseReader that work just like a classic PoseReader setup.