fix:camera trackingtype/cameratype jsb attribute lost (#15867)

(used in xr)
This commit is contained in:
oahc09
2023-08-07 14:33:07 +08:00
committed by GitHub
parent 9f7bf8a8eb
commit 5886a0066d
+2
View File
@@ -445,6 +445,8 @@ using namespace cc;
%attribute(cc::scene::Camera, cc::pipeline::GeometryRenderer *, geometryRenderer, getGeometryRenderer);
%attribute(cc::scene::Camera, uint32_t, systemWindowId, getSystemWindowId);
%attribute(cc::scene::Camera, cc::scene::CameraUsage, cameraUsage, getCameraUsage, setCameraUsage);
%attribute(cc::scene::Camera, cc::scene::TrackingType, trackingType, getTrackingType, setTrackingType);
%attribute(cc::scene::Camera, cc::scene::CameraType, cameraType, getCameraType, setCameraType);
%attribute(cc::scene::RenderScene, ccstd::string&, name, getName);
%attribute(cc::scene::RenderScene, ccstd::vector<cc::IntrusivePtr<cc::scene::Camera>>&, cameras, getCameras);