Entity viewFrom property example

Hi,

How can I calculate the viewFrom (in ENU) if I have Cartesian3 values for the camera- and the entity-position?
Something like this (pseudo-code):
var entityPosition = entity.position.getValue(viewer.clock.currentTime, new Cesium.Cartesian3());

var delta = Cesium.Cartesian3.subtract(entityPosition, viewer.camera.positionWC, new Cesium.Cartesian3());

viewFrom = fixedToEastNorthUp(entityPosition, delta);

I have probably looked at the wrong places, I can only find eastNorthUpToXYZ() functions.

Thanks, Willem