mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
fix:camera trackingtype/cameratype jsb attribute lost (#15867)
(used in xr)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user