Version: 2020.3
언어: 한국어

PhotoCaptureFrame.TryGetCameraToWorldMatrix

매뉴얼로 전환
public bool TryGetCameraToWorldMatrix (out Matrix4x4 cameraToWorldMatrix);

파라미터

cameraToWorldMatrix A matrix to be populated by the Camera to world Matrix.

반환

bool True if a valid matrix is returned or false otherwise. This will be false if the frame has no location data.

설명

This method will return the camera to world matrix at the time the photo was captured if location data if available.

If location data is unavailable then the camera to world matrix will be set to the identity matrix.