Class MegaTrackerFrameFilter
- 네임스페이스
- easyar
- 어셈블리
- EasyAR.Sense.dll
A MonoBehaviour 제어하고 easyar.MegaTracker in the scene and provides functional extensions in the Unity environment.
public class MegaTrackerFrameFilter : MegaCloudFrameFilter
- 상속
-
MegaTrackerFrameFilter
- 상속된 멤버
속성
CameraPositionOverride
Override value of the camera position relative to the map block. After it is set, tracker outputs the override value instead of using the corresponding coordinates in input frame data. This can be used to improve output pose accuracy when map information is known and sensors are limited.
public (Optional<float> x, Optional<float> y, Optional<float> z) CameraPositionOverride { get; set; }
EnableLocalization
Whether localization is enabled. When localization is not enabled, localization results returned by the server will not be output. The default is true.
This affects tracking quality. Do not use it unless you have consulted EasyAR and clearly understand the impact.
public bool EnableLocalization { get; set; }
EnableStatelessLocalization
Whether stateless localization is enabled. When stateless localization is enabled, the previous localization result is not used during localization. The default is false.
This affects tracking quality. Do not use it unless you have consulted EasyAR and clearly understand the impact.
public bool EnableStatelessLocalization { get; set; }
LandmarkFilter
Mega Landmark filtering used when ServiceType is Landmark. At startup, you need to manually call FilterBySpotId(string, Action<MegaLandmarkFilterResponse>). Tracker will not start tracking until Filter returns Found.
public Optional<MegaLandmarkFilterWrapper> LandmarkFilter { get; }
LocationInputMode
Location input mode. Must be set before Session starts. For remote debugging or running on a computer, it must be set to Simulator; otherwise it cannot be used. For onsite use, set it to Onsite for best results.
public MegaLocationInputMode LocationInputMode { get; set; }
MinInputFrameLevel
Minimum allowed MegaInputFrameLevel for input frames. If the frame source can only provide data with a lower-dimension CameraTransformType, Session startup will fail. Must be set before Session starts.
public MegaInputFrameLevel MinInputFrameLevel { get; set; }
ProximityLocation
Nearby location results.
public Optional<ProximityLocationResult> ProximityLocation { set; }
RequestMessage
public string RequestMessage { get; set; }
RequestTimeParameters
Request time parameters.
public MegaRequestTimeParameters RequestTimeParameters { get; set; }
ServiceAccessData
Service access data. Must be set before Session starts. No setting is required when using GlobalConfig.
public ExplicitAddressAccessData ServiceAccessData { get; set; }
ServiceAccessSource
Service access data source type. Must be set before Session starts.
public MegaServiceAccessSourceType ServiceAccessSource { get; set; }
ServiceType
EasyAR Mega service type. Must be set before Session starts.
public MegaApiType ServiceType { get; set; }
SimulatorLocation
Location data used when LocationInputMode == Simulator.
public Optional<LocationResult> SimulatorLocation { get; set; }
enabled
시작/중지합니다 tracking while ARSession is running. After session starts, tracking starts only when MonoBehaviour.enabled is true.
public bool enabled { get; set; }
메서드
ResetTracker()
재설정합니다 tracker.
public void ResetTracker()
SwitchEndPoint(ExplicitAddressAccessData)
전환합니다 the remote endpoint.
public void SwitchEndPoint(ExplicitAddressAccessData config)
매개 변수
config
UpdateToken(string)
업데이트합니다 API Token.
public void UpdateToken(string token)
매개 변수
token
이벤트
LocalizationRespond
Service localization return event. This event is usually used for debug. When the event occurs, the positions and states of objects in the scene do not correspond to the data in the event.
public event Action<MegaLocalizationResponse> LocalizationRespond