private CSharp_SetObjectPosition ( uint jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8, float jarg9, float jarg10 ) : int | ||
jarg1 | uint | |
jarg2 | float | |
jarg3 | float | |
jarg4 | float | |
jarg5 | float | |
jarg6 | float | |
jarg7 | float | |
jarg8 | float | |
jarg9 | float | |
jarg10 | float | |
리턴 | int |
public static AKRESULT SetObjectPosition(UnityEngine.GameObject gameObject, UnityEngine.Vector3 position, UnityEngine.Vector3 forward, UnityEngine.Vector3 up) { var id = GetAkGameObjectID(gameObject); return((AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(id, position.x, position.y, position.z, forward.x, forward.y, forward.z, up.x, up.y, up.z)); }
public static AKRESULT SetObjectPosition(UnityEngine.GameObject gameObject, UnityEngine.Transform transform) { var id = GetAkGameObjectID(gameObject); return((AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(id, transform.position.x, transform.position.y, transform.position.z, transform.forward.x, transform.forward.y, transform.forward.z, transform.up.x, transform.up.y, transform.up.z)); }
public static AKRESULT SetObjectPosition(UnityEngine.GameObject gameObject, float posX, float posY, float posZ, float frontX, float frontY, float frontZ, float topX, float topY, float topZ) { var id = GetAkGameObjectID(gameObject); var position = new UnityEngine.Vector3(posX, posY, posZ); var forward = new UnityEngine.Vector3(frontX, frontY, frontZ); var up = new UnityEngine.Vector3(topX, topY, topZ); return((AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(id, position, forward, up)); }