Wiki-home » About VastPark » Platform » VastWorlds platform » Developer's guide » Plugins » List of Plugins »
PivotPlugin¶
IMML example¶
<Plugin Name="PivotPlugin" Enabled="False" Source="http://id.vastpark.com/VastParkWS/get.vpws?publisher=Rob&name=TestPivot&domain=vastpark&context=park">
<Element Name="Camera" />
<Parameter Key="VerticalAutoSnapToOrigin" Value="False" />
<Parameter Key="HorizontalAutoSnapToOrigin" Value="False" />
<Parameter Key="VerticalPivotEnabled" Value="True" />
<Parameter Key="HorizontalPivotEnabled" Value="True" />
<Parameter Key="HorizontalRotateSpeed" Value="0.3" />
<Parameter Key="HorizontalPixelBias" Value="200" />
<Parameter Key="VerticalRotateSpeed" Value="0.2" />
<Parameter Key="VerticalPixelBias" Value="100" />
<Parameter Key="VerticalMaxRotation" Value="0.5" />
<Parameter Key="VerticalMinRotation" Value="-0.5" />
<Parameter Key="HorizontalMaxRotation" Value="0.75" />
<Parameter Key="HorizontalMinRotation" Value="-0.75" />
<Parameter Key="ReverseHorizontal" Value="True" />
<Parameter Key="ReverseVertical" Value="True" />
<Parameter Key="UpKey" Value="Up" />
<Parameter Key="DownKey" Value="Down" />
<Parameter Key="LeftKey" Value="Left" />
<Parameter Key="RightKey" Value="Right" />
<Parameter Key="AltUpKey" Value="W" />
<Parameter Key="AltDownKey" Value="S" />
<Parameter Key="AltLeftKey" Value="A" />
<Parameter Key="AltRightKey" Value="D" />
</Plugin>
Properties¶
bool VerticalAutoSnapToOrigin¶
bool HorizontalAutoSnapToOrigin¶
bool VerticalPivotEnabled¶
bool HorizontalPivotEnabled¶
float HorizontalRotateSpeed¶
float HorizontalPixelBias¶
float VerticalRotateSpeed¶
float VerticalPixelBias¶
float VerticalMaxRotation¶
float VerticalMinRotation¶
float HorizontalMaxRotation¶
float HorizontalMinRotation¶
bool ReverseHorizontal¶
bool ReverseVertical¶
string ResetKey¶
- Summary: The key used to reset
bool EnableReset¶
- Summary: When true, the reset key is active and will reset the view
bool EnableDebug¶
string UpKey¶
- Summary: the keys used to pivot
string DownKey¶
string LeftKey¶
string RightKey¶
string AltUpKey¶
string AltDownKey¶
string AltLeftKey¶
string AltRightKey¶
string Name¶
string Source¶
bool Enabled¶
Functions¶
void Load()¶
void AddElement(ImmlElement element)¶
void Update()¶
void Dispose()¶
void SetParkEngine(IParkEngine parkEngine)¶