Working billbording
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user