SpatialGraphInteropPreview.CreateCoordinateSystemForNode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateCoordinateSystemForNode(Guid) |
Creates a spatial coordinate system that tracks adjustments to a static spatial node. |
CreateCoordinateSystemForNode(Guid, Vector3) |
Creates a spatial coordinate system that tracks adjustments to a static spatial node with its origin offset by the specified relative position. |
CreateCoordinateSystemForNode(Guid, Vector3, Quaternion) |
Creates a spatial coordinate system that tracks adjustments to a static spatial node with its origin offset and rotated by the specified relative position and orientation. |
CreateCoordinateSystemForNode(Guid)
Creates a spatial coordinate system that tracks adjustments to a static spatial node.
public:
static SpatialCoordinateSystem ^ CreateCoordinateSystemForNode(Platform::Guid nodeId);
/// [Windows.Foundation.Metadata.Overload("CreateCoordinateSystemForNode")]
static SpatialCoordinateSystem CreateCoordinateSystemForNode(winrt::guid const& nodeId);
[Windows.Foundation.Metadata.Overload("CreateCoordinateSystemForNode")]
public static SpatialCoordinateSystem CreateCoordinateSystemForNode(Guid nodeId);
function createCoordinateSystemForNode(nodeId)
Public Shared Function CreateCoordinateSystemForNode (nodeId As Guid) As SpatialCoordinateSystem
Parameters
- nodeId
-
Guid
Platform::Guid
winrt::guid
The static spatial node's ID.
Returns
The spatial coordinate system.
- Attributes
Applies to
CreateCoordinateSystemForNode(Guid, Vector3)
Creates a spatial coordinate system that tracks adjustments to a static spatial node with its origin offset by the specified relative position.
public:
static SpatialCoordinateSystem ^ CreateCoordinateSystemForNode(Platform::Guid nodeId, float3 relativePosition);
/// [Windows.Foundation.Metadata.Overload("CreateCoordinateSystemForNodeWithPosition")]
static SpatialCoordinateSystem CreateCoordinateSystemForNode(winrt::guid const& nodeId, float3 const& relativePosition);
[Windows.Foundation.Metadata.Overload("CreateCoordinateSystemForNodeWithPosition")]
public static SpatialCoordinateSystem CreateCoordinateSystemForNode(Guid nodeId, Vector3 relativePosition);
function createCoordinateSystemForNode(nodeId, relativePosition)
Public Shared Function CreateCoordinateSystemForNode (nodeId As Guid, relativePosition As Vector3) As SpatialCoordinateSystem
Parameters
- nodeId
-
Guid
Platform::Guid
winrt::guid
The static spatial node's ID.
The rigid positional offset from the spatial node origin to this coordinate system's origin, expressed within the coordinate system of the node origin.
Returns
The spatial coordinate system.
- Attributes
Applies to
CreateCoordinateSystemForNode(Guid, Vector3, Quaternion)
Creates a spatial coordinate system that tracks adjustments to a static spatial node with its origin offset and rotated by the specified relative position and orientation.
public:
static SpatialCoordinateSystem ^ CreateCoordinateSystemForNode(Platform::Guid nodeId, float3 relativePosition, quaternion relativeOrientation);
/// [Windows.Foundation.Metadata.Overload("CreateCoordinateSystemForNodeWithPositionAndOrientation")]
static SpatialCoordinateSystem CreateCoordinateSystemForNode(winrt::guid const& nodeId, float3 const& relativePosition, quaternion const& relativeOrientation);
[Windows.Foundation.Metadata.Overload("CreateCoordinateSystemForNodeWithPositionAndOrientation")]
public static SpatialCoordinateSystem CreateCoordinateSystemForNode(Guid nodeId, Vector3 relativePosition, Quaternion relativeOrientation);
function createCoordinateSystemForNode(nodeId, relativePosition, relativeOrientation)
Public Shared Function CreateCoordinateSystemForNode (nodeId As Guid, relativePosition As Vector3, relativeOrientation As Quaternion) As SpatialCoordinateSystem
Parameters
- nodeId
-
Guid
Platform::Guid
winrt::guid
The static spatial node's ID.
The rigid positional offset from the spatial node origin to this coordinate system's origin, expressed within the coordinate system of the node origin.
- relativeOrientation
-
Quaternion
Quaternion
quaternion
The rigid rotation from the spatial node origin to the coordinate system's origin, expressed within the coordinate system of the node origin.
Returns
The spatial coordinate system.
- Attributes