mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
@@ -5899,6 +5899,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return 0;
|
||||
}
|
||||
|
||||
public LSL_Vector osGetSitTargetPos()
|
||||
{
|
||||
return m_host.SitTargetPosition;
|
||||
}
|
||||
|
||||
public LSL_Rotation osGetSitTargetRot()
|
||||
{
|
||||
return m_host.SitTargetOrientation;
|
||||
}
|
||||
|
||||
public void osSetSitActiveRange(LSL_Float v)
|
||||
{
|
||||
float fv = (float)v.value;
|
||||
|
||||
@@ -1568,6 +1568,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osIsNotValidNumber(v);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public vector osGetSitTargetPos()
|
||||
{
|
||||
return m_OSSL_Functions.osGetSitTargetPos();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public rotation osGetSitTargetRot()
|
||||
{
|
||||
return m_OSSL_Functions.osGetSitTargetRot();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void osSetSitActiveRange(LSL_Float v)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user