Someone please tell me how Camera Component Works?

I’m trying to figure out that how camera component works in cocos2d-x.

What does flags Color, Depth and Stencil means in camera component?
How to make some objects (Scores) static on screen and some (player) followed by camera?
How to manage more than 1 cameras?

I’m stuck in a project please help me out

Try starting here: http://www.cocos2d-x.org/docs/cocos2d-x/en/3d/camera.html

although perhaps look at js-tests for some code samples.