|  | Create sprite from model (For modes 2D, 3D) |  Show exampleHide example | Returns sprite created from the given model. | Creates new sprite from chosen model and adds the sprite into the 3D world. | | |
|
|
|  | Clone an object (For modes 2D, 3D, Console) |  Show exampleHide example | Create object, that is clone of the original one. | Adds cube into world on chosen coordinates. Then makes clone form the cube which adds on another chosen coordinates. | | |
|
|
|  | Any model (For mode 3D) | | Returns collection of models in given cube or place model to the given coordinates. | |
|
|  | Select model (For mode 3D) | | | |
|
|  | Is sprite from model (For modes 2D, 3D) |  Show exampleHide example | Returns whether the sprite has been created from a model. | |
|
|  | Sprite contains model (For modes 2D, 3D) |  Show exampleHide example | Returns whether the sprite or its subsprites has been created from a model. | |
|
|  | Object in front of, using ray (For modes 2D, 3D) | | Returns information regarding casted ray intersection with the scene. | |
|
|  | Find sprite (For modes 2D, 3D) |  Show exampleHide example | Gets sprite with the same name as the given one. | Creates new sprites form models 75 and 76, names them "Dwarf" and "Meteor" and gets them into 3D world. Then resizes sprite Meteor and changes position of sprite Dwarf. | | |
|
|
|  | Parent sprite (For modes 2D, 3D) |  Show exampleHide example | Gets or sets sprite's parent sprite. | Writes to the output window the name of the parent sprite of Baltie. | | |
|
|
|  | Change sprite scale (For modes 2D, 3D) |  Show exampleHide example | Gets or sets sprite scale. | Red and violet Baltie are standing against each other. The red one will stretch and the violet one will shrink. | | |
|
|
|  | Sprite velocity (For modes 2D, 3D) |  Show exampleHide example | Gets or sets the sprite velocity. | |
|
|  | Coordinate Z in points (For mode 3D) |  Show exampleHide example | Gets or sets value of property Z in the points. | Set Baltie visible and in the cycle without end changes Blatie's coordinate Z to the rest of division number of cycle repeats by 5 minus 3. | | |
|
|
|  | Position 3D (For modes 2D, 3D) |  Show exampleHide example | Gets or possibly sets property that holds position in the 3D space. | Set speed of Baltie's sprite to 0, 0, 4. Then every 0.1 s checks Baltie's coordinate Z. If it's less than -4, set speed of Baltie's sprite to 0, 0, 4. If it's more than 4, set Baltie's speed to 0, 0, -8. | | |
|
|
|  | Set orientation 3D (For modes 2D, 3D) |  Show exampleHide example | Gets or sets property containing the orientation in 3D. | |
|
|  | World position 3D (For modes 2D, 3D) | | Gets or possibly sets property that holds world position in the 3D space. | |
|
|  | Sprites in a sprite (For modes 2D, 3D, Console) |  Show exampleHide example | Returns Sprite collection, contained in given sprite. | |
|
|  | Collides with (For modes 2D, 3D) | | | |
|
Did you find this information useful?
Documentation of SGP Baltie 4 C#
Send us comments on this topic by
this form
©1978-2010
SGP SystemsParent page |
Previous page |
Next page