C# Class ArcCore.Utilities.Extensions.TransformExtensions

Exibir arquivo Open project: 0thElement/ArcCore

Public Methods

Method Description
SetLocalPositionAndRotation ( Transform transform, float3 pos, float3 rot ) : void
SetPositionAndRotation ( Transform transform, float3 pos, float3 rot ) : void

Method Details

SetLocalPositionAndRotation() public static method

public static SetLocalPositionAndRotation ( Transform transform, float3 pos, float3 rot ) : void
transform Transform
pos float3
rot float3
return void

SetPositionAndRotation() public static method

public static SetPositionAndRotation ( Transform transform, float3 pos, float3 rot ) : void
transform Transform
pos float3
rot float3
return void