|
void | WriteTo (System.IO.Stream stream) |
|
void | ReadFrom (ref MyOctreeStorage.ChunkHeader header, System.IO.Stream stream, ref bool isOldFormat) |
|
void | Init (long seed, MyPlanetGeneratorDefinition generator, double radius) |
|
void | Init (long seed, string generator, double radius) |
|
void | Close () |
|
void | ReadRange (MyStorageData target, MyStorageDataTypeFlags dataType, ref Vector3I writeOffset, int lodIndex, ref Vector3I minInLod, ref Vector3I maxInLod) |
|
float | GetDistanceToPoint (ref Vector3D localPos) |
|
MyVoxelMaterialDefinition | GetMaterialAtPosition (ref Vector3D localPosition) |
|
void | ReadRange (ref MyVoxelDataRequest req) |
|
ContainmentType | Intersect (BoundingBoxI box, bool lazy) |
|
bool | Intersect (ref LineD line, out double startOffset, out double endOffset) |
|
MyVoxelRequestFlags | SupportedFlags () |
|
void | DebugDraw (ref MatrixD worldMatrix) |
|
void | ReindexMaterials (Dictionary< byte, byte > oldToNewIndexMap) |
|
void | ComputeCombinedMaterialAndSurface (Vector3 position, bool useCache, out MySurfaceParams props) |
|
void | ComputeCombinedMaterialAndSurfaceExtended (Vector3 position, out SurfacePropertiesExtended props) |
|
Public Member Functions inherited from Sandbox.Engine.Voxels.IMyStorageDataProvider |
void | WriteTo (Stream stream) |
|
void | ReadFrom (ref MyOctreeStorage.ChunkHeader header, Stream stream, ref bool isOldFormat) |
|
Definition at line 14 of file MyPlanetStorageProvider.cs.
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.Close |
( |
| ) |
|
|
inline |
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.ComputeCombinedMaterialAndSurface |
( |
Vector3 |
position, |
|
|
bool |
useCache, |
|
|
out MySurfaceParams |
props |
|
) |
| |
|
inline |
All mighty method for computing material, surface position and surface parameters in a single pass.
If material and surface position are required this is the best way to obtain that information.
When using the coefficient cache be sure to have it properly set up. (MyPlanetShapeProvider.PrepareCache())
Definition at line 345 of file MyPlanetStorageProvider.cs.
All mighty method for computing material, surface position and surface parameters in a single pass.
If material and surface position are required this is the best way to obtain that information.
When using the coefficient cache be sure to have it properly set up. (MyPlanetShapeProvider.PrepareCache())
This versio provides extremelly detailed data about a surface position and should be used for debugging only.
Definition at line 423 of file MyPlanetStorageProvider.cs.
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.DebugDraw |
( |
ref MatrixD |
worldMatrix | ) |
|
|
inline |
float Sandbox.Engine.Voxels.MyPlanetStorageProvider.GetDistanceToPoint |
( |
ref Vector3D |
localPos | ) |
|
|
inline |
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.Init |
( |
long |
seed, |
|
|
string |
generator, |
|
|
double |
radius |
|
) |
| |
|
inline |
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.Init |
( |
| ) |
|
|
inlineprotected |
bool Sandbox.Engine.Voxels.MyPlanetStorageProvider.Intersect |
( |
ref LineD |
line, |
|
|
out double |
startOffset, |
|
|
out double |
endOffset |
|
) |
| |
|
inline |
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.ReadFrom |
( |
ref MyOctreeStorage.ChunkHeader |
header, |
|
|
System.IO.Stream |
stream, |
|
|
ref bool |
isOldFormat |
|
) |
| |
|
inline |
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.ReadRange |
( |
ref MyVoxelDataRequest |
request | ) |
|
|
inline |
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.ReindexMaterials |
( |
Dictionary< byte, byte > |
oldToNewIndexMap | ) |
|
|
inline |
void Sandbox.Engine.Voxels.MyPlanetStorageProvider.WriteTo |
( |
System.IO.Stream |
stream | ) |
|
|
inline |
bool Sandbox.Engine.Voxels.MyPlanetStorageProvider.Closed |
|
get |
bool Sandbox.Engine.Voxels.MyPlanetStorageProvider.ProvidesAmbient |
|
get |
float Sandbox.Engine.Voxels.MyPlanetStorageProvider.Radius |
|
get |
int Sandbox.Engine.Voxels.MyPlanetStorageProvider.SerializedSize |
|
get |
Vector3I Sandbox.Engine.Voxels.MyPlanetStorageProvider.StorageSize |
|
get |
The documentation for this class was generated from the following file: