SpatialLocatorAttachedFrameOfReference.RelativePosition 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定相對於所追蹤之 SpatialLocator 之參考來源的這個框架位置。
public:
property float3 RelativePosition { float3 get(); void set(float3 value); };
float3 RelativePosition();
void RelativePosition(float3 value);
public Vector3 RelativePosition { get; set; }
var vector3 = spatialLocatorAttachedFrameOfReference.relativePosition;
spatialLocatorAttachedFrameOfReference.relativePosition = vector3;
Public Property RelativePosition As Vector3
屬性值
位移。