Working billbording

This commit is contained in:
Teejoon
2016-02-17 16:50:24 +01:00
parent 17da9a8036
commit 4fd0108443
8 changed files with 121 additions and 1279 deletions
@@ -1,3 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Indicator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Indicator.xsd">
<MaxDistance>10</MaxDistance>
<MinDistance>10</MinDistance>
<MinDistance>1</MinDistance>
<MaxDistance>1</MaxDistance>
</Indicator>
+13 -1
View File
@@ -5,7 +5,19 @@
<xs:element name="Indicator">
<xs:annotation>
<xs:documentation>Billbord and makes a Model or Sprite too always appare on players screen</xs:documentation>
<xs:documentation>Billbord a Sprite around global Y axis</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="MaxDistance" type="t:double" minOccurs="0">
<xs:annotation><xs:documentation>After this distance between the camera and the sprite, the sprite will not get any smaller on the screen</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="MinDistance" type="t:double" minOccurs="0">
<xs:annotation><xs:documentation>Smaller distance between the camera and the sprite, the sprite will not get any bigger on the screen</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="MinScale" type="t:double" minOccurs="0"/>
<xs:element name="MaxScale" type="t:double" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>