I've found some behavior with the 3D cones that's confusing me. I want to use the cone as a Field of View for an object, so emanating at a particular angle from a particular point. I've noticed some confusing things about the cones created from SimpleMarkerSceneSymbol.CreateCone(), however.
1. I'm pretty sure what's listed as diameter is actually radius. The first attached picture (Cone_Radius.png) is an example of me creating a cone where the first value is 50000 and the second value is 100000. I'm pretty sure the height and diameter here is the same, so I believe the second parameter to CreateCone() is actually radius.
2. The rotation behavior is not what I expected based on the anchor point. When I create my cone at roll 0, pitch 0, yaw 0, and with anchor point Top, I get what's seen in Cone_Roll0_Pitch0.png, which is what I'd expect. Note that I've created a sphere at the same point as the point I used for the cone.
However, if I then set pitch to 45, I get what you see in Cone_Roll45_Pitch0.png. I would expect that the cone would rotate about the anchor point, however it appears to rotate about its own center point instead. This is going to make it difficult for me to rotate the cone and place the top of the cone where I want it to be.
If this rotation behavior is intended, then anchor points don't really mean what I would have thought they mean. I wouldn't have thought they only apply to the initial placement, I would have thought they'd apply to the rotation as well.
I'd like confirmation that this is how it's supposed to work, and if there's a way to specify the point about which to rotate my cone, that would be very helpful. If I can't do that, the math is going to be a pain. Thanks.