Table of Contents

Class Model3DAttachment

Namespace
Lime
Assembly
Lime.dll
public class Model3DAttachment
Inheritance
Model3DAttachment
Inherited Members

Fields

Animations

public readonly ObservableCollection<Model3DAttachment.Animation> Animations

Field Value

ObservableCollection<Model3DAttachment.Animation>

DefaultPositionKeyframeError

public const float DefaultPositionKeyframeError = 0.001

Field Value

float

DefaultRotationKeyframeError

public const float DefaultRotationKeyframeError = 0.5

Field Value

float

DefaultScaleKeyframeError

public const float DefaultScaleKeyframeError = 0.001

Field Value

float

FileExtension

public const string FileExtension = ".Attachment.txt"

Field Value

string

Materials

public readonly ObservableCollection<Model3DAttachment.MaterialRemap> Materials

Field Value

ObservableCollection<Model3DAttachment.MaterialRemap>

MeshOptions

public readonly ObservableCollection<Model3DAttachment.MeshOption> MeshOptions

Field Value

ObservableCollection<Model3DAttachment.MeshOption>

NodeComponents

public readonly ObservableCollection<Model3DAttachment.NodeComponentCollection> NodeComponents

Field Value

ObservableCollection<Model3DAttachment.NodeComponentCollection>

NodeRemovals

public readonly ObservableCollection<Model3DAttachment.NodeRemoval> NodeRemovals

Field Value

ObservableCollection<Model3DAttachment.NodeRemoval>

Properties

CompressAnimations

public bool CompressAnimations { get; set; }

Property Value

bool

EntryTrigger

public string EntryTrigger { get; set; }

Property Value

string

MergeMeshes

public bool MergeMeshes { get; set; }

Property Value

bool

PositionKeyframeError

public float PositionKeyframeError { get; set; }

Property Value

float

RotationKeyframeError

public float RotationKeyframeError { get; set; }

Property Value

float

ScaleFactor

public float ScaleFactor { get; set; }

Property Value

float

ScaleKeyframeError

public float ScaleKeyframeError { get; set; }

Property Value

float

Methods

Apply(Model3D)

public void Apply(Model3D model)

Parameters

model Model3D

Combine(params Submesh3D[])

public static Submesh3D Combine(params Submesh3D[] submeshes)

Parameters

submeshes Submesh3D[]

Returns

Submesh3D

CreateDefault()

public static Model3DAttachment CreateDefault()

Returns

Model3DAttachment

GetHashCodeForTrigger()

public int GetHashCodeForTrigger()

Returns

int

ValidateComponentType(Type, Type)

public static bool ValidateComponentType(Type nodeType, Type componentType)

Parameters

nodeType Type
componentType Type

Returns

bool