Show / Hide Table of Contents

Class Dx3DMaterialLine

Inheritance
Object
LazyAttachableObject
Dx3DLine
Dx3DMaterialLine
Dx3DMaterialLineSection
Implements
IDrawable
Inherited Members
Dx3DLine.relativeEndPosition
Dx3DLine.startPos
Dx3DLine.StartPosition
Dx3DLine.endPos
Dx3DLine.EndPosition
Dx3DLine.Color
Dx3DLine.Width
Dx3DLine.PostGUI
Dx3DLine.Visible
Dx3DLine.Update(RootElement, OnUpdateEventArgs)
LazyAttachableObject.toAttached
LazyAttachableObject.Offset
LazyAttachableObject.ToAttached
LazyAttachableObject.IsAttached
LazyAttachableObject.AttachTo(PhysicalElement, Matrix4x4)
LazyAttachableObject.AttachTo(PhysicalElement, Vector3, Vector3)
LazyAttachableObject.AttachTo(PhysicalElement, Vector3, Quaternion)
LazyAttachableObject.AttachTo(PhysicalElement)
LazyAttachableObject.Detach()
LazyAttachableObject.OnAttach()
LazyAttachableObject.OnDetach()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Dx
Assembly: SlipeClient.dll
Syntax
public class Dx3DMaterialLine : Dx3DLine, IDrawable

Constructors

| Improve this Doc View Source

Dx3DMaterialLine(Vector3, Vector3, Material, Single)

Create a material line with white as the base color

Declaration
public Dx3DMaterialLine(Vector3 startPos, Vector3 endPos, Material material, float width)
Parameters
Type Name Description
Vector3 startPos
Vector3 endPos
Material material
Single width
| Improve this Doc View Source

Dx3DMaterialLine(Vector3, Vector3, Material, Single, Color)

Create a material line that always faces the camera

Declaration
public Dx3DMaterialLine(Vector3 startPos, Vector3 endPos, Material material, float width, Color color)
Parameters
Type Name Description
Vector3 startPos
Vector3 endPos
Material material
Single width
Color color
| Improve this Doc View Source

Dx3DMaterialLine(Vector3, Vector3, Material, Single, Color, Vector3, Boolean)

Create a material line from all the parameters

Declaration
public Dx3DMaterialLine(Vector3 startPos, Vector3 endPos, Material material, float width, Color color, Vector3 faceToward, bool postGUI = false)
Parameters
Type Name Description
Vector3 startPos
Vector3 endPos
Material material
Single width
Color color
Vector3 faceToward
Boolean postGUI

Properties

| Improve this Doc View Source

FaceToward

The position the front of the line should face towards. If this is not set, the camera position is used, so the front of the line faces toward the camera.

Declaration
public Vector3 FaceToward { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

Material

A material to draw the line with.

Declaration
public Material Material { get; set; }
Property Value
Type Description
Material

Methods

| Improve this Doc View Source

Draw(RootElement, OnRenderEventArgs)

Draw this material line

Declaration
public override bool Draw(RootElement source, OnRenderEventArgs eventArgs)
Parameters
Type Name Description
RootElement source
OnRenderEventArgs eventArgs
Returns
Type Description
Boolean
Overrides
Dx3DLine.Draw(RootElement, OnRenderEventArgs)

Implements

IDrawable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX