Show / Hide Table of Contents

Class Dx3DMaterialLineSection

Draws a textured 3D line between two points in the 3D world - rendered for one frame

Inheritance
Object
LazyAttachableObject
Dx3DLine
Dx3DMaterialLine
Dx3DMaterialLineSection
Implements
IDrawable
Inherited Members
Dx3DMaterialLine.FaceToward
Dx3DMaterialLine.Material
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 Dx3DMaterialLineSection : Dx3DMaterialLine, IDrawable

Constructors

| Improve this Doc View Source

Dx3DMaterialLineSection(Vector3, Vector3, Vector2, Vector2, Material, Single)

Create a material 3d line with a base color of white

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

Dx3DMaterialLineSection(Vector3, Vector3, Vector2, Vector2, Material, Single, Color)

Create a material 3d line that always faces the camera

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

Dx3DMaterialLineSection(Vector3, Vector3, Vector2, Vector2, Material, Single, Color, Vector3, Boolean)

Createa material 3d line from all arguments

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

Methods

| Improve this Doc View Source

Draw(RootElement, OnRenderEventArgs)

Draw this line

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

Implements

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